Mantis - Resin
Viewing Issue Advanced Details
2031 major always 09-28-07 01:16 10-24-07 15:56
jkriesten  
ferg  
normal  
closed 3.1.2  
fixed  
none    
none 3.1.3  
0002031: java.lang.IllegalStateException: Can't call getEntrySet() when session is no longer valid.
When sending a redirect to the user after session.invalidate() is called, the following Exception is thrown:

[10:12:03.792] java.lang.IllegalStateException: Can't call getEntrySet() when session is no longer valid.
[10:12:03.792] at com.caucho.server.session.SessionImpl.getEntrySet(SessionImpl.java:1199)
[10:12:03.792] at com.caucho.server.session.SessionImpl.store(SessionImpl.java:1128)
[10:12:03.792] at com.caucho.server.session.SessionManager.store(SessionManager.java:1609)
[10:12:03.792] at com.caucho.server.cluster.ClusterObject.store(ClusterObject.java:402)
[10:12:03.792] at com.caucho.server.session.SessionImpl.save(SessionImpl.java:907)
[10:12:03.792] at com.caucho.server.connection.AbstractHttpRequest.saveSession(AbstractHttpRequest.java:2428)
[10:12:03.792] at com.caucho.server.connection.AbstractHttpResponse.sendRedirect(AbstractHttpResponse.java:614)
[10:12:03.792] at org.apache.wicket.protocol.http.WebResponse.redirect(WebResponse.java:214)
[10:12:03.792] at org.apache.wicket.protocol.http.BufferedWebResponse.close(BufferedWebResponse.java:67)
[10:12:03.792] at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:288)
[10:12:03.792] at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:129)
[10:12:03.792] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:74)
[10:12:03.792] at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:160)
[10:12:03.792] at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:177)
[10:12:03.792] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:241)
[10:12:03.792] at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:268)
[10:12:03.792] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:576)
[10:12:03.792] at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:685)
[10:12:03.792] at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:607)
[10:12:03.792] at java.lang.Thread.run(Thread.java:619)
Resin Professional 3.1.s070927 (built Thu, 27 Sep 2007 01:59:28 PDT)
Java(TM) SE Runtime Environment (build 1.6.0_02-b05)
OpenSuSE 10.2
Wicket Framework 1.3

Notes
(0002330)
jkriesten   
10-09-07 00:30   
The problem seems to be solved with the 3.1.3 release, so this issue can be closed! Thanks! :-)