NPE on evict after update
-------------------------
Key: HHH-1995
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1995
Project: Hibernate3
Type: Bug
Versions: 3.1.3
Environment: Hibernate 3.1, SQL Server 9.0.1399
Reporter: Nelis Bijl
Attachments: A.hbm.xml
I am a newby and investigating the dom4j feature (XML <-> DB).
When I try to evict after an update I get a NullPointerException
at org.hibernate.event.def.EvictVisitor.evictCollection(EvictVisitor.java:50)
This is caused by the fact that the update did not call addCollectionHolder whereas the
error location tries to use the result of removeCollectionHolder.
Attached you will find the used hbm.xml. The collectionholder is root node A.
--
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