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

Impossible de réaliser un export OSE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 4.7.3, 4.8.0
    • 4.7.1
    • OSE
    • None
    • 4.8.0 M3

      L'export débute puis échoue avec l'erreur suivante :

      2023-09-20 08:25:12,020 ERROR [org.ametys.core.schedule.AmetysJob$org.ametys.odf.ose.ExportSchedulable] (AmetysRuntimeScheduler_Worker-2;) An exception occurred during the execution of the Schedulable 'org.ametys.odf.ose.ExportSchedulable'
      java.lang.ClassCastException: class org.ametys.odf.program.Container cannot be cast to class org.ametys.odf.program.AbstractProgram (org.ametys.odf.program.Container and org.ametys.odf.program.AbstractProgram are in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @5e01a982)
      	at org.ametys.odf.ose.export.utils.ElementRetriever._getDirectOrgUnit(ElementRetriever.java:151)
      	at java.base/java.util.Optional.map(Optional.java:260)
      	at org.ametys.odf.ose.export.utils.ElementRetriever._retrieveOrgUnits(ElementRetriever.java:122)
      	at org.ametys.odf.ose.export.utils.ElementRetriever.retrieveOrgUnits(ElementRetriever.java:116)
      	at org.ametys.odf.ose.export.impl.odf.StepExporter.getQueries(StepExporter.java:117)
      	at org.ametys.odf.ose.export.impl.ODFExport$Populator.exportSteps(ODFExport.java:148)
      	at org.ametys.odf.ose.export.impl.ODFExport._populate(ODFExport.java:109)
      	at org.ametys.odf.ose.export.AbstractOSEExport.populate(AbstractOSEExport.java:37)
      	at org.ametys.odf.ose.schedulable.ExportSchedulable.execute(ExportSchedulable.java:63)
      	at org.ametys.core.schedule.AmetysJob.execute(AmetysJob.java:151)
      	at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
      	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
      

            bmaurel Bérénice Maurel
            lperier Laurence Perier
            Bérénice Maurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: