Error message - but not constantly

Hi everyone,



I have a weird problem with my game! From time to time it gives me this error message:


05.06.2009 09:57:43 core.SDExceptionHandler uncaughtException
SCHWERWIEGEND: caucht uncaught exception, quitting game
05.06.2009 09:57:43 core.SDExceptionHandler uncaughtException
SCHWERWIEGEND: null
java.lang.NullPointerException
   at com.jme.renderer.lwjgl.LWJGLRenderer.draw(LWJGLRenderer.java:913)
   at com.jme.scene.batch.TriangleBatch.draw(TriangleBatch.java:255)
   at com.jme.renderer.RenderQueue.renderOrthoBucket(RenderQueue.java:301)
   at com.jme.renderer.RenderQueue.renderBuckets(RenderQueue.java:240)
   at com.jme.renderer.Renderer.renderQueue(Renderer.java:452)
   at com.jme.renderer.lwjgl.LWJGLRenderer.displayBackBuffer(LWJGLRenderer.java:508)
   at com.jmex.game.StandardGame.run(StandardGame.java:200)
   at java.lang.Thread.run(Thread.java:619)



The weird thing is, that it is not constantly! Sometimes it works to start and play the game! Does anybody know what this error is about or where I should take a deeper look into my code?

Thanks for now,
Rapidm

What are you trying to render? A mesh you update?

I can see that you're using jME1, that is not really suggested as many bugs and issues have been fixed in the jME2 version.

Maybe you can post and/or check the line where that error happens? Its probably something obvious.