I am getting the following error while parsing the CSV file using the Apache Commons CSV library.
Exception in thread \"main\" java.io.IOException: (line 2)
We ran into this in this same error with data containing quotes in otherwise unquoted input. I.e.:
some cell|this "cell" caused issues|other data
It was hard to find, but in Apache's docs, they mention the withQuote()
method which can take null
as a value.
We were getting the exact same error message and this (thankfully) ended up fixing the issue for us.