java.lang.IllegalStateException: duplicate Id for a component

Hello,

I have a plug in that I have used in nuxeo 5.4.1 and 5.4.2 now I want to use it with the 5.5 version, I already tried it and so far the plug in works exactly as it worked on the previous versions, basically my plug in add the feature to generate some reports and insert those reports into a specific location inside a domain.

I was testing the plug in in the new version and also checking the new nuxeo features, and here is where I found a problem. When I go to the “Home” section, and then I go to the “Network” option , I get an Error, This is the error that I see in my log file:

12:53:06,567 ERROR [viewhandler] Error Rendering View[/view_home.xhtml]
java.lang.IllegalStateException: duplicate Id for a component relationshipNetworkView:contentViewLayoutSelectForm_
        at org.ajax4jsf.application.TreeStructureNode.apply(TreeStructureNode.java:68)
        at org.ajax4jsf.application.TreeStructureNode.apply(TreeStructureNode.java:92)
        at org.ajax4jsf.application.TreeStructureNode.apply(TreeStructureNode.java:92)
        at org.ajax4jsf.application.TreeStructureNode.apply(TreeStructureNode.java:92)
        at org.ajax4jsf.application.TreeStructureNode.apply(TreeStructureNode.java:92)
        at org.ajax4jsf.application.TreeStructureNode.apply(TreeStructureNode.java:92)
        at org.ajax4jsf.application.TreeStructureNode.apply(TreeStructureNode.java:92)
        at org.ajax4jsf.application.TreeStructureNode.apply(TreeStructureNode.java:92)
        at org.ajax4jsf.application.TreeStructureNode.apply(TreeStructureNode.java:92)
        at org.ajax4jsf.application.TreeStructureNode.apply(TreeStructureNode.java:92)
        at org.ajax4jsf.application.TreeStructureNode.apply(TreeStructureNode.java:92)
        at org.ajax4jsf.application.TreeStructureNode.apply(TreeStructureNode.java:92)
        at org.ajax4jsf.application.TreeStructureNode.apply(TreeStructureNode.java:92)
        at org.ajax4jsf.application.TreeStructureNode.apply(TreeStructureNode.java:92)
        at org.ajax4jsf.application.AjaxStateManager.getTreeStructureToSave(AjaxStateManager.java:187)
        at org.ajax4jsf.application.AjaxStateManager.buildViewState(AjaxStateManager.java:498)
        at org.ajax4jsf.application.AjaxStateManager$SeamStateManagerWrapper.saveView(AjaxStateManager.java:105)
        at org.jboss.seam.jsf.SeamStateManager.saveView(SeamStateManager.java:89)
        at org.ajax4jsf.application.AjaxStateManager.saveSerializedView(AjaxStateManager.java:454)
        at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:615)
        at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
        at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
        at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
        at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
        at org.nuxeo.ecm.platform.ui.web.lifecycle.NuxeoLifeCycleImpl.render(NuxeoLifeCycleImpl.java:98)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.nuxeo.wss.servlet.BaseWSSFilter.doFilter(BaseWSSFilter.java:135)
        at org.nuxeo.wss.servlet.FailSafeWSSFilter.doFilter(FailSafeWSSFilter.java:55)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
        at org.nuxeo.ecm.platform.ui.web.multipart.MultipartFilter.doFilter(MultipartFilter.java:73)
        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
        at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
        at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
        at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
        at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
        at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)
        at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)
        at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
        at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:51)
        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
        at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter.doFilterInternal(NuxeoAuthenticationFilter.java:362)
        at org.nuxeo.ecm.platform.ui.web.auth.service.NuxeoAuthFilterChain.doFilter(NuxeoAuthFilterChain.java:35)
        at org.nuxeo.ecm.platform.ui.web.auth.oauth.NuxeoOAuthFilter.doFilter(NuxeoOAuthFilter.java:167)
        at org.nuxeo.ecm.platform.ui.web.auth.service.NuxeoAuthFilterChain.doFilter(NuxeoAuthFilterChain.java:33)
        at org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter.doFilter(NuxeoAuthenticationFilter.java:340)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.nuxeo.ecm.platform.web.common.exceptionhandling.NuxeoExceptionFilter.doFilter(NuxeoExceptionFilter.java:79)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.nuxeo.ecm.platform.web.common.encoding.NuxeoEncodingFilter.doFilter(NuxeoEncodingFilter.java:59)
        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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
        at org.nuxeo.ecm.platform.ui.web.rest.FancyURLFilter.doFilter(FancyURLFilter.java:123)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter.doFilterInternal(NuxeoAuthenticationFilter.java:518)
        at org.nuxeo.ecm.platform.ui.web.auth.service.NuxeoAuthFilterChain.doFilter(NuxeoAuthFilterChain.java:35)
        at org.nuxeo.ecm.platform.ui.web.auth.oauth.NuxeoOAuthFilter.doFilter(NuxeoOAuthFilter.java:167)
        at org.nuxeo.ecm.platform.ui.web.auth.service.NuxeoAuthFilterChain.doFilter(NuxeoAuthFilterChain.java:33)
        at org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter.doFilter(NuxeoAuthenticationFilter.java:340)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.nuxeo.ecm.platform.wi.filter.WIRequestFilter.doFilter(WIRequestFilter.java:120)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.nuxeo.ecm.platform.web.common.requestcontroller.filter.NuxeoRequestControllerFilter.doFilter(NuxeoRequestControllerFilter.java:141)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.nuxeo.platform.login.web.LoginStackCleaner.doFilter(LoginStackCleaner.java:49)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.nuxeo.ecm.platform.web.common.exceptionhandling.NuxeoExceptionFilter.doFilter(NuxeoExceptionFilter.java:79)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.nuxeo.ecm.platform.web.common.encoding.NuxeoEncodingFilter.doFilter(NuxeoEncodingFilter.java:59)
        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.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
        at java.lang.Thread.run(Thread.java:619)
