Skip to content

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

@tysonsorensen

Description

@tysonsorensen

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions