We are seeing an empty entry in the data map when editing jobs and/or triggers. This causes jobs to not be able to run because Quartz can't handle empty strings. This empty entry is causing Quartz to error with:
An error occured instantiating job to be executed. job= '
org.quartz.SchedulerException: Problem instantiating class
at org.quartz.core.JobRunShell.initialize(JobRunShell.java:141)
at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:387)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 1
at java.lang.String.substring(String.java:1963)
at org.quartz.simpl.PropertySettingJobFactory.setBeanProps(PropertySettingJobFactory.java:98)
at org.quartz.simpl.PropertySettingJobFactory.newJob(PropertySettingJobFactory.java:76)
at org.quartz.core.JobRunShell.initialize(JobRunShell.java:134)
Clicking edit button:
Save and edit again:
The only way I can find to fix after getting into this state is to delete all the Job Data Map entries and then add the one you want back.
This is my first bug report, so please let me know if you need/want more info.
We are seeing an empty entry in the data map when editing jobs and/or triggers. This causes jobs to not be able to run because Quartz can't handle empty strings. This empty entry is causing Quartz to error with:
An error occured instantiating job to be executed. job= '
org.quartz.SchedulerException: Problem instantiating class
at org.quartz.core.JobRunShell.initialize(JobRunShell.java:141)
at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:387) Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 1
at java.lang.String.substring(String.java:1963)
at org.quartz.simpl.PropertySettingJobFactory.setBeanProps(PropertySettingJobFactory.java:98)
at org.quartz.simpl.PropertySettingJobFactory.newJob(PropertySettingJobFactory.java:76)
at org.quartz.core.JobRunShell.initialize(JobRunShell.java:134)
Clicking edit button:![fresh](https://user-images.githubusercontent.com/6404993/198418133-8b6e9003-2146-4875-8c85-3b737010dc93.png)
Save and edit again:![afterSave](https://user-images.githubusercontent.com/6404993/198418127-bec4842d-44a9-4571-a81e-d28d67c221b6.png)
The only way I can find to fix after getting into this state is to delete all the Job Data Map entries and then add the one you want back.
This is my first bug report, so please let me know if you need/want more info.