[
https://issues.apache.org/jira/browse/ORCHESTRA-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12710375#action_12710375
]
Simon Kitching commented on ORCHESTRA-32:
-----------------------------------------
Ok, should be fixed now (see r775960). It's not the most elegant fix, but seems
to do the job. Please test...
> 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
> Fix For: 1.4
>
>
> 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.