java.lang.NumberFormatException: 100 //the 100 is the age it is reading in from the file

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

You try to parse a String that contains non-numeric characters to an int. The string must contain decimal characters only, optionally beginning with a + or - sign.

Solutions on the web

via Oracle Community by 807553, 1 year ago
100 //the 100 is the age it is reading in from the file
via Oracle Community by 843833, 1 year ago
via Apache Bugzilla by turner, 1 year ago
via Oracle Community by 807593, 1 year ago
98, 93, 54, 32, 65, 12, 9, 94, 88, 84, 83, 80, 19, 100, 67, 79, 76, 89, 95, 92, 45, 57, 87, 90, 100
via Oracle Community by 807546, 1 year ago
numbers // name of input file
via linuxquestions.org by Unknown author, 1 year ago
java.lang.NumberFormatException: 100 //the 100 is the age it is reading in from the file
at java.lang.Integer.parseInt(Integer.java:414)
at java.lang.Integer.parseInt(Integer.java:454)
at undefined.Student.readStudent(Student.java:49)

Users with the same issue

125 times, 4 months ago
Once, 2 months ago
3 times, 11 months ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
181 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.