12:53:06,571 ERROR [lifecycle] jsf.lifecycle.phase.exceptionMar 26, 2012 12:53:06 PM com.sun.facelets.FaceletViewHandler handleRenderException

I have done some research on internet , and so far I know that this error could be generated (I am not 100% sure if this could be the problem) because the scope (session, request , etc) of one component.

When the component is bound, there is a single instance of that component set on the bean. If the bean is in session scope, then the component is not created again the next time it is used in the same session. If the component is used in a different view of the same page, there will be two different JSF component trees with the same instance of the bound component. That's when the 'duplicate id' error arises.

In my application structure I have a deployment-fragment.xml file and I specify my beans's scope:

<managed-bean>
  <managed-bean-name>reportCreator</managed-bean-name>
  <managed-bean-class>com.tttt.nuxeo.ReportCreatorBean </managed-bean-class>
  <managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<managed-bean>
  <managed-bean-name>schedulerCheck</managed-bean-name>
  <managed-bean-class>com.tttt.nuxeo.SchedulerBean</managed-bean-class>
  <managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<managed-bean>
   <managed-bean-name>permissions</managed-bean-name>
   <managed-bean-class>com.tttt.nuxeo.PermissionsBean</managed-bean-class>
   <managed-bean-scope>request</managed-bean-scope>
</managed-bean>

My plug in is not linked at all with the Network feature, so I have not idea what could be generating this error. Does anyone has an idea what the problem could be? How could I do a better debug to find the root of this problem?

Thanks in advance

0 votes

0 answers

3025 views

ANSWER

if your plugin is not linked to this failure, please give us a use case to reproduce this error on a stock Nuxeo. Then we will investigate to fix it.
03/28/2012

My plug in does not use the nuxeo's network feature at all, my plug in displays a button when we are inside a domain/section/folder, when I click the button I display a custom page (it is part of my plug in) where I have to fill out some forms, based on the information that I submitted a report in pdf is generated and saved inside the folder as a file. I have used this plug in some past nuxeo versions without a ploblem. The new 5.5 version works fine without my plug in, including the network feature, but as soon as I put my plug in, the network feature doesn't work. These are the steps that I follow: -put my plugin (jar file ) into nxserver/plugins -star up nuxeo server -log in -go to "Home" -go to "Network" I get the Error that I posted in my original question. I can follow other steps , like go to "DAM" or "Document Managment" and generate a report, or go to any other combination of places and actions, everything works fine, but as soon as I do "Home","Network" I get the error. After the Network error, I get a HTTP Status 500 - page in my web browser, so I click on back button, this action returns me to the "Home" page

From this point two different things can happen, one of them is the entire system works fine and I can go to any menu any place in nuxeo(just not to Network) and execute any other task, including my plug in feature.

OR the entire system doesn't work and I have to shut down nuxeo server and restart it.

Once I returned to the "Home" page, if I do click on the "Home" button it will display another HTTP Status 500 page. These are the log messages that I get from when I click on the back button in my Web browser to be in the "Home" page again to click again the "Home" button:

