[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4474) NullPointerException in AuditEventListener#generateBidirectionalCollectionChangeWorkUnits onPostInsert...

Daniel Bleisteiner (JIRA) noreply at atlassian.com
Tue Oct 6 05:25:56 EDT 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=34117#action_34117 ] 

Daniel Bleisteiner commented on HHH-4474:
-----------------------------------------

1.2.1.GA has the same result...

Caused by: java.lang.NullPointerException
        at org.hibernate.envers.event.AuditEventListener.generateBidirectionalCollectionChangeWorkUnits(AuditEventListener.java:112)
        at org.hibernate.envers.event.AuditEventListener.onPostInsert(AuditEventListener.java:152)
        at org.hibernate.action.EntityInsertAction.postInsert(EntityInsertAction.java:149)


> NullPointerException in AuditEventListener#generateBidirectionalCollectionChangeWorkUnits onPostInsert...
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HHH-4474
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4474
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: envers
>         Environment: <version>1.2.0.GA-hibernate-3.3</version>
>            Reporter: Daniel Bleisteiner
>         Attachments: stacktrace.txt
>
>
> I get the exception attached as file after creating an entity. The mapping works on my development machine... a test server throws that exception. I've tried to search for eny differences in the tables but can't find any so far. The last time a similar error occured I was missing the versioned entry in the version table - these have been filled with the lowest revision available (the same way on my machine as on the test server). So I'm stuck... I have no access to the related source either... maybe this would help!

-- 
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