|Title|ClassCastException in SessionMonitor
|Date|17-Feb-2007 08:39:25 EET
|Version|2.4.91
|Submitter|196.12.47.8
|[Bug criticality]|LightBug
|Browser version|Firefox2
|[Bug status]|ClosedBug
|[PageProvider] used|
|Servlet Container|Pramati Server
|Operating System|
|URL|
|Java version|1.5.0_06

We are using container manager authentication. But I think this has nothing to do with the type of auth.


{{{
java.lang.ClassCastException: com.ecyrd.jspwiki.WikiSession
        at com.ecyrd.jspwiki.auth.SessionMonitor.find(SessionMonitor.java:122)
        at com.ecyrd.jspwiki.auth.SessionMonitor.sessionDestroyed(SessionMonitor.java:254)
        at com.pramati.web.servlet.core.ServletSession.invokeSessionListener(ServletSession.java:587)
        at com.pramati.web.servlet.core.ServletSession.destroyServletSession(ServletSession.java:337)
        at com.pramati.web.servlet.core.SessionManager.removeSession(SessionManager.java:509)
        at com.pramati.web.servlet.core.SessionManager.closeSession(SessionManager.java:490)
        at com.pramati.web.servlet.core.ServletSession.invalidate(ServletSession.java:993)
        at com.ecyrd.jspwiki.auth.AuthenticationManager.logout(AuthenticationManager.java:310)
}}}

----
Duplicate from [BugClassCastExceptionWhenLogOut], solved.

--HarryMetske