[hibernate-issues] [JIRA] (HHH-10998) NullPointerException when using join with subselect in hbm