struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alireza Fattahi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4600) MessageStoreInterceptor throws Session already invalidated
Date Sun, 31 Jan 2016 05:12:39 GMT

    [ https://issues.apache.org/jira/browse/WW-4600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15125231#comment-15125231
] 

Alireza Fattahi commented on WW-4600:
-------------------------------------

Here is the full stack trace:

`````Java

java.lang.IllegalStateException: getAttribute: Session already invalidated
	at org.apache.catalina.session.StandardSession.getAttribute(StandardSession.java:1189)
	at org.apache.catalina.session.StandardSessionFacade.getAttribute(StandardSessionFacade.java:120)
	at org.apache.struts2.dispatcher.SessionMap.get(SessionMap.java:161)
	at org.apache.struts2.dispatcher.SessionMap.put(SessionMap.java:179)
	at org.apache.struts2.interceptor.MessageStoreInterceptor.after(MessageStoreInterceptor.java:289)

As you find the  `session.getAttribute` is called during a `session.put` call. 

> MessageStoreInterceptor  throws Session already invalidated
> -----------------------------------------------------------
>
>                 Key: WW-4600
>                 URL: https://issues.apache.org/jira/browse/WW-4600
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Interceptors
>            Reporter: Alireza Fattahi
>             Fix For: 2.5.x
>
>
> The MessageStoreInterceptor may throw the java.lang.IllegalStateException: getAttribute:
Session already invalidated at line 289, if the action invalidte the session.
> Can this be solved ?!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message