Hello,
today, I ran on a strange NPE:
Code:
java.lang.NullPointerException
at org.hibernate.util.IdentityMap.entryArray(IdentityMap.java:197)
at org.hibernate.util.IdentityMap.concurrentEntries(IdentityMap.java:60)
at org.hibernate.event.def.AbstractFlushingEventListener.prepareEntityFlushes(AbstractFlushingEventListener.java:113)
at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:65)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:26)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:905)
[...]
The code running this just ran stable for a considerable amount of time, so I think it is caused by a rare condition in the data processed at that time.
The hibernate version is 3.1rc2 (the one shipped with JBoss4.0.3sp1, which I am using), and it runs against Oracle 10.2.0.3.
Can anyone tell me what the reason for this NPE could be?
Thanks,
Martin