Startup fails with "Cannot find any job execution for job instance". #4763
Labels
status: waiting-for-reporter
Issues for which we are waiting for feedback from the reporter
type: bug
Bug description
Our project (ComiXed) uses Spring Batch for processing. We have one configured job that is run on startup if an incompletely process is found:
After rebooting our application, it will startup and complain that it can't find this process (see stacktrace below) and prevents the application from starting. The only way to recover is to either drop the batch tables or else empty them out completely.
Environment
Java 17
Spring Boot 3.4.1
PostgreSQL 15
Steps to reproduce
Expected behavior
Minimal Complete Reproducible example
Running our server app, importing some comics, then restarting the server will produce this problem about 50% of the time.
Stacktrace
The text was updated successfully, but these errors were encountered: