I have solved the problem now, I didn't declare the array lists properly.
Thank you so much for all your help!
Type: Posts; User: depi
I have solved the problem now, I didn't declare the array lists properly.
Thank you so much for all your help!
When i write it I get this message
run:
theLine=[1, 622803, 6.1]
Exception in thread "main" java.lang.NullPointerException
at pocp.dataIn.readFile(dataIn.java:40)
at...
Line 38 is
chlData[0].add(Double.parseDouble(theLine[0]));
It did write out the values from value "line" before line 38 at it actually snaps up the correct numbers. And when I print out the...
Hmm, i tried to reply but the message got lost. Trying again.
The program compiles ok but the error occurs when i execute it. Here's the error messages.
"run:
Exception in thread "main"...
Here's my code so far, as I understand it it doesn't succeed reading in the numbers,
I have a txt file which is tab delimited, in 3 columns and a lot of rows, e.g
1 23 343
2 34 355
3 31 435...