5 Replies Latest reply on Apr 10, 2006 4:43 PM by Zion Zion

    jBPM web application

    Ben Poweski Newbie

      I receive a JSF error when I attempt to load the home.jsp page of the web application included in the jbpm-server instance of jboss.

      Any thoughts?

      java.lang.IllegalStateException: Client-id : _id1 is duplicated in the faces tree.
      at org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java:241)
      at org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java:255)
      at org.apache.myfaces.application.jsp.JspStateManagerImpl.saveSerializedView(JspStateManagerImpl.java:204)
      at org.apache.myfaces.taglib.core.ViewTag.doEndTag(ViewTag.java:122)
      at org.apache.jsp.home_jsp._jspx_meth_f_view_0(org.apache.jsp.home_jsp:143)
      at org.apache.jsp.home_jsp._jspService(org.apache.jsp.home_jsp:76)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

        • 1. Re: jBPM web application
          Tom Baeyens Master

          i saw that as well. it only shows up very rarely so i didn't find a reproducing scenario.

          any hints or tips from JSF guru's are appreciated.

          regards, tom.

          • 2. Re: jBPM web application
            Ronald van Kuijk Master

            There seems to have been an issue in MyFaces. The latest release should have fixed this afaik

            • 3. Re: jBPM web application
              Gerhard Wittwer Newbie

              Hello
              I'm using MyFaces 1.1.1 for my Webapplication and there is an open issue of this duplicate id problem.

              My workaround is that each Myfaces element (including Tomahawk) contains the attribute id="something_unique_on_this_JSF_page".

              If you are using the Tomahawk PanelNavigation2 component next to the datascroller there could be the same problem.

              This bug is reported into the MyFaces/Tomahawk JIRA. Don't waiste your time by trying to find it, just set the id attribute and hope that the webapp ist working...

              Regards
              Gerhard

              • 4. Re: jBPM web application
                Zion Zion Newbie

                I can always reproduct it with jbpm starter kit 3.1 + IE and Mozilla

                1. donwload starters kit 3.1
                2. run jbpm-server/start.bat
                3. open http://localhost:8080/jbpm
                4. login (doesn't matter which user), it takes me to home.jsp
                5. right click on home.jsp and click refresh repeatedly.
                "Start Process Link" table shows when I refresh 1st, 3rd, 5th
                "Start Process Link" table doesn't show when I refresh 2,4,6; Exception is also printed out:

                java.lang.IllegalStateException: Client-id : _id1 is duplicated in the faces tree.
                at org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java:241)
                at org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java:255)
                at org.apache.myfaces.application.jsp.JspStateManagerImpl.saveSerializedView(JspStateManagerImpl.java:204)
                at org.apache.myfaces.taglib.core.ViewTag.doEndTag(ViewTag.java:122)
                at org.apache.jsp.home_jsp._jspx_meth_f_view_0(org.apache.jsp.home_jsp:143)
                at org.apache.jsp.home_jsp._jspService(org.apache.jsp.home_jsp:76)
                at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

                • 5. Re: jBPM web application
                  Zion Zion Newbie

                  A little modification in step 4: I need click "home" link in left banner, which takes me to home.jsp.