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

Regression

com.jogamp.opengl.test.junit.jogl.demos.es2.swt.TestGearsES2SWT.test02GL3

Failing for the past 1 build (Since Unstable#1508 )
Took 99 ms.

Error Message

Cannot invoke "org.eclipse.swt.internal.cocoa.NSGraphicsContext.saveGraphicsState()" because "context" is null

Stacktrace

java.lang.NullPointerException: Cannot invoke "org.eclipse.swt.internal.cocoa.NSGraphicsContext.saveGraphicsState()" because "context" is null
	at org.eclipse.swt.widgets.Widget.drawRect(Widget.java:764)
	at org.eclipse.swt.widgets.Canvas.drawRect(Canvas.java:170)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:6287)
	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
	at org.eclipse.swt.widgets.Display.applicationNextEventMatchingMask(Display.java:5565)
	at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5965)
	at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
	at org.eclipse.swt.internal.cocoa.NSApplication.nextEventMatchingMask(NSApplication.java:92)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3983)
	at com.jogamp.opengl.test.junit.util.SWTTestUtil$WaitAction$1.run(SWTTestUtil.java:51)
	at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:183)
	at org.eclipse.swt.widgets.Display.syncExec(Display.java:5250)
	at com.jogamp.opengl.test.junit.util.SWTTestUtil$WaitAction.run(SWTTestUtil.java:61)
	at com.jogamp.opengl.test.junit.jogl.demos.es2.swt.TestGearsES2SWT.runTestGL(TestGearsES2SWT.java:204)
	at com.jogamp.opengl.test.junit.jogl.demos.es2.swt.TestGearsES2SWT.test02GL3(TestGearsES2SWT.java:253)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

Standard Error

