Re: Problem with 3.0M3 (Null pointer)

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Tue Feb 05 2008 - 04:13:25 EST

  • Next message: Alexander Lamb (dev): "Re: Problem with 3.0M3 (Null pointer)"

    On Feb 5, 2008, at 11:02 AM, Alexander Lamb (dev) wrote:

    > Caused by: java.lang.NullPointerException
    > at
    > org
    > .apache
    > .cayenne
    > .map.AshwoodEntitySorter.fillInMetadata(AshwoodEntitySorter.java:265)
    > at
    > org
    > .apache
    > .cayenne
    > .map.AshwoodEntitySorter._indexSorter(AshwoodEntitySorter.java:98)
    > at
    > org
    > .apache
    > .cayenne
    > .map.AshwoodEntitySorter.sortDbEntities(AshwoodEntitySorter.java:137)

    Did anything change in your mapping since the Cayenne update? The
    easiest way debug the NPE is to put a breakpoint at the line above and
    see why "join.getTarget()" returns null. I suspect a mapping problem,
    but don't fully exclude a possibility of a Cayenne bug.

    Andrus



    This archive was generated by hypermail 2.0.0 : Tue Feb 05 2008 - 04:13:59 EST