4 Replies Latest reply on Aug 5, 2011 5:52 AM by Francesco Rossi

    RF4 tabs IllegalArgumentException on reload

    Francesco Rossi Newbie

      Hello to all.

       

      I'm using RichFaces 4 running on JBoss AS6 and the pages I'm building contain some <rich:tab> components.

      Pages correctly open when a menuItem is clicked after the first time the menu is rendered; next, whichever item you click, an exception is shown (see below). If you request again the url (get) from the browser address bar, the page it opens.

      I'm not using ajax, but simple page reloading. The links to the pages are something like "page?faces-redirect=true" and are put as menuItems "action" attribute.

      Everything goes fine for pages without tab components.

       

      Maybe I'm missing something. If needed, I can give you more details.

       

      Thanks in advance.

       

      java.lang.IllegalArgumentException
       at org.richfaces.component.AbstractTogglePanel.getChildName(AbstractTogglePanel.java:502)
       at org.richfaces.component.AbstractTogglePanel.isActiveItem(AbstractTogglePanel.java:493)
       at org.richfaces.component.AbstractTogglePanel.processDecodes(AbstractTogglePanel.java:213)
       at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1043)
       at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1043)
       at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:920)
       at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:74)
       at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
       at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:308)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
       at com.x.UserSessionFilter.doFilter(UserSessionFilter.java:36)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)
       at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)
       at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)
       at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
       at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
       at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654)
       at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
       at java.lang.Thread.run(Thread.java:662)