Hi guys, this problem has been frustrating me for hours, I've tried changing the code with little tweaks and commenting out bits to test it and dumping stuff to system.out to see what is happening along the way but I can't find a reason for this exception.
I'm building a csv parser (yes I know some already exist but my supervisor wants me to do this as part of a project) My code is included below
the test csv file I use looks like this:
"CaseId","Age","Name","Height [m]"
1,21,"Alan",1.82
2,45,"Steve",1.53
3,54,"Rick",1.72
4,32,"Jon",1.49
5,67,Chris,1.93
The exception occurs at line 47
all I'm doing in that section is differentiating between types, so storing the type of each column of data as either "s" for a string, "r" for a double, and "i" for an integer and then adding it to my 'table'(which is an arraylist of arraylists).
Any help greatly appreciated!