Re: NPE in DataDomainQueryAction.java

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Thu Aug 02 2007 - 18:21:03 EDT

  • Next message: Kevin Menard: "RE: NPE in DataDomainQueryAction.java"

    > Anyway, if you have any idea what's going on, great. If not, I'll dig
    > in more. I just wanted to check before wasting effort.

    Nothing immediately obvious, but then it is past 1 am in my timezone :-)

    Andrus

    On Aug 3, 2007, at 1:15 AM, Kevin Menard wrote:

    > Andrus,
    >
    > Happen to have any idea what would cause an NPE at:
    >
    > org.apache.cayenne.access.DataDomainQueryAction.interceptOIDQuery
    > (DataDo
    > mainQueryAction.java:175)
    >
    > Stepping through it a bit, I've observed that the
    > DataDomainQueryAction
    > cache is null, but the ObjectIdQuery cache policy is set to CACHE.
    >
    > It looks like the query in question is selecting curval from a
    > sequence.
    > My guess is the cache policy refers to the PK caching, since I've
    > globally disable caching in this application.
    >
    > Anyway, if you have any idea what's going on, great. If not, I'll dig
    > in more. I just wanted to check before wasting effort.
    >
    > Thanks,
    > Kevin
    >
    > --
    > Kevin Menard
    > Servprise International, Inc.
    > 800.832.3823 x308
    >
    >



    This archive was generated by hypermail 2.0.0 : Thu Aug 02 2007 - 18:21:29 EDT