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

Regression

com.jogamp.opengl.test.junit.jogl.swt.TestNewtCanvasSWTGLn.postAttach_WithAnimator

Failing for the past 1 build (Since Unstable#1543 )
Took 0.23 sec.

Error Message

Cannot invoke "com.jogamp.newt.Window.setSurfaceScale(float[])" because "this.newtChild" is null

Stacktrace

java.lang.NullPointerException: Cannot invoke "com.jogamp.newt.Window.setSurfaceScale(float[])" because "this.newtChild" is null
	at com.jogamp.newt.swt.NewtCanvasSWT.updatePosSizeCheck(NewtCanvasSWT.java:382)
	at com.jogamp.newt.swt.NewtCanvasSWT.validateNative(NewtCanvasSWT.java:318)
	at com.jogamp.newt.swt.NewtCanvasSWT$2.handleEvent(NewtCanvasSWT.java:255)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:91)
	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5862)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1656)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1682)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1661)
	at org.eclipse.swt.widgets.Control.setBounds(Control.java:1208)
	at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:1666)
	at org.eclipse.swt.widgets.Canvas.setBounds(Canvas.java:450)
	at org.eclipse.swt.widgets.Control.setBounds(Control.java:1016)
	at com.jogamp.newt.swt.NewtCanvasSWT.setBounds(NewtCanvasSWT.java:305)
	at org.eclipse.swt.layout.FillLayout.layout(FillLayout.java:216)
	at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1885)
	at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:1669)
	at org.eclipse.swt.widgets.Control.setBounds(Control.java:1016)
	at org.eclipse.swt.layout.FillLayout.layout(FillLayout.java:216)
	at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1885)
	at org.eclipse.swt.widgets.Shell.resizeBounds(Shell.java:2293)
	at org.eclipse.swt.widgets.Shell.setBounds(Shell.java:2386)
	at org.eclipse.swt.widgets.Control.setSize(Control.java:1482)
	at com.jogamp.opengl.test.junit.jogl.swt.TestNewtCanvasSWTGLn$6.run(TestNewtCanvasSWTGLn.java:182)
	at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:183)
	at org.eclipse.swt.widgets.Display.syncExec(Display.java:5967)
	at com.jogamp.opengl.test.junit.jogl.swt.TestNewtCanvasSWTGLn.runTestAGL(TestNewtCanvasSWTGLn.java:178)
	at com.jogamp.opengl.test.junit.jogl.swt.TestNewtCanvasSWTGLn.postAttach_WithAnimator(TestNewtCanvasSWTGLn.java:250)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)

Standard Output

GLProfile Natives[GL4bc true [4.5 (Compat profile, arb, compat[ES2, ES3, ES31, ES32], FBO, software)], GL4 true [4.5 (Core profile, arb, compat[ES2, ES3, ES31, ES32], FBO, software)], GLES3 true [3.2 (ES profile, arb, compat[ES2, ES3, ES31, ES32], FBO, software)], GL3bc true [4.5 (Compat profile, arb, compat[ES2, ES3, ES31, ES32], FBO, software)], GL3 true [4.5 (Core profile, arb, compat[ES2, ES3, ES31, ES32], FBO, software)], GL2 true [4.5 (Compat profile, arb, compat[ES2, ES3, ES31, ES32], FBO, software)], GLES2 true [3.2 (ES profile, arb, compat[ES2, ES3, ES31, ES32], FBO, software)], GLES1 true [1.1 (ES profile, arb, compat[FP32], software)], count 8 / 8], Common[, GL4ES3 true, GL2GL3 true, GL2ES2 true, GL2ES1 true], Mappings[GL3bc GLProfile[GL3bc/GL4bc.sw], GL2 GLProfile[GL2/GL4bc.sw], GLES3 GLProfile[GLES3/GLES3.sw], GL4 GLProfile[GL4/GL4.sw], GL3 GLProfile[GL3/GL4.sw], GL2GL3 GLProfile[GL2GL3/GL4bc.sw], GLES1 GLProfile[GLES1/GLES1.sw], GLES2 GLProfile[GLES2/GLES3.sw], GL2ES1 GLProfile[GL2ES1/GL4bc.sw], GL4ES3 GLProfile[GL4ES3/GL4.sw], GL2ES2 GLProfile[GL2ES2/GL4.sw], GL4bc GLProfile[GL4bc/GL4bc.sw], , default GLProfile[GL4bc/GL4bc.sw], count 12 / 12]

Standard Error

++++ Test Singleton.ctor()
++++ Test Singleton.lock()
SLOCK [T SingletonServerSocket1-localhost/127.0.0.1:59999 @ 1755848416737 ms III - Start
SLOCK [T main @ 1755848416738 ms +++ localhost/127.0.0.1:59999 - Locked within 6 ms, 1 attempts
++++ TestCase.setUp: com.jogamp.opengl.test.junit.jogl.swt.TestNewtCanvasSWTGLn - postAttach_WithAnimator
++++ TestCase.tearDown: com.jogamp.opengl.test.junit.jogl.swt.TestNewtCanvasSWTGLn - postAttach_WithAnimator
++++ TestCase.setUp: com.jogamp.opengl.test.junit.jogl.swt.TestNewtCanvasSWTGLn - preAttach_NoAnimator
Thread[#1,main,5,main] GearsES2.init.0 0x4dbb42b7: tileRendererInUse null, GearsES2[obj 0x4dbb42b7 isInit false, usesShared false, 1 null, 2 null, 3 null, sharedGears null]
GearsES2 init 0x4dbb42b7 on Thread[#1,main,5,main]
Chosen GLCapabilities: GLCaps[glx vid 0x55c, fbc 0x19d: rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/0/0, dbl, mono  , sw, GLProfile[GL4/GL4.sw], on-scr[.]]
INIT GL IS: jogamp.opengl.gl4.GL4bcImpl
Swap Interval  0
GL Profile     GLProfile[GL4/GL4.sw]
GL Version     4.5 (Core profile, arb, compat[ES2, ES3, ES31, ES32], FBO, software) - 4.5 (Core Profile) Mesa 22.3.6 [GL 4.5 (4.5 (Core Profile) Mesa 22.3.6), vendor 22.3.6 ((Core Profile) Mesa 22.3.6)]
Quirks         [No10BitColorCompOffscreen]
Impl. class    jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR      Mesa/X.org
GL_RENDERER    llvmpipe (LLVM 15.0.6, 256 bits)
GL_VERSION     4.5 (Core Profile) Mesa 22.3.6
GLSL           true, has-compiler-func: true, version: 4.50 / 4.50 (4.50)
GL FBO: basic true, full true
GL_EXTENSIONS  220
GLX_EXTENSIONS 25
-----------------------------------------------------------------------------------------------------
gear1 0x4dbb42b7 created: GearsObj[0x4b29d1d2, vbo ff 1, fs 2, bf 3, bs 4]
gear2 0x4dbb42b7 created: GearsObj[0x7f485fda, vbo ff 7, fs 8, bf 9, bs 10]
gear3 0x4dbb42b7 created: GearsObj[0x7f485fda, vbo ff 7, fs 8, bf 9, bs 10]
Thread[#1,main,5,main] GearsES2.init.X 0x4dbb42b7 FIN GearsES2[obj 0x4dbb42b7 isInit true, usesShared false, 1 GearsObj[0x4b29d1d2, vbo ff 1, fs 2, bf 3, bs 4], 2 GearsObj[0x7f485fda, vbo ff 7, fs 8, bf 9, bs 10], 3 GearsObj[0x72cc7e6f, vbo ff 13, fs 14, bf 15, bs 16], sharedGears null]
Thread[#1,main,5,main] GearsES2.reshape 0x4dbb42b7 0/0 640x395 of 640x395, swapInterval 1, drawable 0x3800002, msaa false, tileRendererInUse null
>> GearsES2 0x4dbb42b7, angle 0.0, [l -1.6202532, r 1.6202532, b -1.0, t 1.0] 3.2405064x2.0 -> [l -1.6202532, r 1.6202532, b -1.0, t 1.0] 3.2405064x2.0, v-flip false
Thread[#1,main,5,main] GearsES2.display 0x4dbb42b7 640x395, swapInterval 1, drawable 0x3800002
main: ** screenshot: TestNewtCanvasSWTGLn.preAttach_NoAnimator____-n0000-GL4___-sw-onscreen-Bdbl-Frgb__Irgba8880-D24-St00-Sa00_default-0640x0395.png
Thread[#1,main,5,main] GearsES2.reshape 0x4dbb42b7 0/0 640x395 of 640x395, swapInterval 1, drawable 0x3800002, msaa false, tileRendererInUse null
>> GearsES2 0x4dbb42b7, angle 0.5, [l -1.6202532, r 1.6202532, b -1.0, t 1.0] 3.2405064x2.0 -> [l -1.6202532, r 1.6202532, b -1.0, t 1.0] 3.2405064x2.0, v-flip false
Thread[#1,main,5,main] GearsES2.display 0x4dbb42b7 640x395, swapInterval 1, drawable 0x3800002
main: ** screenshot: TestNewtCanvasSWTGLn.preAttach_NoAnimator____-n0001-GL4___-sw-onscreen-Bdbl-Frgb__Irgba8880-D24-St00-Sa00_default-0640x0395.png
GLWindow LOS.0: 0 / 0
NewtCanvasSWT LOS.0: 0 / 0
Thread[#1,main,5,main] GearsES2.display 0x4dbb42b7 640x395, swapInterval 1, drawable 0x3800002
main: ** screenshot: TestNewtCanvasSWTGLn.preAttach_NoAnimator____-n0002-GL4___-sw-onscreen-Bdbl-Frgb__Irgba8880-D24-St00-Sa00_default-0640x0395.png
Thread[#1,main,5,main] GearsES2.display 0x4dbb42b7 640x395, swapInterval 1, drawable 0x3800002
Thread[#1,main,5,main] GearsES2.display 0x4dbb42b7 640x395, swapInterval 1, drawable 0x3800002
Thread[#1,main,5,main] GearsES2.display 0x4dbb42b7 640x395, swapInterval 1, drawable 0x3800002
Thread[#1,main,5,main] GearsES2.dispose 0x4dbb42b7: tileRendererInUse null
Thread[#1,main,5,main] GearsES2.dispose 0x4dbb42b7 FIN
++++ TestCase.tearDown: com.jogamp.opengl.test.junit.jogl.swt.TestNewtCanvasSWTGLn - preAttach_NoAnimator
++++ TestCase.setUp: com.jogamp.opengl.test.junit.jogl.swt.TestNewtCanvasSWTGLn - preAttach_WithAnimator
Thread[#1,main,5,main] GearsES2.init.0 0x6cb107fd: tileRendererInUse null, GearsES2[obj 0x6cb107fd isInit false, usesShared false, 1 null, 2 null, 3 null, sharedGears null]
GearsES2 init 0x6cb107fd on Thread[#1,main,5,main]
Chosen GLCapabilities: GLCaps[glx vid 0x55c, fbc 0x19d: rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/0/0, dbl, mono  , sw, GLProfile[GL4/GL4.sw], on-scr[.]]
INIT GL IS: jogamp.opengl.gl4.GL4bcImpl
Swap Interval  0
GL Profile     GLProfile[GL4/GL4.sw]
GL Version     4.5 (Core profile, arb, compat[ES2, ES3, ES31, ES32], FBO, software) - 4.5 (Core Profile) Mesa 22.3.6 [GL 4.5 (4.5 (Core Profile) Mesa 22.3.6), vendor 22.3.6 ((Core Profile) Mesa 22.3.6)]
Quirks         [No10BitColorCompOffscreen]
Impl. class    jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR      Mesa/X.org
GL_RENDERER    llvmpipe (LLVM 15.0.6, 256 bits)
GL_VERSION     4.5 (Core Profile) Mesa 22.3.6
GLSL           true, has-compiler-func: true, version: 4.50 / 4.50 (4.50)
GL FBO: basic true, full true
GL_EXTENSIONS  220
GLX_EXTENSIONS 25
-----------------------------------------------------------------------------------------------------
gear1 0x6cb107fd created: GearsObj[0x43f02ef2, vbo ff 1, fs 2, bf 3, bs 4]
gear2 0x6cb107fd created: GearsObj[0x239a307b, vbo ff 7, fs 8, bf 9, bs 10]
gear3 0x6cb107fd created: GearsObj[0x239a307b, vbo ff 7, fs 8, bf 9, bs 10]
Thread[#1,main,5,main] GearsES2.init.X 0x6cb107fd FIN GearsES2[obj 0x6cb107fd isInit true, usesShared false, 1 GearsObj[0x43f02ef2, vbo ff 1, fs 2, bf 3, bs 4], 2 GearsObj[0x239a307b, vbo ff 7, fs 8, bf 9, bs 10], 3 GearsObj[0x2a8448fa, vbo ff 13, fs 14, bf 15, bs 16], sharedGears null]
Thread[#1,main,5,main] GearsES2.reshape 0x6cb107fd 0/0 640x395 of 640x395, swapInterval 1, drawable 0x3800002, msaa false, tileRendererInUse null
>> GearsES2 0x6cb107fd, angle 0.0, [l -1.6202532, r 1.6202532, b -1.0, t 1.0] 3.2405064x2.0 -> [l -1.6202532, r 1.6202532, b -1.0, t 1.0] 3.2405064x2.0, v-flip false
Thread[#1,main,5,main] GearsES2.display 0x6cb107fd 640x395, swapInterval 1, drawable 0x3800002
main: ** screenshot: TestNewtCanvasSWTGLn.preAttach_WithAnimator__-n0000-GL4___-sw-onscreen-Bdbl-Frgb__Irgba8880-D24-St00-Sa00_default-0640x0395.png
Thread[#1,main,5,main] GearsES2.reshape 0x6cb107fd 0/0 640x395 of 640x395, swapInterval 1, drawable 0x3800002, msaa false, tileRendererInUse null
>> GearsES2 0x6cb107fd, angle 0.5, [l -1.6202532, r 1.6202532, b -1.0, t 1.0] 3.2405064x2.0 -> [l -1.6202532, r 1.6202532, b -1.0, t 1.0] 3.2405064x2.0, v-flip false
Thread[#1,main,5,main] GearsES2.display 0x6cb107fd 640x395, swapInterval 1, drawable 0x3800002
main: ** screenshot: TestNewtCanvasSWTGLn.preAttach_WithAnimator__-n0001-GL4___-sw-onscreen-Bdbl-Frgb__Irgba8880-D24-St00-Sa00_default-0640x0395.png
GLWindow LOS.0: 0 / 0
NewtCanvasSWT LOS.0: 0 / 0
main-Animator#00: ** screenshot: TestNewtCanvasSWTGLn.preAttach_WithAnimator__-n0002-GL4___-sw-onscreen-Bdbl-Frgb__Irgba8880-D24-St00-Sa00_default-0640x0395.png
Thread[#1,main,5,main] GearsES2.dispose 0x6cb107fd: tileRendererInUse null
Thread[#1,main,5,main] GearsES2.dispose 0x6cb107fd FIN
++++ TestCase.tearDown: com.jogamp.opengl.test.junit.jogl.swt.TestNewtCanvasSWTGLn - preAttach_WithAnimator
++++ TestCase.setUp: com.jogamp.opengl.test.junit.jogl.swt.TestNewtCanvasSWTGLn - test_MultisampleAndAlpha

req. msaa: true
Requested: GLCaps[rgba 8/8/8/1, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/2, sample-ext default, dbl, mono  , hw, GLProfile[GL4/GL4.sw], on-scr[.]]
Chosen   : GLCaps[glx vid 0x53b, fbc 0x17c: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/0/4, sample-ext default, dbl, mono  , sw, GLProfile[GL4/GL4.sw], on-scr[.]]
has  msaa: true

ShaderState: attachShaderProgram: -1 -> 3 (enable: true)
	null
	ShaderProgram[id=3, linked=false, inUse=false, program: 1, 2 code: 
   ShaderCode[id=5, type=VERTEX_SHADER, valid=true, 1/1 shader:  2, source]
   ShaderCode[id=6, type=FRAGMENT_SHADER, valid=true, 1/1 shader:  3, source]]
reshape ..
main: ** screenshot: TestNewtCanvasSWTGLn.test_MultisampleAndAlpha-n0000-GL4___-sw-onscreen-Bdbl-Frgb__Irgba8888-D24-St00-Sa04_default-0640x0395.png
reshape ..
main: ** screenshot: TestNewtCanvasSWTGLn.test_MultisampleAndAlpha-n0001-GL4___-sw-onscreen-Bdbl-Frgb__Irgba8888-D24-St00-Sa04_default-0640x0395.png
GLWindow LOS.0: 0 / 0
NewtCanvasSWT LOS.0: 0 / 0
main: ** screenshot: TestNewtCanvasSWTGLn.test_MultisampleAndAlpha-n0002-GL4___-sw-onscreen-Bdbl-Frgb__Irgba8888-D24-St00-Sa04_default-0640x0395.png
++++ TestCase.tearDown: com.jogamp.opengl.test.junit.jogl.swt.TestNewtCanvasSWTGLn - test_MultisampleAndAlpha
++++ Test Singleton.unlock()
SLOCK [T SingletonServerSocket1-localhost/127.0.0.1:59999 @ 1755848418906 ms III - Stopping: alive true, shallQuit true, hasSocket true
SLOCK [T main @ 1755848418906 ms --- localhost/127.0.0.1:59999 - Unlock ok within 1 ms