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] [Closed] (WW-4405) ArrayIndexOutOfBoundsException during Struts action call
Date Sun, 13 Nov 2016 10:54:59 GMT

     [ https://issues.apache.org/jira/browse/WW-4405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lukasz Lenart closed WW-4405.
-----------------------------

> 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.20
>            Reporter: Mirek Hankus
>            Assignee: Lukasz Lenart
>             Fix For: 2.5
>
>         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)

Mime
View raw message