Please, see the file attached - it's a CSV export from the YouTrack issue tracker.
I read it as
List<String> lines = new CSVReader( new FileReader( f )).readAll()
I then verify that all lines read have an identical size, equal to lines[ 0 ].size() (17 for this file) which is a line of headers.
But it's not so - many lines are of size less than 17, some are of size more than 17. It seems to be related to lines with a multi-line entries which CSVReader doesn't read correctly.
You can see those 3 screenshots for more details:
Evgeny Goldin ( Evgeny Goldin ) - 2011-10-19 07:40:51 PDT