Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-9819

Fix publication when quota addon is installed

    XMLWordPrintable

    Details

      Description

      Step to reproduce:

      • install "document count" addon (aka quota plugins)
      • browse to a document, then to Publish tab
      • choose a section and publish
        => an error is displayed with the following stacktrace
      ERROR [nuxeo-error-log] javax.servlet.ServletException: /incl/tabs/document_publish_template.xhtml @56,54 nodes="#{node.childrenNodes}": Error reading 'childrenNodes' on type org.nuxeo.ecm.platform.publisher.impl.service.ProxyTree
      	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
      	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.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.rest.FancyURLFilter.doFilter(FancyURLFilter.java:131)
      	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:114)
      	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.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter.doFilterInternal(NuxeoAuthenticationFilter.java:548)
      	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:116)
      	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:349)
      	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:219)
      	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.valves.RequestDumperValve.invoke(RequestDumperValve.java:151)
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
      	at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859)
      	at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:574)
      	at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1527)
      	at java.lang.Thread.run(Thread.java:679)
      Caused by: javax.el.ELException: /incl/tabs/document_publish_template.xhtml @56,54 nodes="#{node.childrenNodes}": Error reading 'childrenNodes' on type org.nuxeo.ecm.platform.publisher.impl.service.ProxyTree
      	at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:76)
      	at org.richfaces.component.html.HtmlRecursiveTreeNodesAdaptor.getNodes(HtmlRecursiveTreeNodesAdaptor.java:160)
      	at org.richfaces.component.UIRecursiveTreeNodesAdaptor$1.getData(UIRecursiveTreeNodesAdaptor.java:74)
      	at org.richfaces.model.StackingTreeModel.getDataModel(StackingTreeModel.java:80)
      	at org.richfaces.model.StackingTreeModel.setupModel(StackingTreeModel.java:219)
      	at org.richfaces.model.StackingTreeModel.doSetupKey(StackingTreeModel.java:143)
      	at org.richfaces.model.StackingTreeModel.doSetupKey(StackingTreeModel.java:170)
      	at org.richfaces.model.StackingTreeModel.doSetupKey(StackingTreeModel.java:170)
      	at org.richfaces.model.StackingTreeModel.setupKey(StackingTreeModel.java:191)
      	at org.richfaces.model.StackingTreeModel.setRowKey(StackingTreeModel.java:497)
      	at org.richfaces.model.StackingTreeModel.setRowKey(StackingTreeModel.java:493)
      	at org.ajax4jsf.component.UIDataAdaptor.setRowKey(UIDataAdaptor.java:351)
      	at org.ajax4jsf.component.UIDataAdaptor.broadcast(UIDataAdaptor.java:1361)
      	at org.richfaces.component.UITree.broadcast(UITree.java:586)
      	at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:321)
      	at org.ajax4jsf.component.AjaxViewRoot.broadcastAjaxEvents(AjaxViewRoot.java:340)
      	at org.ajax4jsf.application.AjaxViewHandler.processAjaxEvents(AjaxViewHandler.java:216)
      	at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:169)
      	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)
      	... 55 more
      Caused by: org.nuxeo.ecm.core.api.ClientException: Calling getChildrenNodes on a closed tree
      	at org.nuxeo.ecm.platform.publisher.impl.service.PublisherServiceImpl.getChildrenNodes(PublisherServiceImpl.java:475)
      	at org.nuxeo.ecm.platform.publisher.impl.service.AbstractRemotableNode.getChildrenNodes(AbstractRemotableNode.java:89)
      	at org.nuxeo.ecm.platform.publisher.impl.service.ProxyTree.getChildrenNodes(ProxyTree.java:152)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:616)
      	at javax.el.BeanELResolver.getValue(BeanELResolver.java:62)
      	at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)
      	at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
      	at org.jboss.el.parser.AstPropertySuffix.getValue(AstPropertySuffix.java:53)
      	at org.jboss.el.parser.AstValue.getValue(AstValue.java:67)
      	at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
      	at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
      	... 77 more
      

        Attachments

          Activity

            People

            • Assignee:
              tmartins Thierry Martins
              Reporter:
              tmartins Thierry Martins
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: