Uploaded image for project: 'User Directory'
  1. User Directory
  2. UD-170

Error call UserXSLTHelper.getUserPage when there is no more root page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.1.10, 2.2.0
    • 2.2.0
    • None
    • 4.2 RC2

      Date:			Fri Apr 12 12:04:13 CEST 2019 (1555063453874)
      Thread:		http-nio-9121-exec-3
      Message #:	8446
      Level:		ERROR
      NDC:			
      Category:	sitemap.handled-errors
      Message:		Failed to process pipeline
      	at [TransformerException] - file:/D:/Dev/Sources/SigmaClermont_cms/web/skins/intranet/stylesheets/main.xsl:53:80
      	at [TransformerException] - resource://org/ametys/workspaces/web/stylesheets/wrapper.xsl:35:78
      	at [TransformerException] - resource://org/ametys/workspaces/web/stylesheets/wrapper.xsl:70:76
      	at <map:serialize type="xhtml"> - resource://org/ametys/workspaces/web/sitemap.xmap:1510:34
      	at <map:transform type="minimizer-front"> - resource://org/ametys/workspaces/web/sitemap.xmap:1509:56
      	at <map:transform type="i18n"> - resource://org/ametys/workspaces/web/sitemap.xmap:1506:32
      	at <map:transform> - resource://org/ametys/workspaces/web/sitemap.xmap:1505:48
      	at <map:mount> - resource://org/ametys/runtime/kernel/sitemap.xmap:182:109
      Location:	org.apache.cocoon.util.log.SLF4JLoggerAdapter.error(SLF4JLoggerAdapter.java:46)
      Thrown:
      org.apache.cocoon.ProcessingException: Failed to process pipeline
      	at [TransformerException] - file:/D:/Dev/Sources/SigmaClermont_cms/web/skins/intranet/stylesheets/main.xsl:53:80
      	at [TransformerException] - resource://org/ametys/workspaces/web/stylesheets/wrapper.xsl:35:78
      	at [TransformerException] - resource://org/ametys/workspaces/web/stylesheets/wrapper.xsl:70:76
      	at <map:serialize type="xhtml"> - resource://org/ametys/workspaces/web/sitemap.xmap:1510:34
      	at <map:transform type="minimizer-front"> - resource://org/ametys/workspaces/web/sitemap.xmap:1509:56
      	at <map:transform type="i18n"> - resource://org/ametys/workspaces/web/sitemap.xmap:1506:32
      	at <map:transform> - resource://org/ametys/workspaces/web/sitemap.xmap:1505:48
      	at <map:mount> - resource://org/ametys/runtime/kernel/sitemap.xmap:182:109
      	at org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.java:145)
      	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.handleException(AbstractProcessingPipeline.java:955)
      	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:585)
      	at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:301)
      	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:483)
      	at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:144)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
      	at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      	at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      	at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
      	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236)
      	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:178)
      	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
      	at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
      	at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      	at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      	at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
      	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236)
      	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:178)
      	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
      	at org.apache.cocoon.Cocoon.process(Cocoon.java:699)
      	at org.ametys.runtime.servlet.RuntimeServlet.service(RuntimeServlet.java:548)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
      	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624)
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
      	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799)
      	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
      	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:861)
      	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)
      	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: org.apache.commons.lang.exception.NestableRuntimeException: javax.xml.transform.TransformerException: org.ametys.plugins.repository.UnknownAmetysObjectException: There's no node for id page://b0449e40-f028-4bee-8512-3cb5ad3ae177
      	at org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:604)
      	at org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.java:133)
      	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:581)
      	... 46 more
      Caused by: javax.xml.transform.TransformerException: org.ametys.plugins.repository.UnknownAmetysObjectException: There's no node for id page://b0449e40-f028-4bee-8512-3cb5ad3ae177
      	at org.apache.xpath.XPath.execute(XPath.java:365)
      	at org.apache.xalan.templates.ElemCopyOf.execute(ElemCopyOf.java:134)
      	at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2402)
      	at org.apache.xalan.transformer.TransformerImpl.transformToRTF(TransformerImpl.java:1990)
      	at org.apache.xalan.transformer.TransformerImpl.transformToRTF(TransformerImpl.java:1912)
      	at org.apache.xalan.templates.ElemVariable.getValue(ElemVariable.java:312)
      	at org.apache.xalan.templates.ElemVariable.execute(ElemVariable.java:248)
      	at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2402)
      	at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1376)
      	at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2402)
      	at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1376)
      	at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2402)
      	at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2272)
      	at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1358)
      	at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3449)
      	at org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:408)
      	at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:56)
      	at org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:586)
      	... 48 more
      Caused by: javax.xml.transform.TransformerException: org.ametys.plugins.repository.UnknownAmetysObjectException: There's no node for id page://b0449e40-f028-4bee-8512-3cb5ad3ae177
      	at org.apache.xpath.XPath.execute(XPath.java:365)
      	at org.apache.xalan.templates.AVTPartXPath.evaluate(AVTPartXPath.java:135)
      	at org.apache.xalan.templates.AVT.evaluate(AVT.java:499)
      	at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1353)
      	at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2402)
      	at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1376)
      	at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2402)
      	at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1376)
      	at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2402)
      	at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1376)
      	at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2402)
      	at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1376)
      	at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2402)
      	at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1376)
      	at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2402)
      	at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1376)
      	at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2402)
      	at org.apache.xalan.templates.ElemTemplate.execute(ElemTemplate.java:394)
      	at org.apache.xalan.templates.ElemCallTemplate.execute(ElemCallTemplate.java:248)
      	at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2402)
      	at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1376)
      	at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2402)
      	at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1376)
      	at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2402)
      	at org.apache.xalan.templates.ElemTemplate.execute(ElemTemplate.java:394)
      	at org.apache.xalan.templates.ElemCallTemplate.execute(ElemCallTemplate.java:248)
      	at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2402)
      	at org.apache.xalan.transformer.TransformerImpl.transformToRTF(TransformerImpl.java:1990)
      	at org.apache.xalan.transformer.TransformerImpl.transformToGlobalRTF(TransformerImpl.java:1935)
      	at org.apache.xalan.templates.ElemVariable.getValue(ElemVariable.java:310)
      	at org.apache.xalan.templates.XUnresolvedVariable.execute(XUnresolvedVariable.java:126)
      	at org.apache.xpath.VariableStack.getGlobalVariable(VariableStack.java:479)
      	at org.apache.xpath.operations.Variable.execute(Variable.java:214)
      	at org.apache.xpath.operations.Variable.execute(Variable.java:188)
      	at org.apache.xpath.functions.FuncExtFunction.execute(FuncExtFunction.java:199)
      	at org.apache.xpath.XPath.execute(XPath.java:337)
      	at org.apache.xalan.templates.ElemVariable.getValue(ElemVariable.java:280)
      	at org.apache.xalan.templates.XUnresolvedVariable.execute(XUnresolvedVariable.java:126)
      	at org.apache.xpath.VariableStack.getGlobalVariable(VariableStack.java:479)
      	at org.apache.xpath.operations.Variable.execute(Variable.java:214)
      	at org.apache.xpath.operations.Variable.execute(Variable.java:188)
      	at org.apache.xpath.axes.FilterExprIteratorSimple.executeFilterExpr(FilterExprIteratorSimple.java:116)
      	at org.apache.xpath.axes.FilterExprWalker.setRoot(FilterExprWalker.java:131)
      	at org.apache.xpath.axes.WalkingIterator.setRoot(WalkingIterator.java:157)
      	at org.apache.xpath.axes.NodeSequence.setRoot(NodeSequence.java:265)
      	at org.apache.xpath.axes.LocPathIterator.execute(LocPathIterator.java:212)
      	at org.apache.xpath.XPath.execute(XPath.java:337)
      	... 65 more
      Caused by: javax.xml.transform.TransformerException: org.ametys.plugins.repository.UnknownAmetysObjectException: There's no node for id page://b0449e40-f028-4bee-8512-3cb5ad3ae177
      	at org.apache.xalan.extensions.ExtensionHandlerJavaClass.callFunction(ExtensionHandlerJavaClass.java:417)
      	at org.apache.xalan.extensions.ExtensionHandlerJavaClass.callFunction(ExtensionHandlerJavaClass.java:440)
      	at org.apache.xalan.extensions.ExtensionsTable.extFunction(ExtensionsTable.java:222)
      	at org.apache.xalan.transformer.TransformerImpl.extFunction(TransformerImpl.java:475)
      	at org.apache.xpath.functions.FuncExtFunction.execute(FuncExtFunction.java:208)
      	at org.apache.xpath.XPath.execute(XPath.java:337)
      	at org.apache.xalan.templates.ElemVariable.getValue(ElemVariable.java:280)
      	at org.apache.xalan.templates.ElemVariable.execute(ElemVariable.java:248)
      	at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2402)
      	at org.apache.xalan.templates.ElemTemplate.execute(ElemTemplate.java:394)
      	at org.apache.xalan.templates.ElemCallTemplate.execute(ElemCallTemplate.java:248)
      	at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2402)
      	at org.apache.xalan.transformer.TransformerImpl.transformToRTF(TransformerImpl.java:1990)
      	at org.apache.xalan.transformer.TransformerImpl.transformToGlobalRTF(TransformerImpl.java:1935)
      	at org.apache.xalan.templates.ElemVariable.getValue(ElemVariable.java:310)
      	at org.apache.xalan.templates.XUnresolvedVariable.execute(XUnresolvedVariable.java:126)
      	at org.apache.xpath.VariableStack.getGlobalVariable(VariableStack.java:479)
      	at org.apache.xpath.operations.Variable.execute(Variable.java:214)
      	at org.apache.xpath.operations.Variable.execute(Variable.java:188)
      	at org.apache.xpath.functions.FuncExtFunction.execute(FuncExtFunction.java:199)
      	at org.apache.xpath.XPath.execute(XPath.java:337)
      	at org.apache.xalan.templates.ElemVariable.getValue(ElemVariable.java:280)
      	at org.apache.xalan.templates.XUnresolvedVariable.execute(XUnresolvedVariable.java:126)
      	at org.apache.xpath.VariableStack.getGlobalVariable(VariableStack.java:479)
      	at org.apache.xpath.operations.Variable.execute(Variable.java:214)
      	at org.apache.xpath.operations.Variable.execute(Variable.java:188)
      	at org.apache.xpath.axes.FilterExprIteratorSimple.executeFilterExpr(FilterExprIteratorSimple.java:116)
      	at org.apache.xpath.axes.FilterExprWalker.setRoot(FilterExprWalker.java:131)
      	at org.apache.xpath.axes.WalkingIterator.setRoot(WalkingIterator.java:157)
      	at org.apache.xpath.axes.NodeSequence.setRoot(NodeSequence.java:265)
      	at org.apache.xpath.axes.LocPathIterator.execute(LocPathIterator.java:212)
      	at org.apache.xpath.XPath.execute(XPath.java:337)
      	... 111 more
      Caused by: org.ametys.plugins.repository.UnknownAmetysObjectException: There's no node for id page://b0449e40-f028-4bee-8512-3cb5ad3ae177
      	at org.ametys.plugins.repository.jcr.SimpleAmetysObjectFactory.getNode(SimpleAmetysObjectFactory.java:187)
      	at org.ametys.plugins.repository.jcr.SimpleAmetysObjectFactory.getAmetysObjectById(SimpleAmetysObjectFactory.java:137)
      	at org.ametys.plugins.repository.jcr.SimpleAmetysObjectFactory.getAmetysObjectById(SimpleAmetysObjectFactory.java:126)
      	at org.ametys.plugins.repository.jcr.SimpleAmetysObjectFactory.getAmetysObjectById(SimpleAmetysObjectFactory.java:58)
      	at org.ametys.plugins.repository.AmetysObjectResolver.resolveById(AmetysObjectResolver.java:310)
      	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
      	at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1553)
      	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
      	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
      	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
      	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
      	at org.ametys.plugins.userdirectory.UserDirectoryPageHandler.getUserDirectoryRootPages(UserDirectoryPageHandler.java:197)
      	at org.ametys.plugins.userdirectory.UserDirectoryPageHandler.getUserDirectoryRootPage(UserDirectoryPageHandler.java:143)
      	at org.ametys.plugins.userdirectory.page.UserDirectoryPageResolver.getUserPage(UserDirectoryPageResolver.java:66)
      	at org.ametys.plugins.userdirectory.transformation.xslt.UserXSLTHelper.getUserPage(UserXSLTHelper.java:149)
      	at sun.reflect.GeneratedMethodAccessor129.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.apache.xalan.extensions.ExtensionHandlerJavaClass.callFunction(ExtensionHandlerJavaClass.java:367)
      	... 142 more
      Caused by: javax.jcr.ItemNotFoundException: b0449e40-f028-4bee-8512-3cb5ad3ae177
      	at org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:384)
      	at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:328)
      	at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:621)
      	at org.apache.jackrabbit.core.SessionImpl.getNodeById(SessionImpl.java:538)
      	at org.apache.jackrabbit.core.SessionImpl.getNodeByIdentifier(SessionImpl.java:1142)
      	at org.ametys.plugins.repository.jcr.SimpleAmetysObjectFactory.getNode(SimpleAmetysObjectFactory.java:176)
      	... 161 more
      Caused by: org.apache.jackrabbit.core.state.NoSuchItemStateException: b0449e40-f028-4bee-8512-3cb5ad3ae177
      	at org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(SharedItemStateManager.java:290)
      	at org.apache.jackrabbit.core.state.LocalItemStateManager.getNodeState(LocalItemStateManager.java:110)
      	at org.apache.jackrabbit.core.state.LocalItemStateManager.getItemState(LocalItemStateManager.java:175)
      	at org.apache.jackrabbit.core.state.XAItemStateManager.getItemState(XAItemStateManager.java:260)
      	at org.apache.jackrabbit.core.state.SessionItemStateManager.getItemState(SessionItemStateManager.java:161)
      	at org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:382)
      	... 166 more
      Caused by: org.apache.jackrabbit.core.state.NoSuchItemStateException: b0449e40-f028-4bee-8512-3cb5ad3ae177
      	at org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.load(AbstractBundlePersistenceManager.java:492)
      	at org.ametys.plugins.repository.provider.AmetysPersistenceManager.load(AmetysPersistenceManager.java:192)
      	at org.apache.jackrabbit.core.state.SharedItemStateManager.loadItemState(SharedItemStateManager.java:1878)
      	at org.apache.jackrabbit.core.state.SharedItemStateManager.getNonVirtualItemState(SharedItemStateManager.java:1798)
      	at org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(SharedItemStateManager.java:271)
      	... 171 more
      

            lbouchet Loïc Bouchet
            lbouziat Léa Bouziat
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: