Program does not go into the switch statements at all !

It seems odd to me, that when you read your char, and if it isn't a comma you stick it in your array, it seems odd to me that there isn't a " fieldIndex++ ; " immediately after you stick it in the array.