openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abe White <>
Subject Re: How to debug object retrieveal in JPA?
Date Mon, 30 Apr 2007 19:21:48 GMT

> Caused by: java.lang.NullPointerException
> 	at java.util.ArrayList.addAll(
> 	at ca.BidSpec.emall.user.Person.pcsetPhoneNumbers(
> 	at ca.BidSpec.emall.user.Person.pcClearFields(
> 	at ca.BidSpec.emall.user.Person.pcNewInstance(
> 	at
> org.apache.openjpa.enhance.PCRegistry.newInstance(

There you go.  OpenJPA is clearing the instance state as part of its  
initialization routine, and that's causing a NullPointerException in  
your setter at line 727.

Notice:  This email message, together with any attachments, may contain information  of  BEA
Systems,  Inc.,  its subsidiaries  and  affiliated entities,  that may be confidential,  proprietary,
 copyrighted  and/or legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient, and have received
this message in error, please immediately return this by email and then delete it.

View raw message