NullPointerException during session.createSQLQuery() in multi thread enviornment
--------------------------------------------------------------------------------
Key: HHH-3207
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3207
Project: Hibernate3
Issue Type: Bug
Components: core
Affects Versions: 3.2.5
Environment: oracle9i,hibernate3.2.5
Reporter: manoj
Priority: Blocker
when we are using session.createSQLQuery() in multi thread environment. We are getting
NullPointerException. Please see the below stack trace.
11:29:31.976 ERROR invoke ApplicationDispatcher.java 704 Servlet.service() for
servlet jsp threw exception
java.lang.NullPointerException
at
org.apache.commons.collections.SequencedHashMap.removeEntry(SequencedHashMap.java:253)
at
org.apache.commons.collections.SequencedHashMap.removeImpl(SequencedHashMap.java:511)
at
org.apache.commons.collections.SequencedHashMap.remove(SequencedHashMap.java:498)
at org.apache.commons.collections.LRUMap.get(LRUMap.java:131)
at org.hibernate.util.SimpleMRUCache.get(SimpleMRUCache.java:36)
at
org.hibernate.engine.query.QueryPlanCache.getSQLParameterMetadata(QueryPlanCache.java:49)
at
org.hibernate.impl.AbstractSessionImpl.createSQLQuery(AbstractSessionImpl.java:124)
at org.hibernate.impl.SessionImpl.createSQLQuery(SessionImpl.java:1608)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira