Render exception!

hi,there.



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(Node.java:509)

at com.jme.scene.Spatial.onDraw(Spatial.java:215)

at com.jme.renderer.lwjgl.LWJGLRenderer.draw(LWJGLRenderer.java:1179)

at MyApp.net.NetInfoShow.render(NetInfoShow.java:240)

at com.jme.app.FixedFramerateGame.start(FixedFramerateGame.java:170)

at MyApp.net.NetInfoShow.run(NetInfoShow.java:1310)

at java.lang.Thread.run(Unknown 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.