struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4600) MessageStoreInterceptor throws Session already invalidated
Date Sat, 30 Jan 2016 08:56:39 GMT

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

Lukasz Lenart commented on WW-4600:
-----------------------------------

Yes: do not invalidate session in action. Better idea is to create a custom interceptor that
will handle such case and it will be added to the end or beginning of your interceptor stack.

Please provide more details about the exception, there is no {{getAttribute}} usage in the
{{MessageStoreInterceptor}}

> 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
>
> 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