Closed
Description
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
java -jar target/batchdemo-0.0.1-SNAPSHOT.jar
java -jar target/batchdemo-0.0.1-SNAPSHOT.jar run.id=1
java -jar target/batchdemo-0.0.1-SNAPSHOT.jar
Step 3 will exhibit the error.