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

I can't see my organizational chart

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 2.1.3, 2.2.0
    • 2.1.2
    • None
    • 4.2 M5

      Date:           Thu Jul 26 14:28:16 CEST 2018 (1532608096150)
      Thread:     http-nio-8080-exec-5
      Message #:  16064
      Level:      ERROR
      NDC:            
      Category:   org.ametys.web.repository.PageGenerator
      Message:        Unable to display zone item
      Location:   org.apache.cocoon.util.log.SLF4JLoggerAdapter.error(SLF4JLoggerAdapter.java:46)
      Thrown:
      org.apache.cocoon.ProcessingException: Failed to process pipeline
          at <map:serialize type="xhtml"> - resource://org/ametys/plugins/user-directory/sitemap.xmap:107:46
          at <map:transform type="i18n"> - resource://org/ametys/plugins/user-directory/sitemap.xmap:103:44
          at <map:transform type="xslt"> - resource://org/ametys/plugins/user-directory/sitemap.xmap:102:67
          at <map:transform type="i18n"> - resource://org/ametys/plugins/user-directory/sitemap.xmap:98:44
          at <map:generate type="orgChart"> - resource://org/ametys/plugins/user-directory/sitemap.xmap:97:48
          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:782)
          at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414)
          at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:101)
          at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:181)
          at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:140)
          at org.ametys.web.repository.PageGenerator._saxSource(PageGenerator.java:724)
          at org.ametys.web.repository.PageGenerator._saxZoneItem(PageGenerator.java:521)
          at org.ametys.web.repository.PageGenerator._saxZoneItems(PageGenerator.java:396)
          at org.ametys.web.repository.PageGenerator._saxZone(PageGenerator.java:323)
          at org.ametys.web.repository.PageGenerator.generate(PageGenerator.java:244)
          at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:581)
          at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:301)
          at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:782)
          at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414)
          at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:101)
          at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:321)
          at org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.java:125)
          at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:581)
          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:543)
          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:1142)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
          at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
          at java.lang.Thread.run(Thread.java:745)
      Caused by: org.ametys.plugins.repository.metadata.UnknownMetadataException: Unknown metadata ametys:user of node /ametys:root/ametys:plugins/userdirectory/ametys:contents/41/25/test/ametys:users/ametys:1
          at org.ametys.plugins.repository.metadata.jcr.JCRCompositeMetadata._getString(JCRCompositeMetadata.java:408)
          at org.ametys.plugins.repository.metadata.jcr.JCRCompositeMetadata.getString(JCRCompositeMetadata.java:373)
          at org.ametys.plugins.userdirectory.generator.OrgChartGenerator.saxFirstUserOfOrganizationUnit(OrgChartGenerator.java:132)
          at org.ametys.plugins.userdirectory.generator.OrgChartGenerator.saxOrganizationUnit(OrgChartGenerator.java:100)
          at org.ametys.plugins.userdirectory.generator.OrgChartGenerator.generate(OrgChartGenerator.java:72)
          at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:581)
          ... 65 more
      Caused by: javax.jcr.PathNotFoundException: ametys:user
          at org.apache.jackrabbit.core.NodeImpl$11.perform(NodeImpl.java:2265)
          at org.apache.jackrabbit.core.NodeImpl$11.perform(NodeImpl.java:2252)
          at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
          at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91)
          at org.apache.jackrabbit.core.NodeImpl.getProperty(NodeImpl.java:2252)
          at org.ametys.plugins.repository.metadata.jcr.JCRCompositeMetadata._getString(JCRCompositeMetadata.java:386)
          ... 70 more
      

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

              Created:
              Updated:
              Resolved: