struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <>
Subject [jira] [Commented] (WW-4105) Struts2 raise java.lang.ClassCastException when Result type is chain
Date Thu, 13 Jun 2013 06:30:21 GMT


Lukasz Lenart commented on WW-4105:

Could you share you setup? Or prepare small maven based app which presents the bug?

I have tested with the Struts2 Showcase application (there is example how to use action chaining)
and everything works like charm :-)
> Struts2 raise java.lang.ClassCastException  when Result type is chain
> ---------------------------------------------------------------------
>                 Key: WW-4105
>                 URL:
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Interceptors
>    Affects Versions:
>         Environment: tomcat6 struts2.3.*
>            Reporter: zhouyong
>             Fix For: 2.3.x
> java.lang.ClassCastException: A action cannot be cast to B action when A chain to B.
> has a bug in intercept function when Result type is chain.
> Intercept function of ChainingInterceptor will change action member of DefaultActionInvocation
class. And invokeAction of DefaultActionInvocation will fail in line 450.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message