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

[Rapport Apogee] Lancement de 2 rapport simultanément

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.1.0
    • 4.1.0
    • None
    • None
    • 4.2 M5

      Rien n'empêche le lancement de 2 rapport de même nature simultanément, mais cela fait échouer le 1er.

      J'ai d'abord un message de warning (en anglais) dans l'outil de journaux en direct.

      The Runnable 'rapport-apog-e4' of the Schedulable 'org.ametys.plugins.odfpilotage.orgunit.Schedulable' cannot be executed now because concurrent execution is not allowed for this Schedulable
      

      Le 2 rapport n'est pas lancé.
      Mais ensuite 2 erreurs surviennent pour le 1er rapport

      Message : Erreur d'écriture du rapport.
      Emplacement : org.ametys.plugins.odfpilotage.report.AbstractPilotageReport.launchByOrgUnit(AbstractPilotageReport.java:121)
      
      Pile d'appels :
      java.io.FileNotFoundException: D:\work\odfweb\trunk\cms\data\odf\pilotage\tmp\apogee\2013-2017-fr-0749238C-[apogee-2018-04-11].xml (Le chemin d’accès spécifié est introuvable)
      at $1java.io.FileOutputStream.open0(Native Method)
      at $1java.io.FileOutputStream.open(FileOutputStream.java:270)
      at $1java.io.FileOutputStream.<init>(FileOutputStream.java:213)
      at $1java.io.FileOutputStream.<init>(FileOutputStream.java:162)
      at $1org.ametys.plugins.odfpilotage.report.impl.ApogeeReport._writeApogeeReport(ApogeeReport.java:97)
      at $1org.ametys.plugins.odfpilotage.report.impl.ApogeeReport._launchByOrgUnit(ApogeeReport.java:67)
      

      puis

      Message : Une erreur est survenue lors de la compression des rapports.
      Emplacement : org.ametys.plugins.odfpilotage.report.AbstractPilotageReport.launch(AbstractPilotageReport.java:220)
      
      Pile d'appels :
      java.lang.NullPointerException
      at $1org.ametys.plugins.odfpilotage.report.AbstractPilotageReport.createZipFile(AbstractPilotageReport.java:285)
      at $1org.ametys.plugins.odfpilotage.report.AbstractPilotageReport.launch(AbstractPilotageReport.java:216)
      at $1org.ametys.plugins.odfpilotage.schedulable.AbstractReportSchedulable.execute(AbstractReportSchedulable.java:57)
      at $1org.ametys.core.schedule.AmetysJob.execute(AmetysJob.java:144)
      at $1org.quartz.core.JobRunShell.run(JobRunShell.java:202)
      at $1org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
      

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

              Created:
              Updated:
              Resolved: