lostinjava
Programmer
When I run my program, in the black box I get:
Exception in thread "main" java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:394)
at java.lang.Integer.parseInt(Integer.java:476)
at J2.main(J2.java:59)
Line 59 of my program is:
lineone=Integer.parseInt(line);
"lineone" is an int and "line" is a string
any suggestions on what to do? if you have any, i would really appreciate the help, though i am very new with programming and dont know all the technical language
thanks
Exception in thread "main" java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:394)
at java.lang.Integer.parseInt(Integer.java:476)
at J2.main(J2.java:59)
Line 59 of my program is:
lineone=Integer.parseInt(line);
"lineone" is an int and "line" is a string
any suggestions on what to do? if you have any, i would really appreciate the help, though i am very new with programming and dont know all the technical language
thanks