Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
As reported here:
http://stackoverflow.com/questions/39013258/batchee-getrunningexecutions-method-throws-javax-batch-operations-nosuchjobexcep
I took a quick look and the JPA persistence looks fine.. but the in-memory one seems to have a bug (which presumably the SO user was using). The code breaks out of the loop as soon as it finds an instance matching the job name. But really every job instance should be looked at, not just the first one.