Description
Having a query with a parameter and then copying it and setting a new select clause seems to result in a NPE if the parameter wasn't set.
Expected behavior
Actual behavior
Steps to reproduce
Environment
Version:
JPA-Provider:
DBMS:
Application Server: