[hibernate-issues] [JIRA] (HHH-993) Criteria subquery without projection fails throwing NullPointerException