Skip to content

After restarting a failed job using RunIdIncrementer, all subsequent job launches throw ClassCastException #3799

Closed
@cppwfs

Description

@cppwfs

When using the RunIdIncrementer as an incrementer for a batch job, a user is unable to launch the batch job again with a new runId after restarting a previous job instance.
The RunIdIncrementer throws a ClassCastException.

Minimal Complete Reproducible example
Using this Project https://github.com/cppwfs/runiddemo

  1. java -jar target/batchdemo-0.0.1-SNAPSHOT.jar
  2. java -jar target/batchdemo-0.0.1-SNAPSHOT.jar run.id=1
  3. java -jar target/batchdemo-0.0.1-SNAPSHOT.jar
    Step 3 will exhibit the error.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions