Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.4-RC4
-
None
-
Tested with wicket1.4-rc4 in windows.
Description
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.