Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-11681

[Skin doc] Raw data view doesn't work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.8.4, 4.7.17, 4.9.0
    • 4.7.1, 4.8.0
    • None
    • None

      On opening the raw data tool on a content of the skin "doc", there is an error:

      2023-07-07 13:48:14,471 ERROR [sitemap.handled-errors] (http-nio-8080-exec-91;/nightly-intranet-cms/_wrapped-content-data.html) Unable to get transformer handler for cocoon://_plugins/cms/default-content/html.xsl?viewName=main&fallbackViewName=main
      	at <map:serialize type="xhtml"> - resource://org/ametys/cms/sitemap.xmap:254:50
      	at <map:transform type="processing-instruction-transform"> - resource://org/ametys/cms/sitemap.xmap:253:77
      	at <map:transform type="i18n"> - resource://org/ametys/cms/sitemap.xmap:249:48
      	at <map:transform type="docbook-enhancement"> - resource://org/ametys/cms/sitemap.xmap:248:64
      	at <map:transform> - resource://org/ametys/cms/sitemap.xmap:244:177
      	at <map:transform type="i18n"> - resource://org/ametys/cms/sitemap.xmap:240:48
      	at <map:serialize type="xhtml"> - resource://org/ametys/workspaces/cms/sitemap.xmap:243:50
      	at <map:transform> - resource://org/ametys/workspaces/cms/sitemap.xmap:240:104
      	at <map:generate> - resource://org/ametys/workspaces/cms/sitemap.xmap:239:82
      	at <map:mount> - resource://org/ametys/workspaces/web/sitemap.xmap:522:105
      	at <map:mount> - resource://org/ametys/runtime/kernel/sitemap.xmap:189:109
      org.apache.cocoon.ProcessingException: Unable to get transformer handler for cocoon://_plugins/cms/default-content/html.xsl?viewName=main&fallbackViewName=main
      	at <map:serialize type="xhtml"> - resource://org/ametys/cms/sitemap.xmap:254:50
      	at <map:transform type="processing-instruction-transform"> - resource://org/ametys/cms/sitemap.xmap:253:77
      	at <map:transform type="i18n"> - resource://org/ametys/cms/sitemap.xmap:249:48
      	at <map:transform type="docbook-enhancement"> - resource://org/ametys/cms/sitemap.xmap:248:64
      	at <map:transform> - resource://org/ametys/cms/sitemap.xmap:244:177
      	at <map:transform type="i18n"> - resource://org/ametys/cms/sitemap.xmap:240:48
      	at <map:serialize type="xhtml"> - resource://org/ametys/workspaces/cms/sitemap.xmap:243:50
      	at <map:transform> - resource://org/ametys/workspaces/cms/sitemap.xmap:240:104
      	at <map:generate> - resource://org/ametys/workspaces/cms/sitemap.xmap:239:82
      	at <map:mount> - resource://org/ametys/workspaces/web/sitemap.xmap:522:105
      	at <map:mount> - resource://org/ametys/runtime/kernel/sitemap.xmap:189:109
      	at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:339)
      	at org.ametys.runtime.cocoon.TraxTransformer.setup(TraxTransformer.java:50)
      	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:400)
      	at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:738)
      	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:503)
      	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.prepareInternal(AbstractProcessingPipeline.java:517)
      	at org.apache.cocoon.components.source.impl.SitemapSource.init(SitemapSource.java:343)
      	at org.apache.cocoon.components.source.impl.SitemapSource.<init>(SitemapSource.java:215)
      	at org.apache.cocoon.components.source.impl.SitemapSourceFactory.getSource(SitemapSourceFactory.java:68)
      	at org.apache.excalibur.source.impl.SourceResolverImpl.resolveURI(SourceResolverImpl.java:208)
      	at org.apache.cocoon.components.CocoonComponentManager.resolveURI(CocoonComponentManager.java:558)
      	at org.apache.cocoon.components.CocoonComponentManager.resolveURI(CocoonComponentManager.java:541)
      	at org.ametys.core.cocoon.RuntimeFileGenerator$SourceResolverWrapper.resolveURI(RuntimeFileGenerator.java:79)
      	at org.apache.cocoon.generation.FileGenerator.setup(FileGenerator.java:79)
      	at org.ametys.core.cocoon.RuntimeFileGenerator.setup(RuntimeFileGenerator.java:51)
      	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:387)
      	at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:738)
      	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:503)
      	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:455)
      	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.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.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:717)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
      	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:53)
      	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:202)
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
      	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:688)
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
      	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:375)
      	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
      	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
      	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1594)
      	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
      	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
      	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      	at java.base/java.lang.Thread.run(Thread.java:833)
      Caused by: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception when creating Transformer from cocoon://_plugins/cms/default-content/html.xsl?viewName=main&fallbackViewName=main
      	at org.ametys.runtime.cocoon.ThreadSafeTraxProcessor._createTemplates(ThreadSafeTraxProcessor.java:453)
      	at org.ametys.runtime.cocoon.ThreadSafeTraxProcessor._getTemplates(ThreadSafeTraxProcessor.java:231)
      	at org.ametys.runtime.cocoon.ThreadSafeTraxProcessor.getTransformerHandlerAndValidity(ThreadSafeTraxProcessor.java:178)
      	at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:332)
      	... 75 more
      Caused by: org.xml.sax.SAXException: Exception during processing of cocoon://_plugins/cms/default-content/html.xsl?viewName=main&fallbackViewName=main
      org.apache.cocoon.ProcessingException: Failed to process pipeline
      	at [TransformerException] - skin://pages/comments/helper/comments_3.3.xsl?path=amFyOmZpbGU6Ly8vc3J2L3d3dy9hbWV0eXMub3JnL2RlbW8vYXBwbGljYXRpb24vbmlnaHRseS1pbnRyYW5ldC9jbXMvV0VCLUlORi9saWIvYW1ldHlzLXNraW4tZG9jdW1lbnRhdGlvbi00LjguMC4yMDIzMDcwNi0yMzM1LWI2OTktU05BUFNIT1QuamFyIS9vcmcvYW1ldHlzL3NraW5zL2RvYy9wYWdlcy9jb21tZW50cy9oZWxwZXIvY29tbWVudHNfMy4zLnhzbA:33:157
      	at <map:serialize type="xml"> - resource://org/ametys/cms/sitemap.xmap:219:44
      	at <map:transform> - resource://org/ametys/cms/sitemap.xmap:218:76
      	at <map:transform type="i18n"> - resource://org/ametys/cms/sitemap.xmap:214:44
      	at <map:generate type="content-type"> - resource://org/ametys/cms/sitemap.xmap:210:51
      	at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:424)
      	at org.ametys.runtime.cocoon.ThreadSafeTraxProcessor._sourceToSAX(ThreadSafeTraxProcessor.java:461)
      	at org.ametys.runtime.cocoon.ThreadSafeTraxProcessor._createTemplates(ThreadSafeTraxProcessor.java:413)
      	... 78 more
      Caused by: org.apache.cocoon.ProcessingException: Failed to process pipeline
      	at [TransformerException] - skin://pages/comments/helper/comments_3.3.xsl?path=amFyOmZpbGU6Ly8vc3J2L3d3dy9hbWV0eXMub3JnL2RlbW8vYXBwbGljYXRpb24vbmlnaHRseS1pbnRyYW5ldC9jbXMvV0VCLUlORi9saWIvYW1ldHlzLXNraW4tZG9jdW1lbnRhdGlvbi00LjguMC4yMDIzMDcwNi0yMzM1LWI2OTktU05BUFNIT1QuamFyIS9vcmcvYW1ldHlzL3NraW5zL2RvYy9wYWdlcy9jb21tZW50cy9oZWxwZXIvY29tbWVudHNfMy4zLnhzbA:33:157
      	at <map:serialize type="xml"> - resource://org/ametys/cms/sitemap.xmap:219:44
      	at <map:transform> - resource://org/ametys/cms/sitemap.xmap:218:76
      	at <map:transform type="i18n"> - resource://org/ametys/cms/sitemap.xmap:214:44
      	at <map:generate type="content-type"> - resource://org/ametys/cms/sitemap.xmap:210:51
      	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)
      	... 80 more
      Caused by: org.apache.commons.lang.exception.NestableRuntimeException: javax.xml.transform.TransformerException: Could not find variable with the name of skin
      	at org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:604)
      	at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:56)
      	at org.ametys.cms.contenttype.ContentTypeGenerator.generate(ContentTypeGenerator.java:83)
      	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:581)
      	... 83 more
      Caused by: javax.xml.transform.TransformerException: Could not find variable with the name of skin
      	at org.apache.xpath.operations.Variable.fixupVariables(Variable.java:146)
      	at org.apache.xpath.XPath.fixupVariables(XPath.java:88)
      	at org.apache.xalan.templates.AVTPartXPath.fixupVariables(AVTPartXPath.java:56)
      	at org.apache.xalan.templates.AVT.fixupVariables(AVT.java:576)
      	at org.apache.xalan.templates.ElemLiteralResult.compose(ElemLiteralResult.java:110)
      	at org.apache.xalan.templates.StylesheetRoot.composeTemplates(StylesheetRoot.java:361)
      	at org.apache.xalan.templates.StylesheetRoot.composeTemplates(StylesheetRoot.java:366)
      	at org.apache.xalan.templates.StylesheetRoot.composeTemplates(StylesheetRoot.java:366)
      	at org.apache.xalan.templates.StylesheetRoot.composeTemplates(StylesheetRoot.java:366)
      	at org.apache.xalan.templates.StylesheetRoot.composeTemplates(StylesheetRoot.java:366)
      	at org.apache.xalan.templates.StylesheetRoot.recompose(StylesheetRoot.java:341)
      	at org.apache.xalan.processor.StylesheetHandler.endDocument(StylesheetHandler.java:468)
      	at org.apache.cocoon.xml.ContentHandlerWrapper.endDocument(ContentHandlerWrapper.java:121)
      	at org.apache.cocoon.components.EnvironmentChanger.endDocument(EnvironmentStack.java:119)
      	at org.apache.xml.serializer.ToXMLSAXHandler.endDocument(ToXMLSAXHandler.java:183)
      	at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1369)
      	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)
      	... 86 more

      To reproduce, use "www" (principal site) of the intranet demo.

            Unassigned Unassigned
            bmaurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: