History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QUARTZ-91
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: James House
Reporter: bernhard huber
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Quartz Scheduler

NullPointerException in updateWithNewCalendar

Created: 10/Nov/04 06:28 AM   Updated: 23/Nov/04 11:49 AM
Component/s: Triggers
Affects Version/s: 1.4.2
Fix Version/s: 1.4.3


 Description  « Hide
addCalendar using replace = true, and updateTriggers = true evaluates NPE in updateWithNewCalendar.
This happens if addCalendar calcs a nextFireTime == null in updateWithNewCalendar.

Changing from
...if(nextFireTime.before(now)) {...
to
...if(nextFireTime != null && nextFireTime.before(now)) {...
in updateWithNewCalendar for Simple- and CronTrigger
might fix the NPE


 All   Comments   Change History      Sort Order:
There are no comments yet on this issue.