Render exception!


An exception was catched while rendering.

it says:

java.lang.IndexOutOfBoundsException: Index: 82, Size: 82

at java.util.ArrayList.RangeCheck(Unknown Source)

at java.util.ArrayList.get(Unknown Source)

at com.jme.scene.Node.draw(

at com.jme.scene.Spatial.onDraw(

at com.jme.renderer.lwjgl.LWJGLRenderer.draw(




at Source)

Does that mean the render thread try to render something which some other thread already delete?

Yes, either another thread or a draw/render method has removed a spatial while rendering. That should not happen. Ensure you are rendering only while no other thread is modifying the scenegraph, or if you overwrite any draw/onDraw methods don't alter the scenegraph in there.