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:[EMAIL PROTECTED] 
Sent: Sunday, April 23, 2006 4:39 AM
To: [email protected]
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
>
>

Reply via email to