FAQ
Exception with Tomcat's session restore capability
--------------------------------------------------

Key: CAY-652
URL: http://issues.apache.org/cayenne/browse/CAY-652
Project: Cayenne
Type: Bug

Components: Cayenne Core Library
Versions: 1.2 [STABLE]
Environment: Linux
Tomcat 5.0.28
JDK 1.4.2
Reporter: Dave Dombrosky
Priority: Minor


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)

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

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
groupdev @
categoriescayenne
postedSep 11, '06 at 11:11p
activeSep 11, '06 at 11:11p
posts1
users1
websitecayenne.apache.org

1 user in discussion

Dave Dombrosky (JIRA): 1 post

People

Translate

site design / logo © 2022 Grokbase