Details
-
Bug
-
Status: Reopened
-
Major
-
Resolution: Unresolved
-
1.2
-
None
-
None
Description
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.