Strange error happened all of a sudden

Anyone saw this error before???



[java]

Aug 20, 2012 4:25:20 PM com.jme3.app.Application handleError

SEVERE: Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]

java.lang.AssertionError

at com.jme3.scene.Node.updateWorldBound(Node.java:131)

at com.jme3.scene.Node.updateGeometricState(Node.java:182)

at com.jme3.scene.Node.updateGeometricState(Node.java:177)

at com.jme3.app.SimpleApplication.update(SimpleApplication.java:249)

at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:149)

at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:182)

at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:223)

at java.lang.Thread.run(Thread.java:619)

[/java]

Is there any chance you are updating things from the wrong thread?

That was my first guess but I’m enqueing all the code done on other threads on the main simple application rendering thread

do you have this exception on start, or when?



if on start, could you show simpleInitApp?



it can be caused, because of your earlier actions that destroy engine logic(in init or update loop), or it is just a BUG.



from actual stack trace it’s hard to deduce anything. even looking into source. the only thing we can know, it’s AssertionError.

1 Like

I have it on runtime, looks like a race condition or something i’ll look more



thanks

u were right, totally running another thread and they seemed to conflict



thanks!

in such situations it’s hard to find the issue. it’s good you found. :slight_smile:

https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:advanced:multithreading