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

Mirek Hankus commented on WW-4405:
----------------------------------

Problem is, that it works fine with 2.3.16.3 (it will complain about missing 
result definition, but action executes fine). Something has changed on the way 
to 2.3.18.
Problem is that people may find out that their app is not compatible with new 
version of struts in a hard way (for example on production system :) 
We can change our app, because we already know that it is a problem, but what 
about others ?




> ArrayIndexOutOfBoundsException during Struts action call
> --------------------------------------------------------
>
>                 Key: WW-4405
>                 URL: https://issues.apache.org/jira/browse/WW-4405
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.3.18
>            Reporter: Mirek Hankus
>             Fix For: 2.3.18
>
>         Attachments: strutstest.zip
>
>
> I've just changed struts to version 2.3.18 and I'm getting 
> ArrayIndexOutOfBoundsException. 
> {code}
> ERROR 14:53:49,382 pl.netpr.struts.results.ErrorResult - wystapil blad 
> java.lang.ArrayIndexOutOfBoundsException: 1
> ERROR 14:53:49,382 pl.netpr.struts.results.ErrorResult - 
> java.lang.ArrayIndexOutOfBoundsException: 1
>         at ognl.OgnlRuntime.resolveType(OgnlRuntime.java:710)
>         at ognl.OgnlRuntime.findParameterTypes(OgnlRuntime.java:679)
>         at ognl.OgnlRuntime.getAppropriateMethod(OgnlRuntime.java:1185)
>         at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:1223)
>         at ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:68)
>         at 
> com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.callMethodWithDebugInfo(XWorkMethodAccessor.java:117)
>         at 
> com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.callMethod(XWorkMethodAccessor.java:108)
>         at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:1369)
>         at ognl.ASTMethod.getValueBody(ASTMethod.java:90)
>         at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212)
>         at ognl.SimpleNode.getValue(SimpleNode.java:258)
>         at ognl.Ognl.getValue(Ognl.java:494)
>         at ognl.Ognl.getValue(Ognl.java:458)
>         at com.opensymphony.xwork2.ognl.OgnlUtil$2.execute(OgnlUtil.java:309)
>         at 
> com.opensymphony.xwork2.ognl.OgnlUtil.compileAndExecute(OgnlUtil.java:340)
>         at com.opensymphony.xwork2.ognl.OgnlUtil.getValue(OgnlUtil.java:307)
>         at 
> com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:421)
>         at 
> com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:285)
>         at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
>         at 
> pl.netpr.login.struts2.AuthorizationInterceptor.intercept(AuthorizationInterceptor.java:50)
> {code}
> AuthorizationInterceptor.java:50 contains
> {code} invocation.invoke()
> {code}



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

Reply via email to