Summary: | Removing animator causes java.lang.RuntimeException | ||
---|---|---|---|
Product: | [JogAmp] Jogl | Reporter: | Martin Karing <karing.martin> |
Component: | util | Assignee: | Sven Gothel <sgothel> |
Status: | VERIFIED FIXED | ||
Severity: | major | ||
Priority: | P3 | ||
Version: | 2 | ||
Hardware: | pc_x86_32 | ||
OS: | windows | ||
Type: | DEFECT | SCM Refs: | |
Workaround: | --- | ||
Attachments: | Testcase that shows the bug |
Fixed in autobuild 229 |
Created attachment 168 [details] Testcase that shows the bug Removing a animator from a GLAutoDrawable causes sometimes a java.lang.RuntimeException that reads something like this: java.lang.RuntimeException: Waited 5000ms for: Thread[Timer-0,5,main] - Thread[main,5,main], with recursionCount 0, lock: com.jogamp.common.util.locks.RecursiveLock@66e815, qsz 0 at com.jogamp.common.util.locks.RecursiveLock.lock(RecursiveLock.java:125) at com.jogamp.opengl.util.AnimatorBase.remove(AnimatorBase.java:96) at illarion.graphics.jogl.test.SetAndRemoveAnimatorAWT$TestCanvas.setFPS(SetAndRemoveAnimatorAWT.java:153) at illarion.graphics.jogl.test.SetAndRemoveAnimatorAWT.testAnimatorSetRemove(SetAndRemoveAnimatorAWT.java:262) Used Java: Oracle Java 1.6.0 b22 Used OS: Windows 7 x86 Used GL Implementation: Default (GL2) Used version of JOGL: Version 2 - Autobuild b224 (Gluegen and Nativewindow from the same deploy directory) The test case should be called without additional parameters. It requires JUnit 4, JOGL, NativeWindow and Gluegen.