[richfaces-issues] [JBoss JIRA] (RF-11680) Backing a pickList with an array causes a java.lang.ArrayStoreException

Brian Leathem (Updated) (JIRA) jira-events at lists.jboss.org
Mon Nov 14 12:49:40 EST 2011


     [ https://issues.jboss.org/browse/RF-11680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Leathem updated RF-11680:
-------------------------------

            Summary: Backing a pickList with an array causes a java.lang.ArrayStoreException  (was: rich;picklist java.lang.ArrayStoreException:SelectManyRenderBase (the renderer base used for pickLlist and orderingList).)
      Fix Version/s: 4.1.0.Final
        Description: 
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} 

  was:
impossible to click on rich:tab composed of picklist :
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} 
 
I can see that a call to AbstractTogglePanel.processValidators is endis up in the SelectManyRenderBase (the renderer base used for pickLlist and orderingList).  This is most likely a bug.
 
Would you please file a jira issue? and we'll see about gettting this resolved.

             Labels:   (was: waiting_on_user)
    Forum Reference: http://community.jboss.org/thread/174739?tstart=0, http://community.jboss.org/message/636090#636090  (was: http://community.jboss.org/thread/174739?tstart=0, http://community.jboss.org/message/636090#636090)

    
> 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
>             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