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

Impossible de générer le document officiel des MCC au format PDF

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.9.5, 4.10.0
    • 4.10.0
    • None
    • None
    • 4.10 M2

      Reproduit sur la nightly

      Fonctionne sur la démo publique. 

      Sélectionner le conteneur BUT 1 Chimie de la formation BUT Chimie. 

      Sur ce conteneur, passer toutes les étapes du cycle de vie MCC. 

      Lors de la dernière étape : 

       

      Date : 04/12 15:06:07.996
      Utilisateur : admin#ametys-demo-users
      ThreadThread[#7848,AmetysRuntimeScheduler_Worker-2,5,main]
      Niveau : ERROR
      Catégorie : org.ametys.plugins.odfpilotage.schedulable.MCCValidatedPDFSchedulable
      URI de la requête : /odf/_admin/plugins/admin/config/set
      Message : 
      
      An error occurred generating the MCC validated PDF for container with id 'container://29241a75-cf30-4a00-9841-3946282c27d8'
      
      Emplacement : org.ametys.plugins.odfpilotage.schedulable.MCCValidatedPDFSchedulable._doExecute(MCCValidatedPDFSchedulable.java:128)
      
      Pile d'appels :
      
      org.apache.excalibur.source.SourceException: Exception during processing of cocoon://_plugins/odf-pilotage/final/container-rules.pdf?programItem=container://29241a75-cf30-4a00-9841-3946282c27d8&reportId=org.ametys.plugins.odfpilotage.report.MCCReport&isDefinitive=true
      at org.apache.cocoon.components.source.impl.SitemapSource#getInputStream:277
      at org.ametys.plugins.odfpilotage.schedulable.MCCValidatedPDFSchedulable#_getPDFAsBinary:183
      at org.ametys.plugins.odfpilotage.schedulable.MCCValidatedPDFSchedulable#_doExecute:120
      at org.ametys.cms.schedule.AbstractSendingMailSchedulable#execute:86
      at org.ametys.core.schedule.AmetysJob#execute:157
      at org.quartz.core.JobRunShell#run:202
      at org.quartz.simpl.SimpleThreadPool$WorkerThread#run:573 Caused by: org.apache.cocoon.ProcessingException: Failed to process pipeline
      at <map:serialize type="fo2pdf"> - resource://org/ametys/plugins/odf-pilotage/sitemap.xmap:186:59
      at <map:transform type="i18n"> - resource://org/ametys/plugins/odf-pilotage/sitemap.xmap:176:48
      at <map:transform type="xslt"> - resource://org/ametys/plugins/odf-pilotage/sitemap.xmap:173:144
      at <map:transform type="i18n"> - resource://org/ametys/plugins/odf-pilotage/sitemap.xmap:169:48
      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.source.impl.SitemapSource#getInputStream:267
      ... 6 more Caused by: org.xml.sax.SAXException: Could not get sitemap source cocoon://_plugins/odf-pilotage/pilotage/report.pdf?mode=inner
      java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because the return value of "java.util.Map.get(Object)" is null
      at org.apache.cocoon.components.source.impl.SitemapSource#init:380
      at org.apache.cocoon.components.source.impl.SitemapSource#<init>:215
      at org.apache.cocoon.components.source.impl.SitemapSourceFactory#getSource:68
      at org.apache.excalibur.source.impl.SourceResolverImpl#resolveURI:208
      at org.apache.cocoon.environment.AbstractEnvironment#resolveURI:555
      at org.apache.cocoon.environment.AbstractEnvironment#resolveURI:542
      at org.apache.cocoon.environment.wrapper.MutableEnvironmentFacade#resolveURI:299
      at org.apache.cocoon.sitemap.ContentAggregator#setup:290
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#setupPipeline:387
      at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline#setupPipeline:738
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#preparePipeline:503
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#prepareInternal:517
      at org.apache.cocoon.components.source.impl.SitemapSource#init:343
      at org.apache.cocoon.components.source.impl.SitemapSource#<init>:215
      at org.apache.cocoon.components.source.impl.SitemapSourceFactory#getSource:68
      at org.apache.excalibur.source.impl.SourceResolverImpl#resolveURI:208
      at org.apache.excalibur.source.impl.SourceResolverImpl#resolveURI:152
      at org.ametys.plugins.odfpilotage.schedulable.MCCValidatedPDFSchedulable#_doExecute:118
      ... 4 more Caused by: java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because the return value of "java.util.Map.get(Object)" is null
      at org.ametys.plugins.odfpilotage.report.impl.MCCReport#getType:99
      at org.ametys.plugins.odfpilotage.report.AbstractPilotageReport#getType:178
      at org.ametys.plugins.odfpilotage.report.AbstractPilotageReport#getReportFileName:273
      at org.ametys.plugins.odfpilotage.report.pipeline.SetReportParametersAndHeaderAction#act:99
      at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode#invoke:125
      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#buildPipeline:194
      at org.apache.cocoon.components.source.impl.SitemapSource#init:333
      ... 21 more
       
      

       

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

              Created:
              Updated:
              Resolved: