The exception is thrown with a message containing `jobParameters` , which is not what is used in the if to do the check. https://github.com/spring-projects/spring-batch/blob/d24eb6a6eda857c9a6123795c76b11264622894e/spring-batch-core/src/main/java/org/springframework/batch/core/repository/support/SimpleJobRepository.java#L140 Exists since 3.0.10.RELEASE at least.