You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2014/09/23 15:13:34 UTC

[jira] [Commented] (WW-4405) ArrayIndexOutOfBoundsException during Struts action call

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

Lukasz Lenart commented on WW-4405:
-----------------------------------

This version wasn't officially released yet, please report any error in this thread
http://markmail.org/thread/azmkod2pg34wrnhf

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