Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main] java.lang.NullPointerException

Please help me .
Link of my game http://adventuresinjme.blogspot.com/


Here is the thing about exceptions. They are nearly 100% USELESS without a stack trace. Really don’t even bother posting about them. You might as well shout “I have an error!” out your window for all the good it will do.

See this part where you cut off your screen shot:

There would have been a stack trace in there that you could simply have cut and pasted here. Then we could tell you what line of your application is accessing a null pointer… or you could look, too.

1 Like

What users do, to get the best answer:

  1. for exception: provide stack trace (it’s really simple with the SDK - just copy and paste)
  2. for anything else: precisely describe: what you want, what you do, what you expect to happen
  3. provide info (jme 3.0 or 3.1, OS, graphics card, OpenGL version) (it’s really simple with the SDK)
  4. provide a small code example that demonstrates your problem

You don’t always need 2. and 3. but you might get asked to provide that later in the discussion.

Best thing: Debug your own code to get more info (it’s really simple with the SDK).

i’m so sorry, It’s my fault. I will try to improve my questions. Thanks you :smile:


Problem solved then? :smiley: