RE: Null Pointer Exception

From: Joel Trunick (joel.trunic..ebifysolutions.com)
Date: Sun Apr 23 2006 - 15:04:07 EDT

  • Next message: Oscar Picasso: "Re: Streaming Blobs"

    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:andru..bjectstyle.org]
    Sent: Sunday, April 23, 2006 4:39 AM
    To: cayenne-use..ncubator.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
    >
    >



    This archive was generated by hypermail 2.0.0 : Sun Apr 23 2006 - 15:04:31 EDT