Do not convert values to List of String in the method write in the class CsvListWriter, because CellProcessors which converts other classes than String fail.
Remove lines 41-47 in the method write of the class CsvListWriter and than the method works correctly.
Result:
/*
* {@inheritDoc}
/
public void write(final List<? extends Object> content, final CellProcessor[] processors) throws IOException {
final List<? super Object> destination = new ArrayList<Object>();
Util.processStringList(destination, content, processors, super.getLineNumber());
write(destination);
}
I've fixed this for the upcoming release (see revision 228). It's now possible to use non-StringCellProcessors with CsvListWriter!