myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Kitching (JIRA)" <...@myfaces.apache.org>
Subject [jira] Created: (ORCHESTRA-32) Hot-restart of Tomcat causes NullPointerException while deserializing saved http-session
Date Thu, 13 Nov 2008 10:35:44 GMT
Hot-restart of Tomcat causes NullPointerException while deserializing saved http-session
----------------------------------------------------------------------------------------

                 Key: ORCHESTRA-32
                 URL: https://issues.apache.org/jira/browse/ORCHESTRA-32
             Project: MyFaces Orchestra
          Issue Type: Bug
          Components: Conversation
    Affects Versions: 1.2
            Reporter: Simon Kitching
            Assignee: Simon Kitching


Tomcat displays this message on restart:

SCHWERWIEGEND: Exception loading sessions from persistent storage
java.lang.NullPointerException
	at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:881)
	at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1445)

The problem is that the orchestra ConversationManager class has a readResolve method that
returns null, intending that the object just gets created "on demand" later. However Tomcat
tries to put the deserialized object into its session - and null objects are not permitted
in an HttpSession.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message