++++ Test Singleton.ctor()
++++ Test Singleton.lock()
SLOCK [T SingletonServerSocket1-localhost/127.0.0.1:59999 @ 1674267408383 ms III - Start
SLOCK [T main @ 1674267408384 ms +++ localhost/127.0.0.1:59999 - Locked within 13 ms, 1 attempts
++++ TestCase.setUp: com.jogamp.opengl.test.junit.jogl.demos.es2.swt.TestGearsES2SWT - test01GL2ES2
Loop 1/1
requested: vsync 1, GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono  , hw, GLProfile[GL4/GL4.hw], on-scr[.]]
NW chosen: GLCaps[rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono  , hw, GLProfile[GL4/GL4.hw], on-scr[.]]
GL chosen: GLCaps[rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono  , hw, GLProfile[GL4/GL4.hw], on-scr[.]]
window pos/siz: Point {0, 0} 640x452
Thread[main-Animator#00,5,main] GearsES2.init.0 0x6356695f: tileRendererInUse null, GearsES2[obj 0x6356695f isInit false, usesShared false, 1 null, 2 null, 3 null, sharedGears null]
GearsES2 init 0x6356695f on Thread[main-Animator#00,5,main]
Chosen GLCapabilities: GLCaps[rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono  , hw, GLProfile[GL4/GL4.hw], on-scr[.]]
INIT GL IS: jogamp.opengl.gl4.GL4bcImpl
Swap Interval  1
GL Profile     GLProfile[GL4/GL4.hw]
GL Version     4.1 (Core profile, arb, compat[ES2, ES3], FBO, hardware) - 4.1 INTEL-18.8.5 [GL 4.1.0, vendor 18.8.5 (INTEL-18.8.5)]
Quirks         [NoOffscreenBitmap, GL4NeedsGL3Request, NeedSharedObjectSync]
Impl. class    jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR      Intel Inc.
GL_RENDERER    Intel Iris OpenGL Engine
GL_VERSION     4.1 INTEL-18.8.5
GLSL           true, has-compiler-func: true, version: 4.10 / 4.10.0
GL FBO: basic true, full true
GL_EXTENSIONS  45
GLX_EXTENSIONS 0
-----------------------------------------------------------------------------------------------------
gear1 0x6356695f created: GearsObj[0x22f236c4, vbo ff 1, fs 2, bf 3, bs 4]
gear2 0x6356695f created: GearsObj[0x3ba7f9a3, vbo ff 7, fs 8, bf 9, bs 10]
gear3 0x6356695f created: GearsObj[0x3ba7f9a3, vbo ff 7, fs 8, bf 9, bs 10]
Thread[main-Animator#00,5,main] GearsES2.init.X 0x6356695f FIN GearsES2[obj 0x6356695f isInit true, usesShared false, 1 GearsObj[0x22f236c4, vbo ff 1, fs 2, bf 3, bs 4], 2 GearsObj[0x3ba7f9a3, vbo ff 7, fs 8, bf 9, bs 10], 3 GearsObj[0x35ee6a78, vbo ff 13, fs 14, bf 15, bs 16], sharedGears null]
Thread[main-Animator#00,5,main] GearsES2.reshape 0x6356695f 0/0 640x452 of 640x452, swapInterval 1, drawable 0x7febb473d550, msaa false, tileRendererInUse null
>> GearsES2 0x6356695f, angle 0.0, [l -1.4159292, r 1.4159292, b -1.0, t 1.0] 2.8318584x2.0 -> [l -1.4159292, r 1.4159292, b -1.0, t 1.0] 2.8318584x2.0, v-flip false
finishLifecycleAction(com.jogamp.opengl.util.Animator$3): ++++++ timeout reached ++++++ main
finishLifecycleAction(com.jogamp.opengl.util.Animator$3): OK false- pollPeriod 1000, blocking true -> res false, waited 1005/1000 - main
 - com.jogamp.opengl.util.Animator[started true, animating true, paused true, drawable 1, totals[dt 0, frames 3, fps 0.0], modeBits 0, init'ed true, animThread Thread[main-Animator#00,5,main], exclCtxThread false(null)]
    [2]: com.jogamp.opengl.util.AnimatorBase.finishLifecycleAction(AnimatorBase.java:634)
    [3]: com.jogamp.opengl.util.Animator.pause(Animator.java:332)
    [4]: com.jogamp.opengl.swt.GLCanvas$5.run(GLCanvas.java:211)
    [5]: com.jogamp.opengl.swt.GLCanvas.runInGLThread(GLCanvas.java:975)
    [6]: com.jogamp.opengl.swt.GLCanvas.dispose(GLCanvas.java:655)
    [7]: com.jogamp.opengl.swt.GLCanvas$7.handleEvent(GLCanvas.java:398)
    [8]: org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
    [9]: org.eclipse.swt.widgets.Display.sendEvent(Display.java:4646)
    [10]: org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1524)
    [11]: org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1547)
    [12]: org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1528)
    [13]: org.eclipse.swt.widgets.Widget.release(Widget.java:1356)
    [14]: org.eclipse.swt.widgets.Control.release(Control.java:2970)
    [15]: org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:994)
    [16]: org.eclipse.swt.widgets.Widget.release(Widget.java:1363)
    [17]: org.eclipse.swt.widgets.Control.release(Control.java:2970)
    [18]: org.eclipse.swt.widgets.Widget.dispose(Widget.java:695)
    [19]: com.jogamp.opengl.test.junit.jogl.demos.es2.swt.TestGearsES2SWT$3.run(TestGearsES2SWT.java:128)
    [20]: org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:183)
    [21]: org.eclipse.swt.widgets.Display.syncExec(Display.java:5250)
    [22]: com.jogamp.opengl.test.junit.jogl.demos.es2.swt.TestGearsES2SWT.release(TestGearsES2SWT.java:126)
    [23]: java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [24]: java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    [25]: java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [26]: java.base/java.lang.reflect.Method.invoke(Method.java:568)
    [27]: org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
    [28]: org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    [29]: org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
    [30]: org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
    [31]: org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
    [32]: org.junit.rules.RunRules.evaluate(RunRules.java:20)
    [33]: org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
    [34]: org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    [35]: org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    [36]: org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    [37]: org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    [38]: org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    [39]: org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    [40]: org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    [41]: org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    [42]: org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    [43]: org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    [44]: junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38)
    [45]: org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)
    [46]: org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)
    [47]: org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1041)
