Uploaded image for project: 'ContentTypes Editor'
  1. ContentTypes Editor
  2. CTYPEEDIT-154

PNG Full Graphic export fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.13.0
    • 1.12.0
    • None
    • 4.8.1
    • Oui

      When launching full graphic export of content types tree, it fails.

      The following error occurs :

      URI de la requête : /nightly-intranet-cms/plugins/contenttypes-editor/export/content-types-graph.png
      Message : Failed to process pipeline
          at <map:serialize type="png"> - resource://org/ametys/plugins/contenttypes-editor/sitemap.xmap:81:44
          at <map:transform type="i18n"> - resource://org/ametys/plugins/contenttypes-editor/sitemap.xmap:77:44
          at <map:transform type="xslt"> - resource://org/ametys/plugins/contenttypes-editor/sitemap.xmap:76:79
          at <map:generate type="content-types-graph"> - resource://org/ametys/plugins/contenttypes-editor/sitemap.xmap:75:59
          at <map:mount> - resource://org/ametys/workspaces/cms/sitemap.xmap:203:81
          at <map:mount> - resource://org/ametys/workspaces/web/sitemap.xmap:522:105
          at <map:mount> - resource://org/ametys/runtime/kernel/sitemap.xmap:189:109
      Emplacement : org.apache.cocoon.util.log.SLF4JLoggerAdapter.error(SLF4JLoggerAdapter.java:46)
      
      Pile d'appels :
      org.apache.cocoon.ProcessingException: Failed to process pipeline
      at <map:serialize type="png"> - resource://org/ametys/plugins/contenttypes-editor/sitemap.xmap:81:44
      at <map:transform type="i18n"> - resource://org/ametys/plugins/contenttypes-editor/sitemap.xmap:77:44
      at <map:transform type="xslt"> - resource://org/ametys/plugins/contenttypes-editor/sitemap.xmap:76:79
      at <map:generate type="content-types-graph"> - resource://org/ametys/plugins/contenttypes-editor/sitemap.xmap:75:59
      at <map:mount> - resource://org/ametys/workspaces/cms/sitemap.xmap:203:81
      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.ProcessingException#throwLocated:145
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#handleException:955
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#processXMLPipeline:585
      at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline#processXMLPipeline:301
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#process:483
      at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode#invoke:144
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47
      at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
      at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
      at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:178
      at org.apache.cocoon.components.treeprocessor.TreeProcessor#process:254
      at org.apache.cocoon.components.treeprocessor.sitemap.MountNode#invoke:118
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47
      at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
      at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
      at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:178
      at org.apache.cocoon.components.treeprocessor.TreeProcessor#process:254
      at org.apache.cocoon.components.treeprocessor.sitemap.MountNode#invoke:118
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47
      at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
      at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
      at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:178
      at org.apache.cocoon.components.treeprocessor.TreeProcessor#process:254
      at org.apache.cocoon.components.treeprocessor.sitemap.MountNode#invoke:118
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47
      at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
      at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
      at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:178
      at org.apache.cocoon.components.treeprocessor.TreeProcessor#process:254
      at org.apache.cocoon.Cocoon#process:699
      at org.ametys.runtime.servlet.RuntimeServlet#service:717
      at javax.servlet.http.HttpServlet#service:741
      at org.apache.catalina.core.ApplicationFilterChain#internalDoFilter:231
      at org.apache.catalina.core.ApplicationFilterChain#doFilter:166
      at org.apache.tomcat.websocket.server.WsFilter#doFilter:53
      at org.apache.catalina.core.ApplicationFilterChain#internalDoFilter:193
      at org.apache.catalina.core.ApplicationFilterChain#doFilter:166
      at org.apache.catalina.core.StandardWrapperValve#invoke:202
      at org.apache.catalina.core.StandardContextValve#invoke:96
      at org.apache.catalina.authenticator.AuthenticatorBase#invoke:541
      at org.apache.catalina.core.StandardHostValve#invoke:139
      at org.apache.catalina.valves.ErrorReportValve#invoke:92
      at org.apache.catalina.valves.AbstractAccessLogValve#invoke:688
      at org.apache.catalina.core.StandardEngineValve#invoke:74
      at org.apache.catalina.connector.CoyoteAdapter#service:343
      at org.apache.coyote.http11.Http11Processor#service:375
      at org.apache.coyote.AbstractProcessorLight#process:65
      at org.apache.coyote.AbstractProtocol$ConnectionHandler#process:868
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor#doRun:1594
      at org.apache.tomcat.util.net.SocketProcessorBase#run:49
      at java.base/java.util.concurrent.ThreadPoolExecutor#runWorker:1136
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker#run:635
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable#run:61
      at java.base/java.lang.Thread#run:840
      Caused by: java.lang.UnsupportedOperationException: The definition 'pinned' is not editable, it cannot have a validator
      at org.ametys.runtime.model.DefaultElementDefinition#getValidator:171
      at org.ametys.plugins.contenttypeseditor.ContentTypesGraphGenerator#_isMandatoryMetadata:389
      at org.ametys.plugins.contenttypeseditor.ContentTypesGraphGenerator#_modelItemToSAX:254
      at org.ametys.plugins.contenttypeseditor.ContentTypesGraphGenerator#_modelItemsToSAX:214
      at org.ametys.plugins.contenttypeseditor.ContentTypesGraphGenerator#_exportContentTypes:170
      at org.ametys.plugins.contenttypeseditor.ContentTypesGraphGenerator#generate:87
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#processXMLPipeline:581
      ... 67 more
       

        1. screenshot-1.png
          29 kB
          David Cartier-Michaud

            tcorre Thalya Corré
            dcartier David Cartier-Michaud
            Thalya Corré Thalya Corré
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: