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

Adding shared image and preview

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 3.0RC1
    • 3.0 M5
    • None
    • None

      How to reproduce

      • connect to cms
      • edit a content
      • add a shared image
      • validate the content
      • preview the page

      Actual behavior

      • error with stacktrace

      Expected behavior

      • no error

      2010-02-10 15:32:02,988 ERROR [sitemap.handled-errors] Failed to process pipeline
      at [TransformerException] - resource://org/ametys/cms/stylesheets/docbook2html.xsl:216:92
      at <map:serialize type="xhtml"> - resource://org/ametys/web/sitemap.xmap:820:35
      at <map:transform type="i18n"> - resource://org/ametys/web/sitemap.xmap:816:33
      at <map:transform type="enhancement"> - resource://org/ametys/web/sitemap.xmap:815:41
      at <map:transform> - resource://org/ametys/web/sitemap.xmap:811:34
      at <map:transform type="i18n"> - resource://org/ametys/web/sitemap.xmap:807:33
      at <map:serialize type="xml"> - resource://org/ametys/web/workspace/sitemap.xmap:76:32
      at <map:generate type="page"> - resource://org/ametys/web/workspace/sitemap.xmap:75:32
      at <map:serialize type="xhtml"> - resource://org/ametys/web/workspace/sitemap.xmap:245:34
      at <map:transform type="i18n"> - resource://org/ametys/web/workspace/sitemap.xmap:242:32
      at <map:transform> - resource://org/ametys/web/workspace/sitemap.xmap:227:47
      org.apache.cocoon.ProcessingException: Failed to process pipeline
      at [TransformerException] - resource://org/ametys/cms/stylesheets/docbook2html.xsl:216:92
      at <map:serialize type="xhtml"> - resource://org/ametys/web/sitemap.xmap:820:35
      at <map:transform type="i18n"> - resource://org/ametys/web/sitemap.xmap:816:33
      at <map:transform type="enhancement"> - resource://org/ametys/web/sitemap.xmap:815:41
      at <map:transform> - resource://org/ametys/web/sitemap.xmap:811:34
      at <map:transform type="i18n"> - resource://org/ametys/web/sitemap.xmap:807:33
      at <map:serialize type="xml"> - resource://org/ametys/web/workspace/sitemap.xmap:76:32
      at <map:generate type="page"> - resource://org/ametys/web/workspace/sitemap.xmap:75:32
      at <map:serialize type="xhtml"> - resource://org/ametys/web/workspace/sitemap.xmap:245:34
      at <map:transform type="i18n"> - resource://org/ametys/web/workspace/sitemap.xmap:242:32
      at <map:transform> - resource://org/ametys/web/workspace/sitemap.xmap:227:47
      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.toSAX(SourceUtil.java:181)
      at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:140)
      at org.ametys.web.repository.PageGenerator.generate(PageGenerator.java:183)
      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:235)
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.handleCocoonRedirect(ConcreteTreeProcessor.java:297)
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.access$000(ConcreteTreeProcessor.java:48)
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor$TreeProcessorRedirector.cocoonRedirect(ConcreteTreeProcessor.java:338)
      at org.apache.cocoon.environment.ForwardRedirector.redirect(ForwardRedirector.java:60)
      at org.apache.cocoon.components.treeprocessor.sitemap.RedirectToURINode.invoke(RedirectToURINode.java:70)
      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:235)
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
      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:235)
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
      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:1154)
      at org.ametys.runtime.servlet.RuntimeServlet._doService(RuntimeServlet.java:127)
      at org.ametys.runtime.servlet.RuntimeServlet.service(RuntimeServlet.java:86)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: org.apache.commons.lang.exception.NestableRuntimeException: javax.xml.transform.TransformerException: org.ametys.plugins.repository.UnknownAmetysObjectException: There's no node for id resource://28af21c1-70f5-4cac-a464-7812626f304d
      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:579)
      ... 68 more
      Caused by: javax.xml.transform.TransformerException: org.ametys.plugins.repository.UnknownAmetysObjectException: There's no node for id resource://28af21c1-70f5-4cac-a464-7812626f304d
      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:473)
      at org.apache.xpath.functions.FuncExtFunction.execute(FuncExtFunction.java:208)
      at org.apache.xpath.XPath.execute(XPath.java:337)
      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.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395)
      at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:178)
      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:2400)
      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.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395)
      at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:178)
      at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395)
      at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:178)
      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:2400)
      at org.apache.xalan.templates.ElemIf.execute(ElemIf.java:162)
      at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400)
      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:2400)
      at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1376)
      at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400)
      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.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:2400)
      at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2270)
      at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1356)
      at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3447)
      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)
      ... 71 more
      Caused by: org.ametys.plugins.repository.UnknownAmetysObjectException: There's no node for id resource://28af21c1-70f5-4cac-a464-7812626f304d
      at org.ametys.plugins.repository.jcr.SimpleAmetysObjectFactory.getNode(SimpleAmetysObjectFactory.java:170)
      at org.ametys.plugins.repository.jcr.SimpleAmetysObjectFactory.getAmetysObjectById(SimpleAmetysObjectFactory.java:117)
      at org.ametys.plugins.repository.jcr.SimpleAmetysObjectFactory.getAmetysObjectById(SimpleAmetysObjectFactory.java:58)
      at org.ametys.plugins.repository.AmetysObjectResolver.resolveById(AmetysObjectResolver.java:240)
      at org.ametys.web.editor.ResourceLinkResolver.resolve(ResourceLinkResolver.java:60)
      at org.ametys.cms.transformation.ResolveLinkComponent.resolve(ResolveLinkComponent.java:67)
      at org.ametys.cms.transformation.ResolveLinkComponent.resolve(ResolveLinkComponent.java:52)
      at sun.reflect.GeneratedMethodAccessor101.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.xalan.extensions.ExtensionHandlerJavaClass.callFunction(ExtensionHandlerJavaClass.java:367)
      ... 113 more
      Caused by: javax.jcr.ItemNotFoundException: 28af21c1-70f5-4cac-a464-7812626f304d
      at org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:306)
      at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:250)
      at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:515)
      at org.apache.jackrabbit.core.SessionImpl.getNodeById(SessionImpl.java:575)
      at org.apache.jackrabbit.core.SessionImpl.getNodeByUUID(SessionImpl.java:544)
      at org.apache.jackrabbit.core.SessionImpl.getNodeByUUID(SessionImpl.java:855)
      at org.ametys.plugins.repository.jcr.SimpleAmetysObjectFactory.getNode(SimpleAmetysObjectFactory.java:160)
      ... 123 more
      2010-02-10 15:32:03,003 WARN [core.manager] Attempted to release a $Proxy10 but its handler could not be located.
      2010-02-10 15:33:31,576 ERROR [sitemap.handled-errors] Error during resolving of 'plugin:extjs://resources/ext/resources/images/default/grid/grid-split.gif'.
      at <map:read> - resource://org/ametys/runtime/kernel/sitemap.xmap:170:61

            cedric Cédric Damioli
            aslabadie Anne-Sophie Labadie (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: