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

Solutions on the web

java.lang.NullPointerException at com.josh.game.level.RandomLevel.generateLevel(RandomLevel.java:16) at com.josh.game.level.Level.<init>(Level.java:14) at com.josh.game.level.RandomLevel.<init>(RandomLevel.java:10) at com.josh.game.Game.<init>(Game.java:46) at com.josh.game.Game.main(Game.java:136)