My suggestion would be to look at the 1.2.1 source and see what's going on at ObjectStore.java, line 945.
On 9/11/06, Dave Dombrosky <[EMAIL PROTECTED]> wrote:
Problem still occurs on 1.2.1 On 9/11/06, Mike Kienenberger <[EMAIL PROTECTED]> wrote: > Maybe http://issues.apache.org/cayenne/browse/CAY-614 ? > > This was fixed for 1.2.1. It might be related. > > On 9/11/06, Dave Dombrosky <[EMAIL PROTECTED]> wrote: > > I am currently having problems when trying to use Cayenne 1.2 along > > with Tomcat's (v5.0.28) session restore capability. That is to say, > > if I deploy new code and restart tomcat, it saves the session data > > instead of starting with all new sessions when it starts up. > > > > My problem is that I used to be able to restart and stay logged in > > using version 1.1. Version 1.2 seems to have problems with trying to > > look up data after I have restarted Tomcat, and I get this stack trace > > caused by a NullPointerException: > > > > org.objectstyle.cayenne.access.ObjectStore.resolveHollow(ObjectStore.java:945) > > org.objectstyle.cayenne.access.DataContext.prepareForAccess(DataContext.java:1842) > > org.objectstyle.cayenne.CayenneDataObject.readProperty(CayenneDataObject.java:238) > > > > I couldn't find anyone else with this problem, so I assume I am doing > > something wrong and it's not a bug. Any ideas? > > > > -Dave > > >
