Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
1.4
-
None
Description
(from Mathias Scharl)
The ConversationManager uses a DUMMY variable set to new Integer(-1). Later in the code this DUMMY is used to check for an invalid conversation id. Unfortunately this check is done via == instead of equals, which works most of the time, but after re-starting an application in tomcat (session is passivated), the DUMMY object is not the same anymore and the check does not work as expected. The solution is to use equals instead of ==.
Attachments
Issue Links
- duplicates
-
ORCHESTRA-52 ConversationManager.getInstance throws ClassCastException comparing DUMMY object
- Closed