[richfaces-issues] [JBoss JIRA] (RF-13135) ExtendedDataTable(multipleKeyboardFree mode): ArrayIndexOutOfBoundsException when clicking in IE8

Brian Leathem (JIRA) jira-events at lists.jboss.org
Fri Aug 16 14:59:27 EDT 2013


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

Brian Leathem updated RF-13135:
-------------------------------

    Fix Version/s: 5-Tracking

    
> ExtendedDataTable(multipleKeyboardFree mode): ArrayIndexOutOfBoundsException when clicking in IE8
> -------------------------------------------------------------------------------------------------
>
>                 Key: RF-13135
>                 URL: https://issues.jboss.org/browse/RF-13135
>             Project: RichFaces
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: component-tables
>    Affects Versions: 4.3.3
>         Environment: Server: jboss-eap-6.1.0.Alpha
> Browser: IE(8.0.7601.17514)
>            Reporter: Ray Yan
>             Fix For: 5-Tracking
>
>
> I'm using an ExtendedDataTable in multipleKeyboardFree mode with 2 frozenColumns. It works great in Chrome (Version 28.0.1500.95) without exception. But when browsing in IE8, below exception had been thrown several times:
> {code}
> SEVERE [org.richfaces.log.Context] (http-localhost/127.0.0.1:8080-1) 0: java.lang.ArrayIndexOutOfBoundsException: 0
> 	at org.richfaces.renderkit.SelectionRenderer$ClientSelection.<init>(SelectionRenderer.java:65) [richfaces-components-ui-4.3.3.Final.jar:4.3.3.Final]
> 	at org.richfaces.renderkit.SelectionRenderer.doDecode(SelectionRenderer.java:168) [richfaces-components-ui-4.3.3.Final.jar:4.3.3.Final]
> 	at org.richfaces.renderkit.ExtendedDataTableRenderer.doDecode(ExtendedDataTableRenderer.java:953) [richfaces-components-ui-4.3.3.Final.jar:4.3.3.Final]
> 	at org.richfaces.renderkit.RendererBase.decode(RendererBase.java:80) [richfaces-components-ui-4.3.3.Final.jar:4.3.3.Final]
> 	at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:793) [jboss-jsf-api_2.1_spec-2.1.18.Final.jar:2.1.18.Final]
> 	at org.richfaces.component.UIDataAdaptor.processDecodes(UIDataAdaptor.java:822) [richfaces-components-ui-4.3.3.Final.jar:4.3.3.Final]
> 	at org.richfaces.context.PartialViewExecuteVisitCallback.visit(PartialViewExecuteVisitCallback.java:53) [richfaces-core-impl-4.3.3.Final.jar:4.3.3.Final]
> 	at org.richfaces.context.BaseExtendedVisitContext.invokeVisitCallback(BaseExtendedVisitContext.java:321) [richfaces-core-impl-4.3.3.Final.jar:4.3.3.Final]
> 	at org.richfaces.component.UIDataAdaptor.visitTree(UIDataAdaptor.java:1322) [richfaces-components-ui-4.3.3.Final.jar:4.3.3.Final]
> 	at javax.faces.component.UIComponent.visitTree(UIComponent.java:1623) [jboss-jsf-api_2.1_spec-2.1.18.Final.jar:2.1.18.Final]
> 	at javax.faces.component.UIComponent.visitTree(UIComponent.java:1623) [jboss-jsf-api_2.1_spec-2.1.18.Final.jar:2.1.18.Final]
> 	at javax.faces.component.UIForm.visitTree(UIForm.java:371) [jboss-jsf-api_2.1_spec-2.1.18.Final.jar:2.1.18.Final]
> 	at javax.faces.component.UIComponent.visitTree(UIComponent.java:1623) [jboss-jsf-api_2.1_spec-2.1.18.Final.jar:2.1.18.Final]
> 	at javax.faces.component.UIComponent.visitTree(UIComponent.java:1623) [jboss-jsf-api_2.1_spec-2.1.18.Final.jar:2.1.18.Final]
> 	at org.richfaces.context.ExtendedPartialViewContextImpl.executeComponents(ExtendedPartialViewContextImpl.java:278) [richfaces-core-impl-4.3.3.Final.jar:4.3.3.Final]
> 	at org.richfaces.context.ExtendedPartialViewContextImpl.processPartialExecutePhase(ExtendedPartialViewContextImpl.java:258) [richfaces-core-impl-4.3.3.Final.jar:4.3.3.Final]
> 	at org.richfaces.context.ExtendedPartialViewContextImpl.processPartial(ExtendedPartialViewContextImpl.java:215) [richfaces-core-impl-4.3.3.Final.jar:4.3.3.Final]
> 	at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:923) [jboss-jsf-api_2.1_spec-2.1.18.Final.jar:2.1.18.Final]
> 	at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:78) [jsf-impl-2.1.18-jbossorg-1.jar:]
> 	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.1.18-jbossorg-1.jar:]
> 	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) [jsf-impl-2.1.18-jbossorg-1.jar:]
> 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593) [jboss-jsf-api_2.1_spec-2.1.18.Final.jar:2.1.18.Final]
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
> {code}
> Below source code maybe buggy:
> {code:title=org.richfaces.renderkit.SelectionRenderer.java|borderStyle=solid}
>                     String[] rangeString = rangeStrings[i].split(",");
>                     ranges[i][0] = Integer.parseInt(rangeString[0]);
>                     ranges[i][1] = Integer.parseInt(rangeString[1]);
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list