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

Page Copy/Paste Error in content

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.3.2, 3.4.1, 3.5
    • None
    • Workspace : CMS
    • None

      A page with an existing content is copied and pasted.
      In the pasted page, a content in the right column is in error with the following Exception :

      Thread: http-bio-8089-exec-9
      Message #: 5509
      Level: ERROR
      NDC:
      Category: sitemap
      Message: Unable to display zone item
      Location: org.ametys.runtime.util.SLF4JLogger.error(SLF4JLogger.java:64)
      Thrown:
      org.apache.cocoon.ProcessingException: Failed to process pipeline
      at <map:serialize type="xml"> - resource://org/ametys/web/sitemap-front.xmap:82:44
      at <map:generate type="content"> - resource://org/ametys/web/sitemap-front.xmap:77:62
      at <map:serialize type="xhtml"> - resource://org/ametys/web/sitemap-front.xmap:473:50
      at <map:transform type="processing-instruction-transform"> - resource://org/ametys/web/sitemap-front.xmap:472:78
      at <map:transform type="i18n"> - resource://org/ametys/web/sitemap-front.xmap:468:48
      at <map:transform type="docbook-enhancement"> - resource://org/ametys/web/sitemap-front.xmap:467:64
      at <map:transform> - resource://org/ametys/web/sitemap-front.xmap:466:111
      at <map:transform type="i18n"> - resource://org/ametys/web/sitemap-front.xmap:462:48
      at org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.java:145)
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.handleException(AbstractProcessingPipeline.java:953)
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:583)
      at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280)
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:780)
      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:579)
      at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280)
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:780)
      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._saxZoneItems(PageGenerator.java:452)
      at org.ametys.web.repository.PageGenerator._saxZone(PageGenerator.java:262)
      at org.ametys.web.repository.PageGenerator.generate(PageGenerator.java:192)
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579)
      at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280)
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:780)
      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:579)
      at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280)
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:481)
      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.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1159)
      at org.ametys.runtime.servlet.RuntimeServlet._doService(RuntimeServlet.java:135)
      at org.ametys.runtime.servlet.RuntimeServlet.service(RuntimeServlet.java:92)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
      at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:964)
      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
      at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:304)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: org.xml.sax.SAXParseException: Premature end of file.
      at org.apache.excalibur.xml.impl.JaxpParser.fatalError(JaxpParser.java:463)
      at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
      at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
      at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
      at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
      at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      at org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:315)
      at org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:334)
      at org.ametys.cms.transformation.AbstractRichTextTransformer.transformForRendering(AbstractRichTextTransformer.java:137)
      at sun.reflect.GeneratedMethodAccessor144.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.ametys.runtime.plugin.component.PluginsComponentManager$ComponentInvocationHandler.invoke(PluginsComponentManager.java:159)
      at $Proxy27.transformForRendering(Unknown Source)
      at org.ametys.cms.contenttype.MetadataManager._saxRichTextMetadata(MetadataManager.java:462)
      at org.ametys.cms.contenttype.MetadataManager._saxMetadata(MetadataManager.java:329)
      at org.ametys.cms.contenttype.MetadataManager._saxMetadataSetElementOrAll(MetadataManager.java:185)
      at org.ametys.cms.contenttype.MetadataManager._saxMetadataSetElementOrAll(MetadataManager.java:192)
      at org.ametys.cms.contenttype.MetadataManager.saxMetadata(MetadataManager.java:129)
      at org.ametys.cms.content.ContentGenerator._saxMetadata(ContentGenerator.java:286)
      at org.ametys.cms.content.ContentGenerator._saxContent(ContentGenerator.java:127)
      at org.ametys.cms.content.ContentGenerator._generateContent(ContentGenerator.java:97)
      at org.ametys.cms.content.ContentGenerator.generate(ContentGenerator.java:81)
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579)
      ... 67 more
      Caused by: org.xml.sax.SAXParseException: Premature end of file.
      at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
      ... 97 more

            Unassigned Unassigned
            dcartier David Cartier-Michaud
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: