Got a NullPointerException in org.hibernate.hql.ast.tree.FromClause.findIntendedAliasedFromElementBasedOnCrazyJPARequirements(String) due to fromElementByClassAlias Map key being null.
Only for certain HQL query, along the lines of:
Removing IN(c.k.x) x or c.k.u = 'K' will not result in a NullPointerException, most likely due to no null alias key put into the map.
specifiedAlias param was "CURRENT_DATE" when findIntendedAliasedFromElementBasedOnCrazyJPARequirements was called.
Java version: 1.6.0_16,Sun Microsystems Inc.
Java VM: Java HotSpot(TM) 64-Bit Server VM 14.2-b01,Sun Microsystems Inc.
OS-System: Linux 126.96.36.199-69.fc8,amd64
DB2 v8 / JDBC Driver v4.7.85
sorry, should have searched. a duplicate
Bulk closing stale resolved issues