Bug 431 - Removing animator causes java.lang.RuntimeException
Summary: Removing animator causes java.lang.RuntimeException
Status: VERIFIED FIXED
Alias: None
Product: Jogl
Classification: JogAmp
Component: util (show other bugs)
Version: 2
Hardware: pc_x86_32 windows
: P3 major
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2010-11-22 17:41 CET by Martin Karing
Modified: 2010-11-23 03:36 CET (History)
0 users

See Also:
Type: DEFECT
SCM Refs:
Workaround: ---


Attachments
Testcase that shows the bug (3.81 KB, application/zip)
2010-11-22 17:41 CET, Martin Karing
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Karing 2010-11-22 17:41:32 CET
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.
Comment 1 Martin Karing 2010-11-23 03:36:07 CET
Fixed in autobuild 229