Details
-
Fix
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
1.10
-
None
Description
Current Situation
- User configure a stand-alone job with the configuration monitor sos.scheduler.managed.configuration.ConfigurationOrderMonitor
- When Job is executed the job throws a warning
2018-11-12 10:40:00.004+0100 [info] SCHEDULER-726 Task runs on this JobScheduler 'http://EC2AMAZ-D2SBRU6:4410' 2018-11-12 10:40:00.004+0100 [info] SCHEDULER-918 state=starting (at=never) 2018-11-12 10:40:00.770+0100 [WARN] error occurred in spooler_process_before: null 2018-11-12 10:40:04.442+0100 [WARN] SCHEDULER-320 Could not send mail
How to reproduce
- Deploy attached folder Ticket#2018111210000011.zip in the ./config/live folder
- From JOC change the run time to e.g. 14:35 so that job is executed some other time then scheduled time.
- Job wil be executed on changed run time, Check the task log for the error.
Note
The given configuration makes no sense as ConfigurationOrderMonitor can only be used with order job (order=yes) as the name of the monitor also indicates. But there should be no NPE. Therefore the change is that the monitor returns always true and does nothing if it is used in a standalone job.