Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-2476

Error executing task which are already done

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11.2.1
    • Component/s: Framework
    • Labels:
      None

      Description

      Concurrency issue if someone try to delete a lot of users.

      2017-01-26 10:14:32,848 [mpTaskSpringExecutor-5] ERROR PersistentTaskRunnable  - OLAT::ERROR ^%^ N13-E292 ^%^ org.olat.core.commons.services.taskexecutor.model
      Error while running task in a separate thread: NULL
      >>>stack of 1.cause::java.lang.NullPointerException: null
      -> at org.olat.core.commons.services.taskexecutor.manager.PersistentTaskDAO.pickTaskForRun(PersistentTaskDAO.java:122)
         at org.olat.core.commons.services.taskexecutor.model.PersistentTaskRunnable.run(PersistentTaskRunnable.java:47)
         at org.olat.core.commons.services.taskexecutor.model.DBSecureRunnable.run(DBSecureRunnable.java:42)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
         at java.lang.Thread.run(Thread.java:745)
      

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              srosse Stéphane Rossé
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 35 minutes
                35m