]
Apurv sheth commented on HHH-1995:
----------------------------------
i m also having the same problem so whats the solution to it....
NPE on evict after update
-------------------------
Key: HHH-1995
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1995
Project: Hibernate3
Issue Type: Bug
Affects 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: