Uploaded image for project: 'Front Edition'
  1. Front Edition
  2. FRONTEDIT-45

Opening a content can cause an exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.1.0
    • 1.1.0
    • None

      Sometime, opening a content in the CMS can cause this exception :

      (when opening a content, not a page)

      Date:            Tue Oct 03 15:48:01 CEST 2017 (1507038481033)Thread:        http-nio-8210-exec-15Message #:    8432Level:        ERRORNDC:            Category:    sitemap.handled-errorsMessage:        Failed to process pipeline    at [TransformerException] - file:/home/pgros/Dev/Ametys/plugins/front-edition/master/main/plugin-front-edition/stylesheets/front-edition.xsl:564:196    at <map:serialize type="xhtml"> - file:/home/pgros/Dev/Ametys/kernel/08_Web/master/main/plugin-web/sitemap-front.xmap:656:50    at <map:transform type="processing-instruction-transform"> - file:/home/pgros/Dev/Ametys/kernel/08_Web/master/main/plugin-web/sitemap-front.xmap:655:78    at <map:transform type="i18n"> - file:/home/pgros/Dev/Ametys/kernel/08_Web/master/main/plugin-web/sitemap-front.xmap:651:48    at <map:transform type="docbook-enhancement"> - file:/home/pgros/Dev/Ametys/kernel/08_Web/master/main/plugin-web/sitemap-front.xmap:650:64    at <map:transform> - file:/home/pgros/Dev/Ametys/kernel/08_Web/master/main/plugin-web/sitemap-front.xmap:649:111    at <map:transform type="i18n"> - file:/home/pgros/Dev/Ametys/kernel/08_Web/master/main/plugin-web/sitemap-front.xmap:645:48    at <map:serialize type="xhtml"> - file:/home/pgros/Dev/Ametys/kernel/08_Web/master/main/workspace-web/sitemap.xmap:408:58    at <map:transform type="minimizer-front"> - file:/home/pgros/Dev/Ametys/kernel/08_Web/master/main/workspace-web/sitemap.xmap:407:68    at <map:transform type="i18n"> - file:/home/pgros/Dev/Ametys/kernel/08_Web/master/main/workspace-web/sitemap.xmap:404:56    at <map:transform> - file:/home/pgros/Dev/Ametys/kernel/08_Web/master/main/workspace-web/sitemap.xmap:397:61    at <map:generate> - file:/home/pgros/Dev/Ametys/kernel/08_Web/master/main/workspace-web/sitemap.xmap:396:105    at <map:mount> - file:/home/pgros/Dev/Ametys/kernel/01_Runtime/master/main/kernel/sitemap.xmap:182:109Location:    org.apache.cocoon.util.log.SLF4JLoggerAdapter.error(SLF4JLoggerAdapter.java:46)Thrown:org.apache.cocoon.ProcessingException: Failed to process pipeline    at [TransformerException] - file:/home/pgros/Dev/Ametys/plugins/front-edition/master/main/plugin-front-edition/stylesheets/front-edition.xsl:564:196    at <map:serialize type="xhtml"> - file:/home/pgros/Dev/Ametys/kernel/08_Web/master/main/plugin-web/sitemap-front.xmap:656:50    at <map:transform type="processing-instruction-transform"> - file:/home/pgros/Dev/Ametys/kernel/08_Web/master/main/plugin-web/sitemap-front.xmap:655:78    at <map:transform type="i18n"> - file:/home/pgros/Dev/Ametys/kernel/08_Web/master/main/plugin-web/sitemap-front.xmap:651:48    at <map:transform type="docbook-enhancement"> - file:/home/pgros/Dev/Ametys/kernel/08_Web/master/main/plugin-web/sitemap-front.xmap:650:64    at <map:transform> - file:/home/pgros/Dev/Ametys/kernel/08_Web/master/main/plugin-web/sitemap-front.xmap:649:111    at <map:transform type="i18n"> - file:/home/pgros/Dev/Ametys/kernel/08_Web/master/main/plugin-web/sitemap-front.xmap:645:48    at <map:serialize type="xhtml"> - file:/home/pgros/Dev/Ametys/kernel/08_Web/master/main/workspace-web/sitemap.xmap:408:58    at <map:transform type="minimizer-front"> - file:/home/pgros/Dev/Ametys/kernel/08_Web/master/main/workspace-web/sitemap.xmap:407:68    at <map:transform type="i18n"> - file:/home/pgros/Dev/Ametys/kernel/08_Web/master/main/workspace-web/sitemap.xmap:404:56    at <map:transform> - file:/home/pgros/Dev/Ametys/kernel/08_Web/master/main/workspace-web/sitemap.xmap:397:61    at <map:generate> - file:/home/pgros/Dev/Ametys/kernel/08_Web/master/main/workspace-web/sitemap.xmap:396:105    at <map:mount> - file:/home/pgros/Dev/Ametys/kernel/01_Runtime/master/main/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: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.generation.FileGenerator.generate(FileGenerator.java:116)    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.ActTypeNode.invoke(ActTypeNode.java:139)    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)    at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:139)    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)    at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:139)    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:729)    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)    at org.apache.catalina.core.StandardContextValve.__invoke(StandardContextValve.java:94)    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java)    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)    at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:509)    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1104)    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1524)    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1480)    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.AmetysRepositoryException: An object id must conform to the <protocol>://<protocol-specific-part> syntax:     at org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:604)    at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:56)    at org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.java:133)    at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:581)    ... 59 moreCaused by: javax.xml.transform.TransformerException: org.ametys.plugins.repository.AmetysRepositoryException: An object id must conform to the <protocol>://<protocol-specific-part> syntax:     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.Expression.execute(Expression.java:155)    at org.apache.xpath.operations.Operation.execute(Operation.java:109)    at org.apache.xpath.Expression.execute(Expression.java:155)    at org.apache.xpath.operations.Operation.execute(Operation.java:109)    at org.apache.xpath.Expression.bool(Expression.java:186)    at org.apache.xpath.operations.And.bool(And.java:72)    at org.apache.xpath.XPath.bool(XPath.java:412)    at org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:126)    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.transformToRTF(TransformerImpl.java:1912)    at org.apache.xalan.templates.ElemWithParam.getValue(ElemWithParam.java:219)    at org.apache.xalan.templates.ElemCallTemplate.execute(ElemCallTemplate.java:226)    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.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.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.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395)    at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:178)    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)    ... 62 moreCaused by: org.ametys.plugins.repository.AmetysRepositoryException: An object id must conform to the <protocol>://<protocol-specific-part> syntax:     at org.ametys.plugins.repository.AmetysObjectResolver.resolveById(AmetysObjectResolver.java:298)    at org.ametys.plugins.frontedition.AmetysFrontEditionHelper.getZoneItemPosition(AmetysFrontEditionHelper.java:657)    at sun.reflect.GeneratedMethodAccessor108.invoke(Unknown Source)    at sun.reflect.DelegatingMethodAccessorImpl.__invoke(DelegatingMethodAccessorImpl.java:43)    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)    at java.lang.reflect.Method.invoke(Method.java:498)    at org.apache.xalan.extensions.ExtensionHandlerJavaClass.callFunction(ExtensionHandlerJavaClass.java:401)    ... 106 more
      
      

            pgros Pierre Gros (Inactive)
            pgros Pierre Gros (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: