Affects Version/s: None
Environment:reproduced with [SpringBatch 2.1.5/ Spring 3.0.2] and [SpringBatch 2.1.8/ Spring 3.0.2].
Using a FlatFileItemWriter to write into a file on full diks/memorystick. (note: there must be enough space on the disk/memorystik to create the file during the call of open() ).
What would I expect:
The step and also the job should fail, since the data could not be written into the fail, because missing space.
The IOException is simply logged, but the step is not failing.
What is the result:
The written file is corrupt, since not complete. A restart is not possible, since the failing step actually ends with state COMPLETED.
What causes the problem:
Described in http://forum.springsource.org/showthread.php?115739-DiskFull-IOException-does-not-result-in-a-failed-job-when-writing-to-a-file