I'm developing a code for a multi-agent system based on a mesh and sometimes when I start the sketch I get this error:
Exception in thread "Animation Thread" java.lang.RuntimeException: Waited 5000ms for: <4cf221f6, 2c93c4f1>[count 2, qsz 0, owner <AWT-EventQueue-0>] - <Animation Thread>
at jogamp.common.util.locks.RecursiveLockImpl01Unfairish.lock(RecursiveLockImpl01Unfairish.java:197)
at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:539)
at processing.opengl.PGL.requestDraw(PGL.java:814)
at processing.opengl.PGraphicsOpenGL.requestDraw(PGraphicsOpenGL.java:1566)
at processing.core.PApplet.run(PApplet.java:2020)
at java.lang.Thread.run(Thread.java:662)
After trowing the exception, Processing continues to calculate, till when the setup ends; then it visualize the first frame and freeze. I really cannot figure out what the problem is, especially because it's occurring just sometimes.
I'm using Processing 2.07 and the libraries Toxiclibs, PeasyCam and ControlP5...
Thank you!
1