1. timemachine
  2. scheduler
  3. Issues
Issue #24 resolved

PollingScheduleRunner throws NPE when delete Schedules

Zemian Deng
created an issue

When deleting all Schedules in a busy scheduler with many Schedules running, occasionally we get this NPE:

22:37:56 TimeMachineScheduler-System-Thread-1 ERROR timemachine.scheduler.service.PollingScheduleRunner| Failed to poll dataStore for schedule to run. java.lang.NullPointerException at timemachine.scheduler.service.PollingScheduleRunner.checkSchedulesToRun(PollingScheduleRunner.java:315) at timemachine.scheduler.service.PollingScheduleRunner.run(PollingScheduleRunner.java:357) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722)

Comments (3)

  1. Log in to comment