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

Steve Lowery updated WICKET-2301:
---------------------------------

    Attachment: GuiceProxyTargetLocator.java.patch

> 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
>            Priority: Minor
>         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.

Reply via email to