[
https://issues.apache.org/jira/browse/WICKET-2301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Igor Vaynberg resolved WICKET-2301.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.4-RC5
Assignee: Igor Vaynberg
> When injecting more than one parm in a method, an
> ArrayIndexOutOfBoundsException is thrown
> ------------------------------------------------------------------------------------------
>
> Key: WICKET-2301
> URL: https://issues.apache.org/jira/browse/WICKET-2301
> Project: Wicket
> Issue Type: Bug
> Components: wicket-guice
> Affects Versions: 1.4-RC4
> Environment: Tested with wicket1.4-rc4 in windows.
> Reporter: Steve Lowery
> Assignee: Igor Vaynberg
> Priority: Minor
> Fix For: 1.4-RC5
>
> Attachments: GuiceProxyTargetLocator.java.patch
>
>
> When using method injection that takes more than one parameter, an
> ArrayIndexOutOfBoundsException (-1) is thrown. I've isolated code to line 90
> of org.apache.wicket.guice.GuiceProxyTargetLocator. parmTypes[2 - i] should
> read parmTypes[i - 2]. I will attach a (simple) patch with this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.