java.lang.IllegalStateException: Client-id : j_id_jsp_1037428323_3_j_id_jsp_1037428323_4_item0 is duplicated in the faces tree. Component : j_id_jsp_1037428323_3_j_id_jsp_1037428323_4_item0, path: {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /duplicatedId.jsp][Class: org.apache.myfaces.custom.div.Div,Id: navigation][Class: org.apache.myfaces.custom.div.Div,Id: navigation-inside][Class: javax.faces.component.html.HtmlForm,Id: j_id_jsp_1037428323_3][Class: org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlPanelNavigationMenu,Id: j_id_jsp_1037428323_4][Class: org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlCommandNavigationItem,Id: j_id_jsp_1037428323_3_j_id_jsp_1037428323_4_item0]}

myfaces-users | Kai Wiemer | 8 years ago
  1. 0

    Re: Duplicate Id problem with panelNavigation2

    myfaces-users | 8 years ago | Volker Weber
    java.lang.IllegalStateException: Client-id : j_id_jsp_1037428323_3_j_id_jsp_1037428323_4_item0 is duplicated in the faces tree. Component : j_id_jsp_1037428323_3_j_id_jsp_1037428323_4_item0, path: {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /duplicatedId.jsp][Class: org.apache.myfaces.custom.div.Div,Id: navigation][Class: org.apache.myfaces.custom.div.Div,Id: navigation-inside][Class: javax.faces.component.html.HtmlForm,Id: j_id_jsp_1037428323_3][Class: org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlPanelNavigationMenu,Id: j_id_jsp_1037428323_4][Class: org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlCommandNavigationItem,Id: j_id_jsp_1037428323_3_j_id_jsp_1037428323_4_item0]}
  2. 0

    Re: Duplicate Id problem with panelNavigation2

    myfaces-users | 8 years ago | Kai Wiemer
    java.lang.IllegalStateException: Client-id : j_id_jsp_1037428323_3_j_id_jsp_1037428323_4_item0 is duplicated in the faces tree. Component : j_id_jsp_1037428323_3_j_id_jsp_1037428323_4_item0, path: {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /duplicatedId.jsp][Class: org.apache.myfaces.custom.div.Div,Id: navigation][Class: org.apache.myfaces.custom.div.Div,Id: navigation-inside][Class: javax.faces.component.html.HtmlForm,Id: j_id_jsp_1037428323_3][Class: org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlPanelNavigationMenu,Id: j_id_jsp_1037428323_4][Class: org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlCommandNavigationItem,Id: j_id_jsp_1037428323_3_j_id_jsp_1037428323_4_item0]}
  3. 0

    Client-id : j_id8 is duplicated in the faces tree

    Oracle Community | 7 years ago | 843844
    java.lang.IllegalStateException: Client-id : j_id8 is duplicated in the faces tree. Component : patientListForm:patList:j_id8, path: {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /physicianHome.jsp][Class: javax.faces.component.html.HtmlForm,Id: patientListForm][Class: javax.faces.component.html.HtmlPanelGrid,Id: j_id_jsp_1840510824_2][Class: javax.faces.component.UIColumn,Id: j_id_jsp_1840510824_4][Class: javax.faces.component.html.HtmlPanelGroup,Id: patientListGrp][Class: org.apache.myfaces.custom.div.Div,Id: j_id_jsp_1840510824_14][Class: javax.faces.component.html.HtmlPanelGrid,Id: TelecareSearch][Class: org.apache.myfaces.component.html.ext.HtmlDataTable,Id: patList][Class: javax.faces.component.html.HtmlOutputText,Id: j_id8]}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    duplicate id's after adding a binding

    Oracle Community | 5 years ago | 850360
    java.lang.IllegalStateException: Client-id : id52 is duplicated in the faces tree. Component : id27:_id52, path: {Component-Path : [Class: org.ajax4jsf.framework.ajax.AjaxViewRoot,ViewId: /pages/user/user-edit.xhtml][Class: javax.faces.component.html.HtmlForm,Id: _id27][Class: org.apache.myfaces.custom.div.Div,Id: someId][Class: org.ajax4jsf.ajax.html.HtmlAjaxOutputPanel,Id: _id52]}
  6. 0

    JSF portlet: namingContainer - duplicate id error

    Oracle Community | 7 years ago | 704336
    java.lang.IllegalStateException: Client-id : simpleJsf_1 is duplicated in the faces tree. Component : simpleJsf_1, path: {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /simplejsf/simpleJsf.jsp][Class: com.bea.portlet.adapter.faces.component.naming.NamingContainerComponent,Id: simpleJsf_1]}

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Client-id : j_id_jsp_1037428323_3_j_id_jsp_1037428323_4_item0 is duplicated in the faces tree. Component : j_id_jsp_1037428323_3_j_id_jsp_1037428323_4_item0, path: {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /duplicatedId.jsp][Class: org.apache.myfaces.custom.div.Div,Id: navigation][Class: org.apache.myfaces.custom.div.Div,Id: navigation-inside][Class: javax.faces.component.html.HtmlForm,Id: j_id_jsp_1037428323_3][Class: org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlPanelNavigationMenu,Id: j_id_jsp_1037428323_4][Class: org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlCommandNavigationItem,Id: j_id_jsp_1037428323_3_j_id_jsp_1037428323_4_item0]}

      at org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds()
    2. Impl
      JspStateManagerImpl.saveSerializedView
      1. org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java:419)
      2. org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java:431)
      3. org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java:431)
      4. org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java:431)
      5. org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java:431)
      6. org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java:431)
      7. org.apache.myfaces.application.jsp.JspStateManagerImpl.saveSerializedView(JspStateManagerImpl.java:372)
      7 frames
    3. JavaEE 7
      StateManager.saveView
      1. javax.faces.application.StateManager.saveView(StateManager.java:87)
      1 frame
    4. Impl
      LifecycleImpl.render
      1. org.apache.myfaces.application.jsp.JspViewHandlerImpl$StateMarkerAwareWriter.flushToWriter(JspViewHandlerImpl.java:608)
      2. org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:392)
      3. org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
      4. org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
      4 frames
    5. JavaEE 7
      FacesServlet.service
      1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:155)
      1 frame
    6. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    7. Tomahawk
      ExtensionsFilter.doFilter
      1. org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:301)
      1 frame
    8. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      8 frames
    9. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      3 frames
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame