Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:

  http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-207


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: WW-207
    Summary: SessionLifecycleListener.sessionDestroyed calls getAttribute on invalid 
session
       Type: Bug

     Status: Assigned
   Priority: Blocker

    Project: WebWork
 Components: 
             Component Management
   Versions:
             2.0

   Assignee: Patrick Lightbody
   Reporter: Mathias Bogaert

    Created: Wed, 4 Jun 2003 3:15 AM
    Updated: Wed, 4 Jun 2003 3:15 AM

Description:
One is not allowed to get attributes from a destroyed session in the sessionDestroyed 
method.

Resin throws:

java.lang.IllegalStateException: Can't call getAttribute() when session
is no longer valid.
        at com.caucho.http.session.SessionImpl.getAttribute(SessionImpl.java:273)
        at 
com.opensymphony.webwork.lifecycle.SessionLifecycleListener.sessionDestroyed(SessionLifecycleListener.java:60)
        at 
com.caucho.http.session.SessionImpl.callDestroyListeners(SessionImpl.java:560)
        at com.caucho.http.session.SessionImpl.removeEvent(SessionImpl.java:493)
        at com.caucho.util.LruCache.remove(LruCache.java:329)
        at 
com.caucho.http.session.SessionManager.removeSession(SessionManager.java:945)
        at com.caucho.http.session.SessionImpl.invalidate(SessionImpl.java:512)
        at _logout__jsp._jspService(/logout.jsp:2)
        at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
        at com.caucho.jsp.Page.subservice(Page.java:506)
        at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:182)
        at 
com.opensymphony.webwork.lifecycle.RequestLifecycleFilter.doFilter(RequestLifecycleFilter.java:56)
        at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
        at 
com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:129)
        at 
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:61)
        at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
        at com.caucho.server.http.Invocation.service(Invocation.java:315)
        at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
        at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246)
        at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:163)
        at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
        at java.lang.Thread.run(Thread.java:534)



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.opensymphony.com/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to