org.nuxeo.theme.negotiation.result.theme : userCenter/default org.nuxeo.theme.negotiation.result.perspective : default org.jboss.seam.transaction.synchronizations : org.jboss.seam.transaction.SeSynchronizations@c66122 com.sun.faces.FORM_HAS_COMMAND_LINK_ATTR : com.sun.faces.NO_COMMAND_LINK_FOUND org.nuxeo.theme.negotiation.result.engine : default org.jboss.seam.core.conversationPropagation : org.jboss.seam.core.ConversationPropagation@132588 tfmxPermissions.showDashboardButton : facelets.Encoding : UTF-8 org.apache.myfaces.SCROLL_HIDDEN_INPUT_relationshipNetworkView:contentViewLayoutSelectForm : true org.nuxeo.theme.default.perspective : default org.apache.myfaces.SCROLL_HIDDEN_INPUT_relationshipNetworkView:j_id185 : true currentServerLocation : org.nuxeo.ecm.platform.util.RepositoryLocation@5c13d641 currentUserCenterView : relationship_network user_message : an unexpected error occurred nuxeo.force.url.encoding : true restHelper : org.nuxeo.ecm.platform.ui.web.rest.RestHelper@105173f org.apache.myfaces.SCROLL_HIDDEN_INPUT_relationshipNetworkView:contentViewGlobalPageSizeFrom : true NuxeoExceptionHandlerMarker : true org.jboss.seam.transaction.transaction : org.jboss.seam.transaction.Transaction@1394344

15:14:54,705 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception java.lang.UnsupportedOperationException

    at org.jboss.seam.mock.MockApplication.getELContextListeners(MockApplication.java:94)
    at com.sun.faces.el.ELContextListenerImpl.contextCreated(ELContextListenerImpl.java:70)
    at org.apache.jasper.runtime.JspApplicationContextImpl.createELContext(JspApplicationContextImpl.java:98)
    at org.apache.jasper.runtime.PageContextImpl.getELContext(PageContextImpl.java:946)
    at org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:932)
    at org.apache.jsp.nuxeo_005ferror_jsp._jspx_meth_fmt_005fmessage_005f0(nuxeo_005ferror_jsp.java:266)
    at org.apache.jsp.nuxeo_005ferror_jsp._jspService(nuxeo_005ferror_jsp.java:189)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
    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.nuxeo.wss.servlet.BaseWSSFilter.doFilter(BaseWSSFilter.java:135)
03/28/2012

at org.nuxeo.ecm.platform.web.common.encoding.NuxeoEncodingFilter.doFilter(NuxeoEncodingFilter.java:59)

    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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
    at org.nuxeo.ecm.platform.web.common.exceptionhandling.DefaultNuxeoExceptionHandler.handleException(DefaultNuxeoExceptionHandler.java:125)
    at org.nuxeo.ecm.platform.web.common.exceptionhandling.NuxeoSecurityExceptionHandler.handleException(NuxeoSecurityExceptionHandler.java:62)
    at org.nuxeo.ecm.platform.web.common.exceptionhandling.NuxeoExceptionFilter.handleException(NuxeoExceptionFilter.java:73)
    at org.nuxeo.ecm.platform.web.common.exceptionhandling.NuxeoExceptionFilter.doFilter(NuxeoExceptionFilter.java:82)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.nuxeo.ecm.platform.web.common.encoding.NuxeoEncodingFilter.doFilter(NuxeoEncodingFilter.java:59)
    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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
    at org.nuxeo.ecm.platform.ui.web.rest.FancyURLFilter.doFilter(FancyURLFilter.java:123)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter.doFilterInternal(NuxeoAuthenticationFilter.java:518)
    at org.nuxeo.ecm.platform.ui.web.auth.service.NuxeoAuthFilterChain.doFilter(NuxeoAuthFilterChain.java:35)
    at org.nuxeo.ecm.platform.ui.web.auth.oauth.NuxeoOAuthFilter.doFilter(NuxeoOAuthFilter.java:167)
    at org.nuxeo.ecm.platform.ui.web.auth.service.NuxeoAuthFilterChain.doFilter(NuxeoAuthFilterChain.java:33)
    at org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter.doFilter(NuxeoAuthenticationFilter.java:340)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.nuxeo.ecm.platform.wi.filter.WIRequestFilter.doFilter(WIRequestFilter.java:120)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.nuxeo.ecm.platform.web.common.requestcontroller.filter.NuxeoRequestControllerFilter.doFilter(NuxeoRequestControllerFilter.java:141)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.nuxeo.platform.login.web.LoginStackCleaner.doFilter(LoginStackCleaner.java:49)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.nuxeo.ecm.platform.web.common.exceptionhandling.NuxeoExceptionFilter.doFilter(NuxeoExceptionFilter.java:79)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.nuxeo.ecm.platform.web.common.encoding.NuxeoEncodingFilter.doFilter(NuxeoEncodingFilter.java:59)
    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.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
    at java.lang.Thread.run(Thread.java:619)
03/28/2012

