]
Gail Badner reassigned HHH-5080:
--------------------------------
Assignee: Gail Badner
NPE when determining types of named parameters
----------------------------------------------
Key: HHH-5080
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5080
Project: Hibernate Core
Issue Type: Bug
Components: core, query-hql
Affects Versions: 3.5.0-Final
Environment: sun java 6.0.19 runtime, hibernate 3.5.0-final using annotations,
mysql 5.0.75-0ubuntu10.3
Reporter: John Aylward
Assignee: Gail Badner
Attachments: hibernateLog.txt
Attached is the relevant hibernate log with the offending query.
Relevant stack trace:
java.lang.NullPointerException
at
org.hibernate.hql.ast.ParameterTranslationsImpl.getNamedParameterExpectedType(ParameterTranslationsImpl.java:87)
at
org.hibernate.engine.query.HQLQueryPlan.buildParameterMetadata(HQLQueryPlan.java:320)
at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:121)
at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:80)
at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:98)
at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:156)
at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:135)
at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1760)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: