Job get in a infinite loop when an exception is first thrown during write and a second exception is thrown during the retry on processing the first item of the chunk.
In attachment, maven project with a job test case with commit-interval = 5 and skip-limit=3
- read 5 String from ListItemReader
- process String - increment count item processed - throw an exception if count = 6 (first process after first exception)
- write items - throw an exception on first chunk
It seems inputs is never set to busy=false in method scan of FaultTolerantChunkProcessor. (output is never empty)
For now I can't see where the problem come from...