From this point the "Home" page is unreachable , once I get this error I need to click the back button in my web browser, but I don' return to "Home" page, this time I will return to a random place, it can be the "DAM" page or the "Content Managment" page or any other, and every time I try to get to the "Home" i get the same error, I need to log out and log in to return to the normality.

In the worst case, once I do, Home, Newtork (get first error), click back button in the web browser, Home(get second error), click back button in the web browser, try to log out (another error):

15:45:45,653 ERROR [[/nuxeo]] Session event listener threw exception java.lang.IllegalStateException: Please end the HttpSession via org.jboss.seam.web.Session.instance().invalidate()

    at org.jboss.seam.contexts.Lifecycle.endSession(Lifecycle.java:221)
    at org.jboss.seam.contexts.ServletLifecycle.endSession(ServletLifecycle.java:146)
    at org.jboss.seam.servlet.SeamListener.sessionDestroyed(SeamListener.java:49)
    at org.apache.catalina.session.StandardSession.expire(StandardSession.java:702)
    at org.apache.catalina.session.StandardSession.expire(StandardSession.java:660)
    at org.apache.catalina.session.StandardSession.invalidate(StandardSession.java:1113)
    at org.apache.catalina.session.StandardSessionFacade.invalidate(StandardSessionFacade.java:150)
    at org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService.invalidateSession(PluggableAuthenticationService.java:364)

15:45:45,694 ERROR [[/nuxeo]] Session event listener threw exception org.jboss.seam.InstantiationException: Could not instantiate Seam component: org.jboss.seam.security.identity

    at org.jboss.seam.Component.newInstance(Component.java:2096)
    at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
    at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
    at org.jboss.seam.contexts.Lifecycle.beginSession(Lifecycle.java:191)
    at org.jboss.seam.contexts.ServletLifecycle.beginSession(ServletLifecycle.java:141)
    at org.jboss.seam.servlet.SeamListener.sessionCreated(SeamListener.java:44)
    at org.apache.catalina.session.StandardSession.tellNew(StandardSession.java:397)
    at org.apache.catalina.session.StandardSession.setId(StandardSession.java:369)
    at org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:827)
    at org.apache.catalina.session.StandardManager.createSession(StandardManager.java:291)
    at org.apache.catalina.connector.Request.doGetSession(Request.java:2324)
    at org.apache.catalina.connector.Request.getSession(Request.java:2074)
    at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:833)

Caused by: java.lang.IllegalStateException: getAttribute: Session already invalidated

    at org.apache.catalina.session.StandardSession.getAttribute(StandardSession.java:1032)
    at org.apache.catalina.session.StandardSessionFacade.getAttribute(StandardSessionFacade.java:110)
    at org.jboss.seam.mock.MockExternalContext$3.getAttribute(MockExternalContext.java:364)
    at org.jboss.seam.mock.MockExternalContext$AttributeMap.get(MockExternalContext.java:388)
    at org.jboss.seam.contexts.ServerConversationContext.get(ServerConversationContext.java:103)
    at org.jboss.seam.contexts.Contexts.lookupInStatefulContexts(Contexts.java:189)
    at org.jboss.seam.Component.getInstance(Component.java:1939)
    at org.jboss.seam.Component.getInstance(Component.java:1934)
    at org.jboss.seam.Component.getInstance(Component.java:1914)
    at org.jboss.seam.Component.getInstance(Component.java:1909)
    at org.jboss.seam.security.Identity.create(Identity.java:101)
    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.jboss.seam.util.Reflections.invoke(Reflections.java:22)
    at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:138)
    at org.jboss.seam.Component.callComponentMethod(Component.java:2201)
    at org.jboss.seam.Component.callCreateMethod(Component.java:2124)
    at org.jboss.seam.Component.newInstance(Component.java:2084)

15:45:45,735 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception java.lang.IllegalStateException: getAttributeNames: Session already invalidated

    at org.apache.catalina.session.StandardSession.getAttributeNames(StandardSession.java:1052)
    at org.apache.catalina.session.StandardSessionFacade.getAttributeNames(StandardSessionFacade.java:120)
    at org.jboss.seam.mock.MockExternalContext$3.keys(MockExternalContext.java:358)
    at org.jboss.seam.mock.MockExternalContext$AttributeMap$1.iterator(MockExternalContext.java:447)
    at org.jboss.seam.contexts.ServerConversationContext.getNamesFromSession(ServerConversationContext.java:205)
    at org.jboss.seam.contexts.ServerConversationContext.getNames(ServerConversationContext.java:195)
    at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:241)
    at org.jboss.seam.contexts.Contexts.flushAndDestroyContexts(Contexts.java:363)
    at org.jboss.seam.contexts.Lifecycle.endRequest(Lifecycle.java:136)
03/28/2012