[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-1995) NPE on evict after update

Apurv sheth (JIRA) noreply at atlassian.com
Wed Jun 20 02:38:52 EDT 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_27296 ] 

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: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list