[jboss-dev-forums] [JBoss AS 7 Development] - Re: Null Pointer Exception - Hibernate with Jboss 7.1.0 Final

rathm1 do-not-reply at jboss.com
Mon Apr 23 13:44:11 EDT 2012


rathm1 [https://community.jboss.org/people/rathm1] created the discussion

"Re: Null Pointer Exception - Hibernate with Jboss 7.1.0 Final"

To view the discussion, visit: https://community.jboss.org/message/731736#731736

--------------------------------------------------------------
Thanks for the reply.
We are using CMT for most of our transactions and BMT for just a few where we are processing batch type jobs.
So there is a transaction running but if there is a database error (ex Optimistic lock or unique constraint violation), this is when the null pointer exception occurs.
I found a JIRA that someone else logged referencing my post so I am waiting to see where this goes.

 https://hibernate.onjira.com/browse/HHH-7215?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel#issue-tabs https://hibernate.onjira.com/browse/HHH-7215?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel#issue-tabs

For curiousity, I applied the patch described in the JIRA and that solved the problem.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/731736#731736]

Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120423/931d8df6/attachment.html 


More information about the jboss-dev-forums mailing list