incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From noah <iamn...@gmail.com>
Subject IndexOutOfBoundsException in tr:table detailStamp
Date Thu, 25 Jan 2007 00:29:27 GMT
This may be a Facelets issue, I'm not sure.

Simple Example:

<tr:table allDetailsEnabled="true" ...>
  <f:facet name="detailStamp">
    <h:panelGroup>
      <h:outputText value="foo"/>
      <br/>
      <h:outputText value="bar"/>
    </h:panelgroup>
  </f:facet>
  ...

That gets me a index out of bounds exception (trace below).  Any idea
what's going on or how to fix it?

My Setup:
Facelets 1.1.11
MyFaces & Tomahawk 1.1.3
Trinidad m1-SNAPSHOT

exception:

javax.servlet.ServletException: Index: 2, Size: 2
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
	org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter
(TrinidadFilterImpl.java:327)
	org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:291)
	org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java
:214)
	org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:90)
	org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)

	org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
	org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
	org.acegisecurity.util.FilterToBeanProxy.doFilter
(FilterToBeanProxy.java:90)
	org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
	org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:90)
	org.acegisecurity.ui.AbstractProcessingFilter.doFilter
(AbstractProcessingFilter.java:216)
	org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:90)
	org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java
:195)
	org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:90)
	org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174)
	org.springframework.web.filter.OncePerRequestFilter.doFilter
(OncePerRequestFilter.java:76)
	org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)

root cause

java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
	java.util.ArrayList.RangeCheck
(ArrayList.java:546)
	java.util.ArrayList.get(ArrayList.java:321)
	javax.faces.component._ComponentChildrenList.get(_ComponentChildrenList.java:42)
	org.apache.myfaces.trinidad.component.UIXCollection.restoreStampState
(UIXCollection.java:837)
	org.apache.myfaces.trinidad.component.UIXTable.restoreStampState(UIXTable.java:323)
	org.apache.myfaces.trinidad.component.UIXCollection._restoreStampState(UIXCollection.java:1110)
	org.apache.myfaces.trinidad.component.UIXCollection.postRowDataChange
(UIXCollection.java:729)
	org.apache.myfaces.trinidad.component.UIXCollection.setRowKey(UIXCollection.java:388)
	org.apache.myfaces.trinidad.component.UIXCollection.setCurrencyString(UIXCollection.java:639)
	org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.table.TableSelectManyRenderer._setDeltas
(TableSelectManyRenderer.java:147)
	org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.table.TableSelectManyRenderer.decode(TableSelectManyRenderer.java:109)
	org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.TableRenderer.decodeSelection
(TableRenderer.java:125)
	org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.TableRenderer.decode(TableRenderer.java:89)
	org.apache.myfaces.trinidad.component.UIXComponentBase.__rendererDecode(UIXComponentBase.java
:1011)
	org.apache.myfaces.trinidad.component.UIXComponentBase.decode(UIXComponentBase.java:623)
	org.apache.myfaces.trinidad.component.UIXCollection.processDecodes(UIXCollection.java:146)
	javax.faces.component.UIComponentBase.processDecodes
(UIComponentBase.java:602)
	org.apache.myfaces.custom.tabbedpane.HtmlPanelTabbedPane.processDecodes(HtmlPanelTabbedPane.java:65)
	javax.faces.component.UIForm.processDecodes(UIForm.java:53)
	org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl
(UIXComponentBase.java:889)
	org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:874)
	org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java
:725)
	javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:602)
	javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:135)
	org.apache.myfaces.lifecycle.LifecycleImpl.applyRequestValues
(LifecycleImpl.java:219)
	org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:71)
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
	org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter
(TrinidadFilterImpl.java:327)
	org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:291)
	org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java
:214)
	org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:90)
	org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)

	org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
	org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
	org.acegisecurity.util.FilterToBeanProxy.doFilter
(FilterToBeanProxy.java:90)
	org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
	org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:90)
	org.acegisecurity.ui.AbstractProcessingFilter.doFilter
(AbstractProcessingFilter.java:216)
	org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:90)
	org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java
:195)
	org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:90)
	org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174)
	org.springframework.web.filter.OncePerRequestFilter.doFilter
(OncePerRequestFilter.java:76)
	org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)

Mime
View raw message