Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] NullPointerException during commit

Please include more information, including the full exception stack trace,
including the caused by.

Also include what you are doing to get this exception, and what environment
you are using.



David Parker-13 wrote:
> 
> Every once in a while in our testing we get the following stack  
> (eclipselink 1.0.2)
> 
> javax.persistence.RollbackException: java.lang.NullPointerException at  
> org 
> .eclipse 
> .persistence 
> .internal 
> .jpa 
> .transaction 
> .EntityTransactionImpl.commitInternal(EntityTransactionImpl.java:102)  
> at  
> org 
> .eclipse 
> .persistence 
> .internal 
> .jpa 
> .transaction.EntityTransactionImpl.commit(EntityTransactionImpl.java: 
> 63) at
> ....
> 
> Looking at the source code, I don't really see what could be null,  
> but... I don't have the source code set up so that I can run under a  
> debugger (Netbeans).
> 
> This only happens every once in a while. We only have one application  
> thread. Has anybody run into this?
> 
> Thanks.
> 
> =============================================
> David Parker
> dap@xxxxxxxxxxxxxxxxxxxx
> 
> 


-----
---
http://wiki.eclipse.org/User:James.sutherland.oracle.com James Sutherland 
http://www.eclipse.org/eclipselink/
 EclipseLink ,  http://www.oracle.com/technology/products/ias/toplink/
TopLink 
Wiki:  http://wiki.eclipse.org/EclipseLink EclipseLink , 
http://wiki.oracle.com/page/TopLink TopLink 
Forums:  http://forums.oracle.com/forums/forum.jspa?forumID=48 TopLink , 
http://www.nabble.com/EclipseLink-f26430.html EclipseLink 
Book:  http://en.wikibooks.org/wiki/Java_Persistence Java Persistence 
-- 
View this message in context: http://www.nabble.com/NullPointerException-during-commit-tp21732025p21791630.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top