java.lang.NullPointerException: This exception has no message.

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

,
Expert tip

One of the variables you're using is set to Null or you're passing a Null value to a method expecting another kind of value

Solutions on the web

via Coderanch by Brian LaRue, 1 year ago
This exception has no message.
java.lang.NullPointerException:
at undefined.StartGame.getWhatToDo(StartGame.java:33)
at undefined.StartGame.(StartGame.java:9)
at undefined.Main.main(Main.java:3)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 month ago
5 times, 1 month ago
Once, 2 months ago
Once, 6 months ago
Once, 6 months ago

Write tip

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