6 Replies Latest reply on Apr 9, 2009 11:46 PM by ismail bayraktar

    Duplicate component ID when browser refreshed

    Nicklas Karlsson Master

      Actually an ICEFaces issue and I have a JIRA for it but I'm looking for some insight into the lines where all the parties are involved ;-)


      I have debugged the component renderer and I don't see the duplicate ID:s there, what could cause them at that point? Once the tree is generated, the ID shouldn't change when refreshed(?)


              at com.sun.faces.application.StateManagerImpl.checkIdUniqueness(StateManagerImpl.java:322)
      
              at com.sun.faces.application.StateManagerImpl.saveSerializedView(StateManagerImpl.java:199)
      
              at org.jboss.seam.jsf.SeamStateManager.saveSerializedView(SeamStateManager.java:64)
      
              at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:165)
      
              at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)



      The complete stack trace is:


      at com.sun.faces.application.StateManagerImpl.checkIdUniqueness(StateManagerImpl.java:335)
      
           at com.sun.faces.application.StateManagerImpl.checkIdUniqueness(StateManagerImpl.java:322)
      
           at com.sun.faces.application.StateManagerImpl.checkIdUniqueness(StateManagerImpl.java:322)
      
           at com.sun.faces.application.StateManagerImpl.checkIdUniqueness(StateManagerImpl.java:322)
      
           at com.sun.faces.application.StateManagerImpl.checkIdUniqueness(StateManagerImpl.java:322)
      
           at com.sun.faces.application.StateManagerImpl.checkIdUniqueness(StateManagerImpl.java:322)
      
           at com.sun.faces.application.StateManagerImpl.checkIdUniqueness(StateManagerImpl.java:322)
      
           at com.sun.faces.application.StateManagerImpl.checkIdUniqueness(StateManagerImpl.java:322)
      
           at com.sun.faces.application.StateManagerImpl.checkIdUniqueness(StateManagerImpl.java:322)
      
           at com.sun.faces.application.StateManagerImpl.checkIdUniqueness(StateManagerImpl.java:322)
      
           at com.sun.faces.application.StateManagerImpl.checkIdUniqueness(StateManagerImpl.java:322)
      
           at com.sun.faces.application.StateManagerImpl.checkIdUniqueness(StateManagerImpl.java:322)
      
           at com.sun.faces.application.StateManagerImpl.saveSerializedView(StateManagerImpl.java:199)
      
           at org.jboss.seam.jsf.SeamStateManager.saveSerializedView(SeamStateManager.java:64)
      
           at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:165)
      
           at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
      
           at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
      
           at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
      
           at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:18)
      
           at com.icesoft.faces.webapp.http.core.PageServer$1.respond(PageServer.java:25)
      
           at com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:161)
      
           at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet$ThreadBlockingRequestResponse.respondWith(ThreadBlockingAdaptingServlet.java:36)
      
           at com.icesoft.faces.webapp.http.core.PageServer.service(PageServer.java:30)
      
           at com.icesoft.faces.webapp.http.core.SingleViewServer.service(SingleViewServer.java:48)
      
           at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer$Matcher.serviceOnMatch(PathDispatcherServer.java:50)
      
           at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:19)
      
           at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)
      
           at com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:29)
      
           at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:105)
      
           at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:37)
      
           at com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)
      
           at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)
      
           at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:76)
      
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
      
           at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
      
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      
           at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
      
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      
           at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
      
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      
           at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
      
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      
           at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
      
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)
      
           at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
      
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      
           at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      
           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      
           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      
           at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
      
           at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
      
           at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      
           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:157)
      
           at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      
           at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      
           at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      
           at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      
           at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      
           at java.lang.Thread.run(Unknown Source)