[richfaces-issues] [JBoss JIRA] (RF-11680) Backing a pickList with an array causes a java.lang.ArrayStoreException
Brian Leathem (Resolved) (JIRA)
jira-events at lists.jboss.org
Wed Nov 16 16:16:41 EST 2011
[ https://issues.jboss.org/browse/RF-11680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Leathem resolved RF-11680.
--------------------------------
Resolution: Done
Changed the submitted value cast to the array component type, rather than the array type itself
> Backing a pickList with an array causes a java.lang.ArrayStoreException
> -----------------------------------------------------------------------
>
> Key: RF-11680
> URL: https://issues.jboss.org/browse/RF-11680
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-output
> Affects Versions: 4.1.0.Milestone4
> Environment: AS 7 / RF4.m3 / sevent jdk 1.6_24
> Reporter: Adrien Adrien
> Assignee: Brian Leathem
> Fix For: 4.1.0.Final
>
>
> Stacktrace generated while trying to update an array backed pickList (embedded in a tab panel) from forum :
> ------------
> {code}
> java.lang.ArrayStoreException: java.lang.String
> at org.richfaces.renderkit.SelectManyHelper.getConvertedValue(SelectManyHelper.java:275)
> at org.richfaces.renderkit.SelectManyRendererBase.getConvertedValue(SelectManyRendererBase.java:108)
> at javax.faces.component.UIInput.getConvertedValue(UIInput.java:1030)
> at javax.faces.component.UIInput.validate(UIInput.java:960)
> at javax.faces.component.UIInput.executeValidate(UIInput.java:1233)
> at javax.faces.component.UIInput.processValidators(UIInput.java:698)
> at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
> at org.richfaces.component.AbstractTogglePanel.processValidators(AbstractTogglePanel.java:260)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list