1. opensymphony
  2. quartz

Commits

jhouse  committed 024414e

QUARTZ-715: Possible NPE during recovery of misfired triggers in JDBC JobStore

git-svn-id: http://svn.opensymphony.com/svn/quartz/trunk@89269f7d36a-ea1c-0410-88ea-9fd03e4c9665

  • Participants
  • Parent commits dbdf344
  • Branches master

Comments (0)

Files changed (1)

File src/java/org/quartz/impl/jdbcjobstore/JobStoreSupport.java

View file
 
             doUpdateOfMisfiredTrigger(conn, null, trig, false, STATE_WAITING, recovering);
 
-            if(trig.getNextFireTime().getTime() < earliestNewTime)
+            if(trig.getNextFireTime() != null && trig.getNextFireTime().getTime() < earliestNewTime)
             	earliestNewTime = trig.getNextFireTime().getTime();
             
             signaler.notifyTriggerListenersMisfired(trig);