[ 
https://issues.apache.org/jira/browse/ORCHESTRA-32?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Simon Kitching resolved ORCHESTRA-32.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4

Fixed by r713702

> 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.

Reply via email to