Thread[main,5,main] GearsES2.dispose 0x6356695f: tileRendererInUse null
Thread[main,5,main] GearsES2.dispose 0x6356695f FIN
++++ TestCase.tearDown: com.jogamp.opengl.test.junit.jogl.demos.es2.swt.TestGearsES2SWT - test01GL2ES2
++++ TestCase.setUp: com.jogamp.opengl.test.junit.jogl.demos.es2.swt.TestGearsES2SWT - test02GL3
requested: vsync 1, GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono  , hw, GLProfile[GL3/GL4.hw], on-scr[.]]
NW chosen: GLCaps[rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono  , hw, GLProfile[GL3/GL4.hw], on-scr[.]]
GL chosen: GLCaps[rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono  , hw, GLProfile[GL3/GL4.hw], on-scr[.]]
window pos/siz: Point {0, 0} 640x452
Thread[main-Animator#01,5,main] GearsES2.init.0 0x368f2016: tileRendererInUse null, GearsES2[obj 0x368f2016 isInit false, usesShared false, 1 null, 2 null, 3 null, sharedGears null]
GearsES2 init 0x368f2016 on Thread[main-Animator#01,5,main]
Chosen GLCapabilities: GLCaps[rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono  , hw, GLProfile[GL3/GL4.hw], on-scr[.]]
INIT GL IS: jogamp.opengl.gl4.GL4bcImpl
Swap Interval  1
GL Profile     GLProfile[GL4/GL4.hw]
GL Version     4.1 (Core profile, arb, compat[ES2, ES3], FBO, hardware) - 4.1 INTEL-18.8.5 [GL 4.1.0, vendor 18.8.5 (INTEL-18.8.5)]
Quirks         [NoOffscreenBitmap, GL4NeedsGL3Request, NeedSharedObjectSync]
Impl. class    jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR      Intel Inc.
GL_RENDERER    Intel Iris OpenGL Engine
GL_VERSION     4.1 INTEL-18.8.5
GLSL           true, has-compiler-func: true, version: 4.10 / 4.10.0
GL FBO: basic true, full true
GL_EXTENSIONS  45
GLX_EXTENSIONS 0
-----------------------------------------------------------------------------------------------------
gear1 0x368f2016 created: GearsObj[0x48e619d, vbo ff 1, fs 2, bf 3, bs 4]
gear2 0x368f2016 created: GearsObj[0x6e85da85, vbo ff 7, fs 8, bf 9, bs 10]
gear3 0x368f2016 created: GearsObj[0x6e85da85, vbo ff 7, fs 8, bf 9, bs 10]
Thread[main-Animator#01,5,main] GearsES2.init.X 0x368f2016 FIN GearsES2[obj 0x368f2016 isInit true, usesShared false, 1 GearsObj[0x48e619d, vbo ff 1, fs 2, bf 3, bs 4], 2 GearsObj[0x6e85da85, vbo ff 7, fs 8, bf 9, bs 10], 3 GearsObj[0x555e2d76, vbo ff 13, fs 14, bf 15, bs 16], sharedGears null]
Thread[main-Animator#01,5,main] GearsES2.reshape 0x368f2016 0/0 640x452 of 640x452, swapInterval 1, drawable 0x7febb47553b0, msaa false, tileRendererInUse null
>> GearsES2 0x368f2016, angle 0.0, [l -1.4159292, r 1.4159292, b -1.0, t 1.0] 2.8318584x2.0 -> [l -1.4159292, r 1.4159292, b -1.0, t 1.0] 2.8318584x2.0, v-flip false
Thread[main,5,main] GearsES2.dispose 0x368f2016: tileRendererInUse null
Thread[main,5,main] GearsES2.dispose 0x368f2016 FIN
++++ TestCase.tearDown: com.jogamp.opengl.test.junit.jogl.demos.es2.swt.TestGearsES2SWT - test02GL3
++++ Test Singleton.unlock()
SLOCK [T SingletonServerSocket1-localhost/127.0.0.1:59999 @ 1674267411277 ms III - Stopping: alive true, shallQuit true, hasSocket true
SLOCK [T main @ 1674267411277 ms --- localhost/127.0.0.1:59999 - Unlock ok within 1 ms