Skip to content
The Jenkins Controller is preparing for shutdown. No new builds can be started.

Regression

com.jogamp.opengl.test.junit.newt.parenting.TestParenting04SWT.winHopFrame2FrameDetachFirst

Failing for the past 1 build (Since Unstable#1036 )
Took 48 ms.

Error Message

Device is disposed

Stacktrace

org.eclipse.swt.SWTException: Device is disposed
	at org.eclipse.swt.SWT.error(SWT.java:4373)
	at org.eclipse.swt.SWT.error(SWT.java:4288)
	at org.eclipse.swt.SWT.error(SWT.java:4259)
	at org.eclipse.swt.widgets.Display.error(Display.java:1182)
	at org.eclipse.swt.widgets.Display.getThread(Display.java:2365)
	at jogamp.newt.swt.SWTEDTUtil.waitUntilStopped(SWTEDTUtil.java:220)
	at jogamp.newt.DisplayImpl.removeEDT(DisplayImpl.java:214)
	at jogamp.newt.DisplayImpl.setEDTUtil(DisplayImpl.java:194)
	at com.jogamp.newt.swt.NewtCanvasSWT.reparentWindow(NewtCanvasSWT.java:348)
	at com.jogamp.newt.swt.NewtCanvasSWT.validateNative(NewtCanvasSWT.java:196)
	at com.jogamp.newt.swt.NewtCanvasSWT$2.handleEvent(NewtCanvasSWT.java:141)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1385)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1409)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1394)
	at org.eclipse.swt.widgets.Control.gtk_expose_event(Control.java:3046)
	at org.eclipse.swt.widgets.Composite.gtk_expose_event(Composite.java:726)
	at org.eclipse.swt.widgets.Canvas.gtk_expose_event(Canvas.java:177)
	at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:2058)
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:5211)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4433)
	at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
	at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:8401)
	at org.eclipse.swt.widgets.Display.eventProc(Display.java:1217)
	at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
	at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2244)
	at org.eclipse.swt.widgets.Shell.setVisible(Shell.java:2128)
	at org.eclipse.swt.widgets.Shell.open(Shell.java:1530)
	at com.jogamp.opengl.test.junit.newt.parenting.TestParenting04SWT$3.run(TestParenting04SWT.java:164)
	at com.jogamp.nativewindow.swt.SWTAccessor.invoke(SWTAccessor.java:481)
	at com.jogamp.opengl.test.junit.newt.parenting.TestParenting04SWT.winHopFrame2Frame(TestParenting04SWT.java:159)
	at com.jogamp.opengl.test.junit.newt.parenting.TestParenting04SWT.winHopFrame2FrameDetachFirst(TestParenting04SWT.java:140)

Standard Error

Thread-1 - SISock: localhost/127.0.0.1:59999 - started
SLOCK [T main @ 1373020598107 ms +++ localhost/127.0.0.1:59999 - Locked within 5 ms, 1 attempts
++++ UITestCase.setUp: com.jogamp.opengl.test.junit.newt.parenting.TestParenting04SWT - winHopFrame2FrameDirectHop
SWTAccessor.<init>: GTK Version: 2.8.10
Thread[main,5,main] RedSquareES2.init ...
RedSquareES2 init on Thread[main,5,main]
Chosen GLCapabilities: GLCaps[glx vid 0x29, fbc 0x29: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/0/0, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]]
INIT GL IS: jogamp.opengl.gl4.GL4bcImpl
Swap Interval  -1
GL Profile     GLProfile[GL4bc/GL4bc.hw]
GL Version     4.2 (hardware) - 4.2.12337 Compatibility Profile Context 13.101 [GL 4.2.0, vendor 13.101.0 (Compatibility Profile Context 13.101)]
Quirks         [DontCloseX11Display]
Impl. class    jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR      ATI Technologies Inc.
GL_RENDERER    ATI Radeon HD 5800 Series 
GL_VERSION     4.2.12337 Compatibility Profile Context 13.101
GLSL           true, has-compiler-func: true, version: 4.30 / 4.30.0
GL FBO: basic true, full true
GL_EXTENSIONS  230
GLX_EXTENSIONS 28
-----------------------------------------------------------------------------------------------------
ShaderState: attachShaderProgram: -1 -> 1 (enable: true)
	null
	ShaderProgram[id=1, linked=false, inUse=false, program: 1,
   ShaderCode[id=1, type=VERTEX_SHADER, valid=true, shader:  2, source]
   ShaderCode[id=2, type=FRAGMENT_SHADER, valid=true, shader:  3, source]]
