Closed almex closed 8 years ago
As we have moved to ResourceLocator
pattern I don't think this issue will happen again
Those two logs expose the problem : step2Processor.txt step2Writer.txt 03/02/2016 Bruxelles -> Liège is not part of the new file
From 04/02/2016 this is what we have in the writer :
FlatFileItemWriter Writing to flat file with 1 items. SortedItemStreamWriter Item added: 2016-02-04 Liege-Guillemins Bruxelles-Central 06:40:00 07:37:00 7444 06:41:00 08:04:00 7444 27 DEPARTURE SortedItemStreamWriter Indexed item to=0 SortedItemStreamWriter Items sorted=1 ExcelSheetItemWriter Output file '/diskstation/NetDrive/999 - Divers/SNCB/retard_sncb 20160204.xls' created=true ExcelSheetItemWriter Previous row=null SortedItemStreamWriter Written 1 items
Maybe the error is located in SortedItemStreamWriter
...
Maybe it's linked to the issue [#16] or not. Following the log (and upon a restart in my test) if this processor re-process the last element it declare it as to be added to a new line instead of finding the matching element. Maybe it's a bug in the AbstractItemResourceLocator or its sub-classes. It has to checked upon a restart to validate all possibilities.