java.lang.NumberFormatException: null

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

java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:483)
at java.lang.Integer.parseInt(Integer.java:556)
at com.maz.quizzdat.DbHandler.getQuestionByType(DbHandler.java:176)
at com.maz.quizzdat.MainActivity$1.onClick(MainActivity.java:47)

Users with the same issue

24 times, 2 months ago
Once, 1 week ago
2 times, 1 month ago
2 times, 2 months ago
5 times, 4 months ago
181 more bugmates

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