4 Replies Latest reply on Sep 13, 2007 3:43 PM by alexsmirnov

    Problem updating from 3.0.1 to 3.1RC6

    budoray

      I'm getting a slew of errors and I'm not sure where to begin in tracking down the root cause. I'm running on JBoss 4.0.5 with MyFaces 1.1.5 and Trinidad 1.0.1. Looking for a little help to get migrated so that I can take advantage of the new features. Will provide more info if needed. Many thanks.

      java.lang.IllegalStateException: duplicate Id for a component refresh
      at org.ajax4jsf.application.AjaxStateManager$TreeStrutureNode.apply(AjaxStateManager.java:326)
      at org.ajax4jsf.application.AjaxStateManager$TreeStrutureNode.apply(AjaxStateManager.java:348)
      at org.ajax4jsf.application.AjaxStateManager$TreeStrutureNode.apply(AjaxStateManager.java:348)
      at org.ajax4jsf.application.AjaxStateManager$TreeStrutureNode.apply(AjaxStateManager.java:348)
      at org.ajax4jsf.application.AjaxStateManager$TreeStrutureNode.apply(AjaxStateManager.java:348)
      at org.ajax4jsf.application.AjaxStateManager$TreeStrutureNode.apply(AjaxStateManager.java:348)
      at org.ajax4jsf.application.AjaxStateManager$TreeStrutureNode.apply(AjaxStateManager.java:348)
      at org.ajax4jsf.application.AjaxStateManager$TreeStrutureNode.apply(AjaxStateManager.java:348)
      at org.ajax4jsf.application.AjaxStateManager$TreeStrutureNode.apply(AjaxStateManager.java:348)
      at org.ajax4jsf.application.AjaxStateManager$TreeStrutureNode.apply(AjaxStateManager.java:348)
      at org.ajax4jsf.application.AjaxStateManager$TreeStrutureNode.apply(AjaxStateManager.java:336)
      at org.ajax4jsf.application.AjaxStateManager$TreeStrutureNode.apply(AjaxStateManager.java:348)
      at org.ajax4jsf.application.AjaxStateManager$TreeStrutureNode.apply(AjaxStateManager.java:348)
      at org.ajax4jsf.application.AjaxStateManager$TreeStrutureNode.apply(AjaxStateManager.java:348)
      at org.ajax4jsf.application.AjaxStateManager.saveSerializedView(AjaxStateManager.java:236)

        • 1. Re: Problem updating from 3.0.1 to 3.1RC6
          budoray

          Did I miss something? Is 3.1 not available for JBoss 4.0.5 yet? I see distributions for Tomcat and assumed this applied to JBoss. Would someone clarify this for me so that I can try to make the move to JBoss 4.2?

          Many thanks.

          • 2. Re: Problem updating from 3.0.1 to 3.1RC6
            alexsmirnov

            Please, provide your page code.
            By a jsf specification, view tree can't have more then one components with a same clientId ( refresh in your case ).

            • 3. Re: Problem updating from 3.0.1 to 3.1RC6
              budoray

              Hmm. I don't have duplicate ids in the my tags are most are assigned by JSF. I double checked that my taglibs do not include duplicate tags and I made sure to change the a4j and rich taglib uri to the updated ones listed in the sample war. I removed the old a4j jar and the old richfaces jar and now include the 3 richfaces jars with the distribution.

              With that said, are you hinting that there's a component with an id of 'refresh' on one of the pages that's causing this? I'll dig through the code and look again, but please correct me if I'm chasing this problem incorrectly.

              • 4. Re: Problem updating from 3.0.1 to 3.1RC6
                alexsmirnov

                 

                duplicate Id for a component refresh
                - this message mean about second component with clientId 'refresh' found in view tree.