4 Replies Latest reply on Dec 3, 2007 7:46 PM by Ryszard Kozmik

    exceptions when creating new category

    Advait Newbie

      Hi all,
      I am running jboss-forums-1.0.0GA-P2.6.1 on jboss-portal-2.6.1. I have deployed binary version. But when I try to create a new category or forum using admin user i get these exceptions:

      Cause: javax.portlet.PortletException: javax.portlet.PortletException: Client-id : jbpns_2fdefault_2fforums_2fJBossForumsWindowsnpbj_id108 is duplicated in the faces tree.
      Message: javax.portlet.PortletException: Client-id : jbpns_2fdefault_2fforums_2fJBossForumsWindowsnpbj_id108 is duplicated in the faces tree.
      StackTrace:

      javax.portlet.PortletException: javax.portlet.PortletException: Client-id : jbpns_2fdefault_2fforums_2fJBossForumsWindowsnpbj_id108 is duplicated in the faces tree.
      at org.jboss.portlet.forums.ui.ForumsJSFPortlet.doView(ForumsJSFPortlet.java:367)
      ....

      When i login again using admin user i can see that new category/forum is created and also other users can use it normally.

        • 1. Re: exceptions when creating new category
          Ryszard Kozmik Master

          Hi

          You might be interested in checking out 1.0.1 Development Release of JBoss Forums that is available in downloads. The bug you mention is solved there.

          Regards
          ------------------
          Ryszard Kozmik
          JBoss Forums Lead
          JBoss Labs Team

          • 2. Re: exceptions when creating new category
            Advait Newbie

            thanks ryszard, i will try that out.

            • 3. Re: exceptions when creating new category
              Daniel Gallot Newbie

              Hi

              I have got something very similar with Forum 1.0.1DR on Portal 2.6.2 and JBoss AS 4.2.2 :

              16:04:07,779 ERROR [STDERR] Dec 3, 2007 4:04:07 PM com.sun.facelets.FaceletViewHandler handleRenderE
              xception
              SEVERE: Error Rendering View[/views/admin/index.xhtml]
              java.lang.IllegalStateException: Client-id : jbpns_2fdefault_2fforums_2fJBossForumsWindowsnpbj_id85
              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.ja
              va:204)
               at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:554)
               at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
               at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:396)
               at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:266)
               at org.jboss.portlet.forums.ui.ForumsJSFPortlet.doView(ForumsJSFPortlet.java:375)
               at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133)
               at javax.portlet.GenericPortlet.render(GenericPortlet.java:306)
               at org.jboss.portlet.forums.ui.ForumsJSFPortlet.render(ForumsJSFPortlet.java:409)
               at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.invokeRender(PortletContainerImpl.java
              :483)
               at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:405
              )
               at org.jboss.portal.portlet.container.PortletContainerInvoker$1.invoke(PortletContainerInvoker.java
              :86)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
              ...........
              


              While creating a category or forum (but not so often - four or five times for 15 creations). Then I have to leave the page (and log out also), and when coming back, there was a blank category or forum created.

              If it is the same than http://www.jboss.com/index.html?module=bb&op=viewtopic&t=123347, you said there that
              the same problem appears also in other part of the app


              Could you please tell me the other functionnalities concerned ?
              Is there a bug in JIRA for this problem ?

              Thanks a lot for your reply.


              • 4. Re: exceptions when creating new category
                Ryszard Kozmik Master

                Hi

                Damn, this bug was supposed to be fixed. I'll have to reopen JIRA tasks for it. It's such a painful issue. As you noticed it's not so easy even to reproduce it and it's even harder to fix it.

                It can also appear in MyForums while editing topic/forum subscribe notification type. Hopefully, this one works correctly.

                Thanks for reporting
                ------------------
                Ryszard Kozmik
                JBoss Forums Lead
                JBoss Labs Team