[
https://issues.apache.org/jira/browse/WICKET-2188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Igor Vaynberg resolved WICKET-2188.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.4-RC5
Assignee: Igor Vaynberg
> PropertyResolver$ArrayPropertyGetSet does not call setAccessible(true) on
> method
> --------------------------------------------------------------------------------
>
> Key: WICKET-2188
> URL: https://issues.apache.org/jira/browse/WICKET-2188
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4-RC2, 1.4-RC4
> Reporter: Michael Mosmann
> Assignee: Igor Vaynberg
> Fix For: 1.4-RC5
>
> Attachments: org.apache.wicketbug.zip
>
>
> Because PropertyResolver$ArrayPropertyGetSet does not call
> setAccessible(true) on method, bean class must be public.
> error message:
> ---------------------------------------
> WicketMessage: Error calling index property method: public java.lang.String
> org.apache.BugExamplePage$DummyBean.getKind(int) on object:
> org.apache.bugexamplepage$dummyb...@8ca8ac
> Root cause:
> java.lang.IllegalAccessException: Class
> org.apache.wicket.util.lang.PropertyResolver$ArrayPropertyGetSet can not
> access a member of class org.apache.BugExamplePage$DummyBean with modifiers
> "public"
> at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:65)
> ....
> ----------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.