Re: nullpointerexception from ctxt.performQuery

From: Holger Hoffstätte (holge..izards.de)
Date: Tue Feb 04 2003 - 16:30:50 EST

  • Next message: Andrus Adamchik: "Re: nullpointerexception from ctxt.performQuery"

    Andrus Adamchik wrote:
    > ..
    > If so, DataContext is created by CustomConfiguration's superclass when the
    > session is staryed. But the key to retrieve it is defined under
    > ServletConfiguration.DATA_CONTEXT_KEY as "cayenne.datacontext". Try using
    > this key instead. Or use CustomConfiguration.getDefaultContext().

    I know just enough about JSP and Struts to not like them :-), but a (the?)
    DataContext is both created and put into the HTTP session as "context" in
    index.jsp. Maybe that is the reason? just an idea..

    -h



    This archive was generated by hypermail 2.0.0 : Tue Feb 04 2003 - 16:32:31 EST