Thread[main,5,main] RedSquareES2.init FIN
Thread[main,5,main] RedSquareES2.reshape 0/0 394x371, swapInterval 1, drawable 0x3c00002
Thread[main,5,main] RedSquareES2.reshape FIN
Thread[main,5,main] RedSquareES2.reshape 0/0 394x371, swapInterval 1, drawable 0x3c00002
Thread[main,5,main] RedSquareES2.reshape FIN
Thread[main,5,main] GearsES2.init ...
GearsES2 init on Thread[main,5,main]
Chosen GLCapabilities: GLCaps[glx vid 0x29, fbc 0x29: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/0/0, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]]
INIT GL IS: jogamp.opengl.gl4.GL4bcImpl
Swap Interval  -1
GL Profile     GLProfile[GL4bc/GL4bc.hw]
GL Version     4.2 (hardware) - 4.2.12337 Compatibility Profile Context 13.101 [GL 4.2.0, vendor 13.101.0 (Compatibility Profile Context 13.101)]
Quirks         [DontCloseX11Display]
Impl. class    jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR      ATI Technologies Inc.
GL_RENDERER    ATI Radeon HD 5800 Series 
GL_VERSION     4.2.12337 Compatibility Profile Context 13.101
GLSL           true, has-compiler-func: true, version: 4.30 / 4.30.0
GL FBO: basic true, full true
GL_EXTENSIONS  230
GLX_EXTENSIONS 28
-----------------------------------------------------------------------------------------------------
gear1 created: com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2@2e05a7b7
gear2 created: com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2@7545f6fb
gear3 created: com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2@445a14e3
Thread[main,5,main] GearsES2.init FIN
Thread[main,5,main] GearsES2.reshape 0/0 396x373, swapInterval 1, drawable 0x3c00004
Thread[main,5,main] GearsES2.display 396x373, swapInterval 1, drawable 0x3c00004
Thread[main,5,main] GearsES2.reshape 0/0 396x373, swapInterval 1, drawable 0x3c00004
Thread[main,5,main] GearsES2.display 396x373, swapInterval 1, drawable 0x3c00004
Thread[main,5,main] GearsES2.display 396x373, swapInterval 1, drawable 0x3c00004
Thread[main-Animator,5,main] GearsES2.reshape 0/0 394x371, swapInterval 1, drawable 0x3c00004
Thread[main-Animator,5,main] RedSquareES2.reshape 0/0 396x373, swapInterval 1, drawable 0x3c00002
Thread[main-Animator,5,main] RedSquareES2.reshape FIN
Thread[main-Animator,5,main] RedSquareES2.reshape 0/0 394x371, swapInterval 1, drawable 0x3c00002
Thread[main-Animator,5,main] RedSquareES2.reshape FIN
Thread[main-Animator,5,main] GearsES2.reshape 0/0 396x373, swapInterval 1, drawable 0x3c00004
Thread[main,5,main] RedSquareES2.dispose ... 
Thread[main,5,main] RedSquareES2.dispose FIN
Thread[main,5,main] GearsES2.dispose ... 
Thread[main,5,main] GearsES2.dispose FIN
++++ UITestCase.tearDown: com.jogamp.opengl.test.junit.newt.parenting.TestParenting04SWT - winHopFrame2FrameDirectHop
++++ UITestCase.setUp: com.jogamp.opengl.test.junit.newt.parenting.TestParenting04SWT - winHopFrame2FrameDetachFirst
org.eclipse.swt.SWTException: Device is disposed
	at org.eclipse.swt.SWT.error(SWT.java:4373)
	at org.eclipse.swt.SWT.error(SWT.java:4288)
	at org.eclipse.swt.SWT.error(SWT.java:4259)
	at org.eclipse.swt.widgets.Display.error(Display.java:1182)
	at org.eclipse.swt.widgets.Display.getThread(Display.java:2365)
	at jogamp.newt.swt.SWTEDTUtil.isCurrentThreadEDT(SWTEDTUtil.java:107)
	at jogamp.newt.DisplayImpl.runOnEDTIfAvail(DisplayImpl.java:222)
	at jogamp.newt.WindowImpl.runOnEDTIfAvail(WindowImpl.java:1755)
	at jogamp.newt.WindowImpl.setVisible(WindowImpl.java:913)
	at jogamp.newt.WindowImpl.setVisible(WindowImpl.java:918)
	at com.jogamp.newt.opengl.GLWindow.setVisible(GLWindow.java:417)
	at com.jogamp.newt.swt.NewtCanvasSWT.dispose(NewtCanvasSWT.java:244)
	at com.jogamp.newt.swt.NewtCanvasSWT$2.handleEvent(NewtCanvasSWT.java:155)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1385)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1409)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1390)
	at org.eclipse.swt.widgets.Widget.release(Widget.java:1207)
	at org.eclipse.swt.widgets.Control.release(Control.java:3608)
	at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1317)
	at org.eclipse.swt.widgets.Widget.release(Widget.java:1210)
	at org.eclipse.swt.widgets.Control.release(Control.java:3608)
	at org.eclipse.swt.widgets.Widget.dispose(Widget.java:478)
	at com.jogamp.opengl.test.junit.newt.parenting.TestParenting04SWT$2.run(TestParenting04SWT.java:113)
	at com.jogamp.nativewindow.swt.SWTAccessor.invoke(SWTAccessor.java:481)
	at com.jogamp.opengl.test.junit.newt.parenting.TestParenting04SWT.release(TestParenting04SWT.java:111)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:37)
	at org.junit.rules.TestWatchman$1.evaluate(TestWatchman.java:48)
	at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)
++++ UITestCase.tearDown: com.jogamp.opengl.test.junit.newt.parenting.TestParenting04SWT - winHopFrame2FrameDetachFirst
SLOCK [T main @ 1373020601336 ms --- localhost/127.0.0.1:59999 - Unlock ok within 1 ms