[OS-JIRA] Created: (CAY-499) NPE on prefetching with shared cache

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Tue Apr 11 2006 - 02:45:49 EDT

  • Next message: Andrus Adamchik (JIRA): "[OS-JIRA] Created: (CAY-500) To-one relationships are broken on the client"

    NPE on prefetching with shared cache
    ------------------------------------

             Key: CAY-499
             URL: http://objectstyle.org/jira/browse/CAY-499
         Project: Cayenne
            Type: Bug
      Components: Cayenne Core Library
        Versions: 1.2 [BETA]
        Reporter: Andrus Adamchik
         Fix For: 1.2 [BETA]

    http://objectstyle.org/cayenne/lists/cayenne-user/2006/04/0104.html

    java.lang.NullPointerException
    org.objectstyle.cayenne.access.ObjectTreeResolver$TreeBuilder.addNode(ObjectTreeResolver.java:218)
    org.objectstyle.cayenne.access.ObjectTreeResolver$TreeBuilder.startDisjointPrefetch(ObjectTreeResolver.java:178)
    org.objectstyle.cayenne.access.ObjectTreeResolver$TreeBuilder.startUnknownPrefetch(ObjectTreeResolver.java:201)
    org.objectstyle.cayenne.query.PrefetchTreeNode.traverse(PrefetchTreeNode.java:209)
    org.objectstyle.cayenne.query.PrefetchTreeNode.traverse(PrefetchTreeNode.java:216)
    org.objectstyle.cayenne.access.ObjectTreeResolver$TreeBuilder.buildTree(ObjectTreeResolver.java:136)
    org.objectstyle.cayenne.access.ObjectTreeResolver.resolveObjectTree(ObjectTreeResolver.java:100)
    org.objectstyle.cayenne.access.DataDomainQueryAction.interceptObjectConversion(DataDomainQueryAction.java:372)
    org.objectstyle.cayenne.access.DataDomainQueryAction.execute(DataDomainQueryAction.java:151)
    org.objectstyle.cayenne.access.DataDomain.onQuery(DataDomain.java:715)
    org.objectstyle.cayenne.util.ObjectContextQueryAction.runQuery(ObjectContextQueryAction.java:249)
    org.objectstyle.cayenne.access.DataContextQueryAction.execute(DataContextQueryAction.java:90)
    org.objectstyle.cayenne.access.DataContext.onQuery(DataContext.java:1320)
    org.objectstyle.cayenne.access.DataContext.performQuery(DataContext.java:1309)
    model.BKFiler.fetchBankruptciesForPastYear(BKFiler.java:68)
    model.Model.fetchBankruptciesForPastYear(Model.java:511)

    -- 
    This message is automatically generated by JIRA.
    -
    If you think it was sent incorrectly contact one of the administrators:
       http://objectstyle.org/jira/secure/Administrators.jspa
    -
    For more information on JIRA, see:
       http://www.atlassian.com/software/jira
    



    This archive was generated by hypermail 2.0.0 : Tue Apr 11 2006 - 02:46:57 EDT