• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.8.9, 4.9.0
    • 4.9.0
    • None
    • None
    • 4.9.0 M6
    • Oui

      During the night, the automatic task to clean upload folders failed with an NPE:

      Date:			Tue Mar 04 00:00:00 CET 2025 (1741042800083)
      Thread:		AmetysRuntimeScheduler_Worker-8
      Message #:	158121
      Level:		ERROR
      NDC:			
      Category:	org.ametys.plugins.core.impl.upload.CleanFSUploadSchedulable
      Message:		Unable to clean old uploads
      Location:	org.ametys.plugins.core.impl.upload.CleanFSUploadSchedulable.execute(CleanFSUploadSchedulable.java:89)
      Thrown:
      java.lang.NullPointerException: Cannot read the array length because the return value of "org.ametys.plugins.core.impl.upload.FSUploadManager.getUploadsDirectories()" is null
      	at org.ametys.plugins.core.impl.upload.CleanFSUploadSchedulable.execute(CleanFSUploadSchedulable.java:64)
      	at org.ametys.core.schedule.AmetysJob.execute(AmetysJob.java:157)
      	at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
      	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)

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

              Created:
              Updated:
              Resolved: