2 Replies Latest reply on Feb 24, 2014 11:53 AM by Alain BAUDRY

    [Portlet Bridge 3.2.1.Final] Error "cannot add (or remove) same component twice" seems to be back

    Alain BAUDRY Newbie

      Hello,

       

      I am currently testing a migration from PortletBridge 3.1.2.Final (with RichFaces 4.2.3.Final and JSF 2.1.8) to PortletBridge 3.2.1.Final (with RichFaces 4.3.2.Final and JSF 2.1.19) and have encountered some errors like:

      30 sept. 2013 10:22:51 org.exoplatform.portal.webui.application.UIPortletLifecycle processRender

      GRAVE: Portlet render threw an exception

      org.exoplatform.services.portletcontainer.PortletContainerException: Error process faces request

        at org.exoplatform.portal.webui.application.UIPortletLifecycle.processRender(UIPortletLifecycle.java:309)

        at org.exoplatform.portal.webui.application.UIPortletLifecycle.processRender(UIPortletLifecycle.java:62)

        at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:146)

        at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:368)

        at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:358)

        at sun.reflect.GeneratedMethodAccessor209.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)

        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)

        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)

        at UIContainer.run(UIContainer.gtmpl:66)

        at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:111)

        at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:118)

        at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:117)

        at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:125)

        at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:83)

        at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:146)

        at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:368)

        at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:358)

        at sun.reflect.GeneratedMethodAccessor209.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)

        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)

        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)

        at UIContainer.run(UIContainer.gtmpl:66)

        at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:111)

        at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:118)

        at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:117)

        at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:125)

        at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:83)

        at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:146)

        at org.exoplatform.webui.core.UIContainer.renderUIComponent(UIContainer.java:339)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)

        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)

        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124)

        at UITableColumnContainer.run(UITableColumnContainer.gtmpl:68)

        at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:111)

        at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:118)

        at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:117)

        at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:125)

        at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:83)

        at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:146)

        at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:368)

        at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:358)

        at sun.reflect.GeneratedMethodAccessor209.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)

        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)

        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)

        at UIContainer.run(UIContainer.gtmpl:66)

        at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:111)

        at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:118)

        at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:117)

        at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:125)

        at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:83)

        at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:146)

        at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:368)

        at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:358)

        at sun.reflect.GeneratedMethodAccessor209.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)

        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)

        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)

        at UIPage.run(UIPage.gtmpl:8)

        at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:111)

        at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:118)

        at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:117)

        at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:125)

        at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:83)

        at org.exoplatform.portal.webui.page.UIPageLifecycle.processRender(UIPageLifecycle.java:44)

        at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:146)

        at org.exoplatform.webui.core.UIComponentDecorator.renderChildren(UIComponentDecorator.java:101)

        at sun.reflect.GeneratedMethodAccessor510.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)

        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)

        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)

        at UIPageBody.run(UIPageBody.gtmpl:31)

        at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:111)

        at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:118)

        at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:117)

        at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:125)

        at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:83)

        at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:146)

        at org.exoplatform.portal.webui.page.UIPageBody.processRender(UIPageBody.java:162)

        at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:368)

        at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:358)

        at sun.reflect.GeneratedMethodAccessor209.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)

        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)

        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)

        at UIPortal.run(UIPortal.gtmpl:18)

        at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:111)

        at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:118)

        at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:117)

        at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:125)

        at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:83)

        at org.exoplatform.portal.webui.portal.UIPortalLifecycle.processRender(UIPortalLifecycle.java:41)

        at org.exoplatform.portal.webui.portal.UIPortalLifecycle.processRender(UIPortalLifecycle.java:30)

        at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:146)

        at org.exoplatform.webui.core.UIComponentDecorator.renderChildren(UIComponentDecorator.java:101)

        at sun.reflect.GeneratedMethodAccessor510.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)

        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)

        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)

        at UISiteBody.run(UISiteBody.gtmpl:27)

        at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:111)

        at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:118)

        at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:117)

        at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:125)

        at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:83)

        at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:146)

        at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:368)

        at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:358)

        at sun.reflect.GeneratedMethodAccessor209.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)

        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)

        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)

        at UIContainer.run(UIContainer.gtmpl:66)

        at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:111)

        at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:118)

        at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:117)

        at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:125)

        at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:83)

        at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:146)

        at org.exoplatform.webui.core.UIComponentDecorator$UIComponentDecoratorLifecycle.processRender(UIComponentDecorator.java:113)

        at org.exoplatform.webui.core.UIComponentDecorator$UIComponentDecoratorLifecycle.processRender(UIComponentDecorator.java:104)

        at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:146)

        at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:368)

        at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:358)

        at sun.reflect.GeneratedMethodAccessor209.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)

        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)

        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)

        at UIWorkingWorkspace.run(UIWorkingWorkspace.gtmpl:45)

        at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:111)

        at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:118)

        at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:117)

        at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:125)

        at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:83)

        at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:146)

        at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:368)

        at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:358)

        at org.exoplatform.webui.core.UIApplication.renderChildren(UIApplication.java:120)

        at sun.reflect.GeneratedMethodAccessor764.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)

        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)

        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)

        at UIPortalApplicationChildren.run(UIPortalApplicationChildren.gtmpl:3)

        at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:111)

        at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:118)

        at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:117)

        at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:125)

        at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processRender(UIPortalApplicationLifecycle.java:142)

        at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processRender(UIPortalApplicationLifecycle.java:105)

        at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processRender(UIPortalApplicationLifecycle.java:37)

        at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:146)

        at org.exoplatform.portal.webui.workspace.UIPortalApplication.processRender(UIPortalApplication.java:641)

        at org.exoplatform.portal.application.PortalRequestHandler.processRequest(PortalRequestHandler.java:195)

        at org.exoplatform.portal.application.PortalRequestHandler.execute(PortalRequestHandler.java:161)

        at org.exoplatform.web.WebAppController.service(WebAppController.java:358)

        at org.exoplatform.portal.application.PortalController.onService(PortalController.java:125)

        at org.exoplatform.container.web.AbstractHttpServlet.service(AbstractHttpServlet.java:132)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.exoplatform.web.login.RememberMeFilter.doFilter(RememberMeFilter.java:84)

        at org.exoplatform.web.login.RememberMeFilter.doFilter(RememberMeFilter.java:54)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:114)

        at fr.s2e.web.front.exo.filtre.AuthentificationRedirection.doFilter(AuthentificationRedirection.java:110)

        at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:110)

        at org.exoplatform.platform.common.admin.TermsAndConditionsFilter.doFilter(TermsAndConditionsFilter.java:77)

        at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:110)

        at org.exoplatform.web.filter.ExtensibleFilter.doFilter(ExtensibleFilter.java:84)

        at org.exoplatform.web.filter.GenericFilter.doFilter(GenericFilter.java:78)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.exoplatform.web.CacheUserProfileFilter.doFilter(CacheUserProfileFilter.java:73)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.exoplatform.frameworks.jcr.web.ThreadLocalSessionProviderInitializedFilter.doFilter(ThreadLocalSessionProviderInitializedFilter.java:116)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.exoplatform.services.security.web.SetCurrentIdentityFilter.doFilter(SetCurrentIdentityFilter.java:88)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.exoplatform.web.login.ClusteredSSOFilter.doFilter(ClusteredSSOFilter.java:73)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.exoplatform.container.web.PortalContainerFilter.doFilter(PortalContainerFilter.java:69)

        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:233)

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)

        at fr.s2e.web.front.exo.filtre.InputValve.continuerRequete(InputValve.java:182)

        at fr.s2e.web.front.exo.filtre.InputValve.invoke(InputValve.java:161)

        at fr.s2e.web.front.exo.filtre.SecurityValve.invoke(SecurityValve.java:175)

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

        at fr.s2e.web.front.it.noyau.tracestechniques.StuckThreadDetectionValveTest.invoke(StuckThreadDetectionValveTest.java:193)

        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554)

        at fr.s2e.web.front.it.noyau.tracestechniques.S2eLogValve.invoke(S2eLogValve.java:50)

        at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:421)

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)

        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)

        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)

        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)

        at java.lang.Thread.run(Thread.java:662)

      Caused by: javax.portlet.PortletException: Error process faces request

        at javax.portlet.faces.GenericFacesPortlet.doFacesDispatch(GenericFacesPortlet.java:518)

        at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:437)

        at fr.s2e.web.front.portlet.commun.bridge.S2eGenericFacesPortlet.doView(S2eGenericFacesPortlet.java:98)

        at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:354)

        at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:411)

        at javax.portlet.GenericPortlet.render(GenericPortlet.java:259)

        at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerImpl.java:569)

        at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:159)

        at org.exoplatform.platform.common.portlet.PortletDisablerFilter.doFilter(PortletDisablerFilter.java:63)

        at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:159)

        at org.exoplatform.portal.application.ApplicationMonitoringFilter.doFilter(ApplicationMonitoringFilter.java:77)

        at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:159)

        at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:80)

        at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:506)

        at org.gatein.pc.portlet.container.ContainerPortletDispatcher.invoke(ContainerPortletDispatcher.java:42)

        at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:93)

        at org.gatein.pc.portlet.aspects.EventPayloadInterceptor.invoke(EventPayloadInterceptor.java:197)

        at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:93)

        at org.gatein.pc.portlet.aspects.RequestAttributeConversationInterceptor.invoke(RequestAttributeConversationInterceptor.java:119)

        at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:93)

        at org.gatein.pc.portlet.aspects.CCPPInterceptor.invoke(CCPPInterceptor.java:65)

        at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:93)

        at org.gatein.pc.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49)

        at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:93)

        at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:93)

        at org.gatein.pc.portlet.aspects.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:55)

        at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:93)

        at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor.access$001(ContextDispatcherInterceptor.java:49)

        at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor$1.doCallback(ContextDispatcherInterceptor.java:123)

        at org.gatein.wci.command.CommandDispatcher$CallbackCommand.execute(CommandDispatcher.java:82)

        at sun.reflect.GeneratedMethodAccessor253.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.gatein.wci.command.CommandServlet.doGet(CommandServlet.java:135)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)

        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)

        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)

        at org.gatein.wci.command.CommandServlet.include(CommandServlet.java:84)

        at org.gatein.wci.command.CommandDispatcher.include(CommandDispatcher.java:58)

        at org.gatein.wci.tomcat.TC6ServletContainerContext.include(TC6ServletContainerContext.java:99)

        at org.gatein.wci.impl.DefaultServletContainer.include(DefaultServletContainer.java:271)

        at org.gatein.pc.portlet.impl.spi.AbstractServerContext.dispatch(AbstractServerContext.java:69)

        at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:77)

        at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:93)

        at org.gatein.pc.portlet.aspects.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:69)

        at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:93)

        at org.gatein.pc.portlet.aspects.ValveInterceptor.invoke(ValveInterceptor.java:75)

        at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:93)

        at org.gatein.pc.portlet.container.ContainerPortletInvoker.invoke(ContainerPortletInvoker.java:131)

        at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:93)

        at org.gatein.pc.portlet.state.producer.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java:249)

        at org.gatein.pc.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:163)

        at org.gatein.pc.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:244)

        at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:93)

        at org.gatein.pc.portlet.aspects.PortletCustomizationInterceptor.invoke(PortletCustomizationInterceptor.java:76)

        at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:93)

        at org.gatein.pc.portlet.aspects.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.java:165)

        at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:93)

        at org.exoplatform.portal.webui.application.UIPortlet.invoke(UIPortlet.java:1041)

        at org.exoplatform.portal.webui.application.UIPortletLifecycle.processRender(UIPortletLifecycle.java:229)

        ... 230 more

      Caused by: javax.portlet.faces.BridgeException: javax.faces.FacesException: Cannot add the same component twice: pbGp_06c2adc9_2d72c6_2d42b4_2d846f_2d50b4ec8f0153_j_id1:j_idt5:j_idt26

        at org.jboss.portletbridge.bridge.controller.Jsf20ControllerImpl.throwBridgeException(Jsf20ControllerImpl.java:680)

        at org.jboss.portletbridge.bridge.controller.Jsf20ControllerImpl.renderPortletBody(Jsf20ControllerImpl.java:261)

        at org.jboss.portletbridge.PortletBridgeImpl.doFacesRequest(PortletBridgeImpl.java:262)

        at fr.s2e.web.front.portlet.commun.bridge.JSFBridgeFacade.doFacesRequest(JSFBridgeFacade.java:331)

        at javax.portlet.faces.GenericFacesPortlet.doFacesDispatch(GenericFacesPortlet.java:516)

        ... 293 more

      Caused by: javax.faces.FacesException: Cannot add the same component twice: pbGp_06c2adc9_2d72c6_2d42b4_2d846f_2d50b4ec8f0153_j_id1:j_idt5:j_idt26

        at com.sun.faces.context.ExceptionHandlerImpl.handle(ExceptionHandlerImpl.java:139)

        at org.jboss.portletbridge.context.exception.PortletExceptionHandler.handle(PortletExceptionHandler.java:95)

        at fr.s2e.web.front.portlet.commun.jsf.exception.ViewExpiredExceptionExceptionHandler.handle(ViewExpiredExceptionExceptionHandler.java:149)

        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:119)

        at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)

        at org.jboss.portletbridge.bridge.controller.Jsf20ControllerImpl.renderFaces(Jsf20ControllerImpl.java:410)

        at org.jboss.portletbridge.bridge.controller.Jsf20ControllerImpl.renderPortletBody(Jsf20ControllerImpl.java:259)

        ... 296 more

      Caused by: javax.faces.FacesException: Cannot add the same component twice: pbGp_06c2adc9_2d72c6_2d42b4_2d846f_2d50b4ec8f0153_j_id1:j_idt5:j_idt26

        at com.sun.faces.context.StateContext$AddRemoveListener.handleAddRemoveWithAutoPrune(StateContext.java:510)

        at com.sun.faces.context.StateContext$AddRemoveListener.handleAdd(StateContext.java:437)

        at com.sun.faces.context.StateContext$AddRemoveListener.processEvent(StateContext.java:359)

        at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106)

        at com.sun.faces.application.ApplicationImpl.processListenersAccountingForAdds(ApplicationImpl.java:2210)

        at com.sun.faces.application.ApplicationImpl.invokeViewListenersFor(ApplicationImpl.java:2031)

        at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:292)

        at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:247)

        at javax.faces.application.ApplicationWrapper.publishEvent(ApplicationWrapper.java:670)

        at javax.faces.application.ApplicationWrapper.publishEvent(ApplicationWrapper.java:670)

        at javax.faces.component.UIComponentBase.publishAfterViewEvents(UIComponentBase.java:2207)

        at javax.faces.component.UIComponentBase.doPostAddProcessing(UIComponentBase.java:1889)

        at javax.faces.component.UIComponentBase.setParent(UIComponentBase.java:406)

        at javax.faces.component.UIComponentBase$ChildrenList.add(UIComponentBase.java:2641)

        at javax.faces.component.UIComponentBase$ChildrenList.add(UIComponentBase.java:2613)

        at com.sun.faces.facelets.tag.jsf.ComponentSupport.addComponent(ComponentSupport.java:417)

        at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.addComponentToView(ComponentTagHandlerDelegateImpl.java:299)

        at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:199)

        at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)

        at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)

        at org.richfaces.view.facelets.html.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)

        at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)

        at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)

        at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)

        at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)

        at org.richfaces.view.facelets.html.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)

        at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)

        at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)

        at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)

        at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)

        at org.richfaces.view.facelets.html.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)

        at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)

        at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)

        at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)

        at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)

        at org.richfaces.view.facelets.html.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)

        at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)

        at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)

        at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)

        at org.richfaces.view.facelets.html.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)

        at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)

        at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)

        at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)

        at com.sun.faces.facelets.tag.ui.DefineHandler.applyDefinition(DefineHandler.java:106)

        at com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:178)

        at com.sun.faces.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:395)

        at com.sun.faces.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:366)

        at com.sun.faces.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:111)

        at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)

        at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)

        at org.richfaces.view.facelets.html.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)

        at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)

        at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)

        at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)

        at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)

        at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)

        at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:320)

        at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:379)

        at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:358)

        at com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)

        at com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:155)

        at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)

        at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)

        at com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:164)

        at com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:902)

        at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:99)

        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)

        ... 299 more

      I have downgraded the PortletBridge back to 3.1.2.Final and keeped RichFaces and JSF to their ugraded versions and the error is gone.

      Looks like the JIRA [PBR-423] Error Rendering View[/index.xhtml]: javax.faces.FacesException: Cannot remove the same component twice - JBoss… is back in version 3.2.1.Final (seems to happen after redirection)