Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty entry in job/trigger data map when editing job/trigger. #97

Open
tysonsorensen opened this issue Oct 27, 2022 · 0 comments
Open

Comments

@tysonsorensen
Copy link

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

Save and edit again:
afterSave

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant