Skip to content

Failed

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

Failing for the past 2 builds (Since Unstable#801 )
Took 3.5 sec.

Error Message

Did not gain focus

Stacktrace

junit.framework.AssertionFailedError: Did not gain focus
	at com.jogamp.opengl.test.junit.newt.parenting.TestParentingFocusTraversal01AWT.testWindowParentingAWTFocusTraversal(TestParentingFocusTraversal01AWT.java:216)
	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 1347803471255 +++ 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
Thread[main-AWTAnimator-1,5,main] GearsES2.init ...
GearsES2 init on Thread[main-AWTAnimator-1,5,main]
Chosen GLCapabilities: GLCaps[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], on-scr[.]]
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
GL GLSL: true, has-compiler: true, version 1.20
GL FBO: basic true, full true
GL Profile: GLProfile[GL2/GL2.hw]
GL:jogamp.opengl.gl4.GL4bcImpl@c00025, 2.1 (Compatibility profile, arb, FBO, hardware) - 2.1 NVIDIA-7.18.18
gear1 created: com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2@650892
gear2 created: com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2@115d06c
gear3 created: com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2@126a29c
Thread[main-AWTAnimator-1,5,main] GearsES2.init FIN
Thread[main-AWTAnimator-1,5,main] GearsES2.reshape 0/0 200x200, swapInterval 1
Thread[main-AWTAnimator-1,5,main] GearsES2.reshape 0/0 200x200, swapInterval 1
******** clearAWTFocus.0
Thread[main-AWTAnimator-1,5,main] GearsES2.reshape 0/0 178x278, swapInterval 1
******** clearAWTFocus.X
toFront: robot pos: java.awt.Point[x=150,y=172]
FOCUS AWT  GAINED (Window) [fc 1]: window, java.awt.event.WindowEvent[WINDOW_GAINED_FOCUS,opposite=null,oldState=0,newState=0] on frame0
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
++++ 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.WindowDriver, when:1347803476887 d 0ms]]
Thread[main-AWTAnimator-2,5,main] GearsES2.init ...
GearsES2 init on Thread[main-AWTAnimator-2,5,main]
Chosen GLCapabilities: GLCaps[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], offscr[fbo]]
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
GL GLSL: true, has-compiler: true, version 1.20
GL FBO: basic true, full true
GL Profile: GLProfile[GL2/GL2.hw]
GL:jogamp.opengl.gl4.GL4bcImpl@15c998a, 2.1 (Compatibility profile, arb, FBO, hardware) - 2.1 NVIDIA-7.18.18
gear1 created: com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2@6458a6
gear2 created: com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2@1f82ab4
gear3 created: com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2@1bb9696
Thread[main-AWTAnimator-2,5,main] GearsES2.init FIN
Thread[main-AWTAnimator-2,5,main] GearsES2.reshape 0/0 200x200, swapInterval 1
Thread[main-AWTAnimator-2,5,main] GearsES2.reshape 0/0 200x200, swapInterval 1
FOCUS AWT  LOST   TEMP [fc -1]: WEST, java.awt.FocusEvent[FOCUS_LOST,temporary,opposite=java.awt.Button[button1,0,22,62x278,label=WEST],cause=ACTIVATION] on java.awt.Button[button0,0,22,62x278,label=WEST]
******** clearAWTFocus.0
FOCUS NEWT LOST   [fc -1]: GLWindow1, WindowEvent[EVENT_WINDOW_LOST_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.WindowDriver, when:1347803477166 d 0ms]]
FOCUS AWT  GAINED PERM [fc 1]: WEST, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=java.awt.Button[button0,0,22,62x278,label=WEST],cause=ACTIVATION] on java.awt.Button[button1,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[button1,0,22,62x278,label=WEST]
Thread[main-AWTAnimator-2,5,main] GearsES2.reshape 0/0 178x278, swapInterval 1
******** 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[frame1,0,22,300x300,layout=java.awt.BorderLayout,title=AWT Parent Frame,resizable,normal],cause=NATIVE_SYSTEM] on java.awt.Button[button1,0,22,62x278,label=WEST]
requestFocus: click, d: 501 ms
++++ UITestCase.tearDown: com.jogamp.opengl.test.junit.newt.parenting.TestParentingFocusTraversal01AWT - testWindowParentingAWTFocusTraversal02Offscreen
SLOCK 1347803480398 --- localhost/127.0.0.1:59999 - Unlock ok