Uploaded image for project: 'Offre de formation'
  1. Offre de formation
  2. ODF-3277

Plantage de l'export CDM-Fr

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.6.0
    • 4.6.0
    • None
    • None
    • 4.6 M4

      Cette erreur est rencontrée lors de l'export CDM-Fr d'une formation, le fichier généré est incorrect  : 

       

      Date : 08/09 12:37:04.491
      Utilisateur : admin#ametys-demo-users
      Thread : Thread[http-nio-8080-exec-1,5,main]
      Niveau : ERROR
      Catégorie : sitemap.handled-errors
      URI de la requête : /odf/plugins/odf/export-cdmfr.xml
      Message : Failed to process pipeline
          at <map:serialize type="xml"> - resource://org/ametys/plugins/odf/sitemap.xmap:302:44
          at <map:transform type="i18n"> - resource://org/ametys/plugins/odf/sitemap.xmap:298:44
          at <map:generate type="cdm"> - resource://org/ametys/plugins/odf/sitemap.xmap:297:43
          at <map:mount> - resource://org/ametys/workspaces/cms/sitemap.xmap:212:81
          at <map:mount> - resource://org/ametys/workspaces/web/sitemap.xmap:517:105
          at <map:mount> - resource://org/ametys/runtime/kernel/sitemap.xmap:187: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="xml"> - resource://org/ametys/plugins/odf/sitemap.xmap:302:44
      at <map:transform type="i18n"> - resource://org/ametys/plugins/odf/sitemap.xmap:298:44
      at <map:generate type="cdm"> - resource://org/ametys/plugins/odf/sitemap.xmap:297:43
      at <map:mount> - resource://org/ametys/workspaces/cms/sitemap.xmap:212:81
      at <map:mount> - resource://org/ametys/workspaces/web/sitemap.xmap:517:105
      at <map:mount> - resource://org/ametys/runtime/kernel/sitemap.xmap:187: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:582
      at javax.servlet.http.HttpServlet#service:733
      at org.apache.catalina.core.ApplicationFilterChain#internalDoFilter:227
      at org.apache.catalina.core.ApplicationFilterChain#doFilter:162
      at org.apache.tomcat.websocket.server.WsFilter#doFilter:53
      at org.apache.catalina.core.ApplicationFilterChain#internalDoFilter:189
      at org.apache.catalina.core.ApplicationFilterChain#doFilter:162
      at org.apache.catalina.core.StandardWrapperValve#invoke:202
      at org.apache.catalina.core.StandardContextValve#invoke:97
      at org.apache.catalina.authenticator.AuthenticatorBase#invoke:542
      at org.apache.catalina.core.StandardHostValve#invoke:143
      at org.apache.catalina.valves.ErrorReportValve#invoke:92
      at org.apache.catalina.valves.AbstractAccessLogValve#invoke:687
      at org.apache.catalina.core.StandardEngineValve#invoke:78
      at org.apache.catalina.connector.CoyoteAdapter#service:346
      at org.apache.coyote.http11.Http11Processor#service:374
      at org.apache.coyote.AbstractProcessorLight#process:65
      at org.apache.coyote.AbstractProtocol$ConnectionHandler#process:887
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor#doRun:1684
      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:833
      Caused by: java.lang.ClassCastException: class [Lorg.ametys.cms.data.ContentValue; cannot be cast to class org.ametys.cms.data.ContentValue ([Lorg.ametys.cms.data.ContentValue; and org.ametys.cms.data.ContentValue are in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @3b7ff809)
      at org.ametys.cms.data.ContentDataHelper#getContentIdFromContentData:99
      at org.ametys.cms.data.ContentDataHelper#getContentIdFromContentData:114
      at org.ametys.odf.program.AbstractProgram#getDegree:487
      at org.ametys.odf.cdmfr.ExportCDMfrManager#_degree2CDM:925
      at org.ametys.odf.cdmfr.ExportCDMfrManager#_qualification2CDM:894
      at org.ametys.odf.cdmfr.ExportCDMfrManager#abstractProgram2CDM:685
      at org.ametys.odf.cdmfr.ExportCDMfrManager#_programPart2CDMSubPrograms:1258
      at org.ametys.odf.cdmfr.ExportCDMfrManager#abstractProgram2CDM:810
      at org.ametys.odf.cdmfr.ExportCDMfrManager#program2CDM:579
      at org.ametys.odf.cdmfr.ExportCDMfrManager#generateCDM:161
      at org.ametys.odf.cdmfr.ExportCDMfrHelper#_doExport:92
      at org.ametys.plugins.odfweb.cdmfr.WebExportCDMfrHelper#_doExport:66
      at org.ametys.odf.cdmfr.ExportCDMfrHelper#export:81
      at org.ametys.odf.cdmfr.ExportToCDMfrGenerator#generate:43
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#processXMLPipeline:581
      ... 67 more
      

       

            Unassigned Unassigned
            mfranchet Magali Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: