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

Regression

com.jogamp.opengl.test.junit.newt.parenting.TestParentingFocusTraversal01AWT.testWindowParentingAWTFocusTraversal02Offscreen

Failing for the past 2 builds (Since Unstable#769 )
Took 0.61 sec.

Error Message

expected:<true> but was:<false>

Stacktrace

junit.framework.AssertionFailedError: expected:<true> but was:<false>
	at com.jogamp.opengl.test.junit.newt.parenting.TestParentingFocusTraversal01AWT.testWindowParentingAWTFocusTraversal(TestParentingFocusTraversal01AWT.java:197)
	at com.jogamp.opengl.test.junit.newt.parenting.TestParentingFocusTraversal01AWT.testWindowParentingAWTFocusTraversal02Offscreen(TestParentingFocusTraversal01AWT.java:86)

Standard Error

Thread-1 - SingletonInstanceServerSocket: localhost/127.0.0.1:59999 - started
SLOCK 1340748236210 +++ localhost/127.0.0.1:59999 - Locked 
++++ UITestCase.setUp: com.jogamp.opengl.test.junit.newt.parenting.TestParentingFocusTraversal01AWT - testWindowParentingAWTFocusTraversal01Onscreen
FTKL.fwd-keys: ctrl pressed TAB
FTKL.fwd-keys: pressed TAB
FTKL.bwd-keys: shift ctrl pressed TAB
FTKL.bwd-keys: pressed BACK_SPACE
FTKL.bwd-keys: shift pressed TAB
FOCUS NEWT GAINED [fc 1]: GLWindow1, WindowEvent[EVENT_WINDOW_GAINED_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.MacWindow, when:1340748238005 d 0ms]]
Thread[main-AWTAnimator-1,5,main] GearsES2.init ...
Chosen GLCapabilities: GLCaps[on-scr, rgba 0x8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/0/0, dbl, mono  , hw, GLProfile[GL2/GL2.hw]]
INIT GL IS: jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: NVIDIA GeForce 320M OpenGL Engine
GL_VERSION: 2.1 NVIDIA-7.18.18
FOCUS NEWT LOST   [fc -1]: GLWindow1, WindowEvent[EVENT_WINDOW_LOST_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.MacWindow, when:1340748238029 d 0ms]]
gear1 created: com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2@15fb38
gear2 created: com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2@120540c
gear3 created: com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2@16de067
Thread[main-AWTAnimator-1,5,main] GearsES2.init FIN
******** clearAWTFocus.0
FOCUS AWT  GAINED PERM [fc 1]: WEST, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=null,cause=ACTIVATION] on java.awt.Button[button0,0,22,62x278,label=WEST]
FOCUS AWT  LOST   TEMP [fc -1]: WEST, java.awt.FocusEvent[FOCUS_LOST,temporary,opposite=null,cause=ACTIVATION] on java.awt.Button[button0,0,22,62x278,label=WEST]
******** clearAWTFocus.X
toFront: robot pos: java.awt.Point[x=150,y=172]
centerMouse: robot pos: java.awt.Point[x=31,y=183], onTitleBarIfWindow: true
FOCUS AWT  GAINED PERM [fc 1]: WEST, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=java.awt.Frame[frame0,0,22,300x300,layout=java.awt.BorderLayout,title=AWT Parent Frame,resizable,normal],cause=NATIVE_SYSTEM] on java.awt.Button[button0,0,22,62x278,label=WEST]
requestFocus: click, d: 501 ms
FOCUS AWT  LOST   PERM [fc -1]: WEST, java.awt.FocusEvent[FOCUS_LOST,permanent,opposite=com.jogamp.newt.awt.NewtCanvasAWT[canvas0,62,22,178x278],cause=TRAVERSAL_FORWARD] on java.awt.Button[button0,0,22,62x278,label=WEST]
FOCUS NEWT GAINED [fc 1]: GLWindow1, WindowEvent[EVENT_WINDOW_GAINED_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.MacWindow, when:1340748239234 d 0ms]]
FOCUS NEWT LOST   [fc -1]: GLWindow1, WindowEvent[EVENT_WINDOW_LOST_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.MacWindow, when:1340748239532 d 0ms]]
FOCUS AWT  GAINED PERM [fc 1]: EAST, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=com.jogamp.newt.awt.NewtCanvasAWT[canvas0,62,22,178x278],cause=TRAVERSAL_FORWARD] on java.awt.Button[button1,240,22,60x278,label=EAST]
FOCUS AWT  LOST   PERM [fc -1]: EAST, java.awt.FocusEvent[FOCUS_LOST,permanent,opposite=com.jogamp.newt.awt.NewtCanvasAWT[canvas0,62,22,178x278],cause=TRAVERSAL_BACKWARD] on java.awt.Button[button1,240,22,60x278,label=EAST]
FOCUS NEWT GAINED [fc 1]: GLWindow1, WindowEvent[EVENT_WINDOW_GAINED_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.MacWindow, when:1340748239832 d 0ms]]
FOCUS NEWT LOST   [fc -1]: GLWindow1, WindowEvent[EVENT_WINDOW_LOST_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.MacWindow, when:1340748240145 d 0ms]]
FOCUS AWT  GAINED PERM [fc 1]: WEST, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=com.jogamp.newt.awt.NewtCanvasAWT[canvas0,62,22,178x278],cause=TRAVERSAL_BACKWARD] on java.awt.Button[button0,0,22,62x278,label=WEST]
FOCUS NEWT GAINED [fc 1]: GLWindow1, WindowEvent[EVENT_WINDOW_GAINED_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.MacWindow, when:1340748240437 d 0ms]]
FOCUS AWT  LOST   PERM [fc -1]: WEST, java.awt.FocusEvent[FOCUS_LOST,permanent,opposite=com.jogamp.newt.awt.NewtCanvasAWT[canvas0,62,22,178x278],cause=UNKNOWN] on java.awt.Button[button0,0,22,62x278,label=WEST]
FOCUS NEWT LOST   [fc -1]: GLWindow1, WindowEvent[EVENT_WINDOW_LOST_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.MacWindow, when:1340748240642 d 0ms]]
FOCUS AWT  GAINED PERM [fc 1]: WEST, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=com.jogamp.newt.awt.NewtCanvasAWT[canvas0,62,22,178x278],cause=UNKNOWN] on java.awt.Button[button0,0,22,62x278,label=WEST]
FOCUS AWT  LOST   PERM [fc -1]: WEST, java.awt.FocusEvent[FOCUS_LOST,permanent,opposite=com.jogamp.newt.awt.NewtCanvasAWT[canvas0,62,22,178x278],cause=UNKNOWN] on java.awt.Button[button0,0,22,62x278,label=WEST]
FOCUS NEWT GAINED [fc 1]: GLWindow1, WindowEvent[EVENT_WINDOW_GAINED_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.MacWindow, when:1340748240946 d 0ms]]
Thread[main-Display-MacOSX_nil-1-EDT-1,5,main] GearsES2.dispose ... 
Thread[main-Display-MacOSX_nil-1-EDT-1,5,main] GearsES2.dispose FIN
++++ UITestCase.tearDown: com.jogamp.opengl.test.junit.newt.parenting.TestParentingFocusTraversal01AWT - testWindowParentingAWTFocusTraversal01Onscreen
++++ UITestCase.setUp: com.jogamp.opengl.test.junit.newt.parenting.TestParentingFocusTraversal01AWT - testWindowParentingAWTFocusTraversal02Offscreen
FTKL.fwd-keys: ctrl pressed TAB
FTKL.fwd-keys: pressed TAB
FTKL.bwd-keys: shift ctrl pressed TAB
FTKL.bwd-keys: pressed BACK_SPACE
FTKL.bwd-keys: shift pressed TAB
FOCUS NEWT GAINED [fc 1]: GLWindow1, WindowEvent[EVENT_WINDOW_GAINED_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.MacWindow, when:1340748241253 d 0ms]]
Thread[main-AWTAnimator-2,5,main] GearsES2.init ...
Chosen GLCapabilities: GLCaps[offscr, rgba 0x8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms: 24/0/0, dbl, mono  , hw, GLProfile[GL2/GL2.hw], pbuffer [r2t 0, r2tr 0, float 0]]
INIT GL IS: jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: NVIDIA GeForce 320M OpenGL Engine
GL_VERSION: 2.1 NVIDIA-7.18.18
******** clearAWTFocus.0
FOCUS NEWT LOST   [fc -1]: GLWindow1, WindowEvent[EVENT_WINDOW_LOST_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.MacWindow, when:1340748241412 d 0ms]]
FOCUS AWT  GAINED PERM [fc 1]: WEST, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=null,cause=ACTIVATION] on java.awt.Button[button2,0,22,62x278,label=WEST]
gear1 created: com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2@754fc
FOCUS AWT  LOST   TEMP [fc -1]: WEST, java.awt.FocusEvent[FOCUS_LOST,temporary,opposite=null,cause=ACTIVATION] on java.awt.Button[button2,0,22,62x278,label=WEST]
gear2 created: com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2@6458a6
gear3 created: com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2@1f82ab4
Thread[main-AWTAnimator-2,5,main] GearsES2.init FIN
******** clearAWTFocus.X
toFront: robot pos: java.awt.Point[x=150,y=172]
Thread[main-Display-MacOSX_nil-2-EDT-1,5,main] GearsES2.dispose ... 
Thread[main-Display-MacOSX_nil-2-EDT-1,5,main] GearsES2.dispose FIN
FOCUS NEWT GAINED [fc 1]: GLWindow1, WindowEvent[EVENT_WINDOW_GAINED_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.MacWindow, when:1340748241689 d 0ms]]
Exception in thread "main-AWTAnimator-2" javax.media.opengl.GLException: drawable has invalid handle: MacOSXPbufferCGLDrawable[Realized false,
	Factory   jogamp.opengl.macosx.cgl.awt.MacOSXAWTCGLDrawableFactory@3a6e5c,
	handle    0x0,
	Window    jogamp.newt.driver.macosx.MacWindow[Config MacOSXCGLGraphicsConfiguration[DefaultGraphicsScreen[MacOSXGraphicsDevice[type MacOSX, connection decon, unitID 0, handle 0x0], idx 0],
	chosen    GLCaps[offscr, rgba 0x8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/0/0, dbl, mono  , hw, GLProfile[GL2/GL2.hw], pbuffer [r2t 0, r2tr 0, float 0]],
	requested GLCaps[on-scr, rgba 0x8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/0/0, dbl, mono  , hw, GLProfile[GL2/GL2.hw]]]
, NEWT-Screen[MacOSX_nil-20, idx 0, refCount 1, 1920x1200, DefaultGraphicsScreen[MacOSXGraphicsDevice[type MacOSX, connection decon, unitID 0, handle 0x0], idx 0], NEWT-Display[MacOSX_nil-2, refCount 1, hasEDT true, edtRunning true, MacOSXGraphicsDevice[type MacOSX, connection decon, unitID 0, handle 0x0]]]
, ParentWindow JAWT-Window[windowHandle 0x1283fb0, surfaceHandle 0x0, bounds [ 62 / 22  178 x 278 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], shallUseOffscreenLayer true, isOffscreenLayerSurface true, pos 62/22, size 178x278, visible true, lockedExt false,
	config AWTGraphicsConfiguration[AWTGraphicsScreen[AWTGraphicsDevice[type AWT, connection \Display0, unitID 0, awtDevice CGraphicsDevice[screen=0], handle 0x0], idx 0],
	chosen    GLCaps[offscr, rgba 0x8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/0/0, dbl, mono  , hw, GLProfile[GL2/GL2.hw], pixmap],
	requested GLCaps[on-scr, rgba 0x8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/0/0, dbl, mono  , hw, GLProfile[GL2/GL2.hw]],
	apple.awt.CGraphicsConfig@d1c778[dev=CGraphicsDevice[screen=0],pixfmt=0],
	encapsulated MacOSXCGLGraphicsConfiguration[DefaultGraphicsScreen[MacOSXGraphicsDevice[type MacOSX, connection decon, unitID 0, handle 0x0], idx 0],
	chosen    GLCaps[offscr, rgba 0x8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/0/0, dbl, mono  , hw, GLProfile[GL2/GL2.hw], pixmap],
	requested GLCaps[on-scr, rgba 0x8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/0/0, dbl, mono  , hw, GLProfile[GL2/GL2.hw]]]],
	awtComponent com.jogamp.newt.awt.NewtCanvasAWT[canvas1,62,22,178x278],
	surfaceLock <ae4646, 187b287>[count 0, qsz 0, owner <NULL>]]
, ParentWindowHandle 0x1283fb0 (true)
, WindowHandle 0x128f2f0
, SurfaceHandle 0x12820c0 (lockedExt window false, surface false)
, Pos 0/0 (auto false), size 178x278
, Visible true, focus true
, Undecorated false (true)
, AlwaysOnTop false, Fullscreen false
, WrappedWindow null
, ChildWindows 0, SurfaceUpdatedListeners num 0 [], WindowListeners num 3 [com.jogamp.newt.opengl.GLWindow$1@1d9e2c7, GLWindow1[focusCount 1], com.jogamp.newt.awt.NewtCanvasAWT$2@1b7ae22, ], MouseListeners num 0 [], KeyListeners num 3 [GLWindow1[pressed false, typed 0], com.jogamp.opengl.test.junit.newt.parenting.NewtAWTReparentingKeyAdapter@951a0, com.jogamp.opengl.test.junit.newt.parenting.TestParentingFocusTraversal01AWT$1@1ce1bea, ], surfaceLock <8acfc3, 14e0e90>[count 1, qsz 0, owner <main-AWTAnimator-2>], windowLock <19e11a1, 979f67>[count 1, qsz 0, owner <main-AWTAnimator-2>]]]
	at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:400)
	at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:415)
	at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:364)
	at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:559)
	at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:74)
	at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:142)
	at com.jogamp.opengl.util.Animator$MainLoop.run(Animator.java:176)
	at java.lang.Thread.run(Thread.java:680)
FOCUS NEWT LOST   [fc -1]: GLWindow1, WindowEvent[EVENT_WINDOW_LOST_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.MacWindow, when:1340748241722 d 0ms]]
++++ UITestCase.tearDown: com.jogamp.opengl.test.junit.newt.parenting.TestParentingFocusTraversal01AWT - testWindowParentingAWTFocusTraversal02Offscreen
SLOCK 1340748241913 --- localhost/127.0.0.1:59999 - Unlock ok