cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joel Trunick" <joel.trun...@webifysolutions.com>
Subject RE: Null Pointer Exception
Date Sun, 23 Apr 2006 19:04:07 GMT

Running under M9 build, I get an error "No relationship found: pics" on
the same statement, but the relationship obviously does exist in the XML
(even extracted from .war file).  I see in Cayenne Jira that this can
happen across different data nodes, but I only have one in my project.

Joel

-----Original Message-----
From: Andrus Adamchik [mailto:andrus@objectstyle.org] 
Sent: Sunday, April 23, 2006 4:39 AM
To: cayenne-user@incubator.apache.org
Subject: Re: Null Pointer Exception

Joel,

Is there anything special about the relationship being set? Looks  
like there is no property descriptor for it.

I just added some diagnostics code that should provide a more  
informative exception message. This will be a part of 04/23 nightly  
build.

Andrus


On Apr 23, 2006, at 4:57 AM, Joel Trunick wrote:
> Anyone seen this Null Pointer Exception stack trace?
>
>
> org.objectstyle.cayenne.access.ObjectDiff.takeSingleObjectArcSnapshot(

> Ob
> jectDiff.java:303)
> org.objectstyle.cayenne.access.ObjectDiff.takeArcSnapshot 
> (ObjectDiff.jav
> a:288)
> org.objectstyle.cayenne.access.ObjectDiff.addDiff(ObjectDiff.java:122)
> org.objectstyle.cayenne.access.ObjectStore.registerDiff 
> (ObjectStore.java
> :244)
> org.objectstyle.cayenne.access.ObjectStore.recordArcCreated 
> (ObjectStore.
> java:168)
> org.objectstyle.cayenne.CayenneDataObject.addToManyTarget 
> (CayenneDataObj
> ect.java:309)
>
> Joel
>
>


Mime
View raw message