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

Failed

com.jogamp.opengl.test.junit.newt.TestFocus02SwingAWTRobot.testFocus01ProgrFocus

Failing for the past 2 builds (Since Unstable#813 )
Took 11 sec.

Error Message

Did not gain focus

Stacktrace

junit.framework.AssertionFailedError: Did not gain focus
	at com.jogamp.opengl.test.junit.util.AWTRobotUtil.assertRequestFocusAndWait(AWTRobotUtil.java:336)
	at com.jogamp.opengl.test.junit.newt.TestFocus02SwingAWTRobot.testFocus01ProgrFocusImpl(TestFocus02SwingAWTRobot.java:186)
	at com.jogamp.opengl.test.junit.newt.TestFocus02SwingAWTRobot.testFocus01ProgrFocus(TestFocus02SwingAWTRobot.java:267)

Standard Error

Thread-2 - SISock: localhost/127.0.0.1:59999 - started
SLOCK [T main @ 1348764171247 ms +++ localhost/127.0.0.1:59999 - Locked 
++++ UITestCase.setUp: com.jogamp.opengl.test.junit.newt.TestFocus02SwingAWTRobot - testFocus01ProgrFocus
Thread[main-Display-.macosx_nil-1-EDT-1,5,main] GearsES2.init ...
GearsES2 init on Thread[main-Display-.macosx_nil-1-EDT-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@1779885, 2.1 (Compatibility profile, arb, FBO, hardware) - 2.1 NVIDIA-7.18.18
******** clearAWTFocus.0
gear1 created: com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2@15e538e
gear2 created: com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2@1bfa3d3
gear3 created: com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2@9c82f4
Thread[main-Display-.macosx_nil-1-EDT-1,5,main] GearsES2.init FIN
Thread[main-Display-.macosx_nil-1-EDT-1,5,main] GearsES2.reshape 0/0 418x346, swapInterval 1
Thread[main-Display-.macosx_nil-1-EDT-1,5,main] GearsES2.reshape 0/0 418x346, swapInterval 1
******** clearAWTFocus.X
toFront: robot pos: java.awt.Point[x=320,y=262]
FOCUS AWT  GAINED (Window) [fc 1]: window, java.awt.event.WindowEvent[WINDOW_GAINED_FOCUS,opposite=null,oldState=0,newState=0] on frame1
FOCUS AWT  GAINED PERM [fc 1]: JFrame1, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=null,cause=UNKNOWN] on javax.swing.JFrame[frame1,0,22,640x480,layout=java.awt.BorderLayout,title=Swing Parent JFrame,resizable,normal,defaultCloseOperation=DO_NOTHING_ON_CLOSE,rootPane=javax.swing.JRootPane[,0,22,640x458,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
Frames for initial setVisible(true): 2
FOCUS AWT  Button Outer request
requestFocus: AWT Component
requestFocus: AWT Component
requestFocus: AWT Component
requestFocus: AWT Component
requestFocus: AWT Component
*** AWTRobotUtil.assertRequestFocusAndWait() major UI failure
*** requestFocus.hasFocus() - AWT: false
*** waitForFocus.hasFocus() - AWT: false
*** gain: ButtonNorthOuter[focusCount 0, temp false]
*** lost: JFrame1[focusCount 1, temp false]
java.lang.Exception: Stack trace
	at java.lang.Thread.dumpStack(Thread.java:1273)
	at com.jogamp.opengl.test.junit.util.AWTRobotUtil.assertRequestFocusAndWait(AWTRobotUtil.java:334)
	at com.jogamp.opengl.test.junit.newt.TestFocus02SwingAWTRobot.testFocus01ProgrFocusImpl(TestFocus02SwingAWTRobot.java:186)
	at com.jogamp.opengl.test.junit.newt.TestFocus02SwingAWTRobot.testFocus01ProgrFocus(TestFocus02SwingAWTRobot.java:267)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	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.InvokeMethod.evaluate(InvokeMethod.java:20)
	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.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.TestFocus02SwingAWTRobot - testFocus01ProgrFocus
++++ UITestCase.setUp: com.jogamp.opengl.test.junit.newt.TestFocus02SwingAWTRobot - testFocus02RobotFocus
FOCUS AWT  LOST   PERM [fc -1]: JFrame1, java.awt.FocusEvent[FOCUS_LOST,permanent,opposite=null,cause=CLEAR_GLOBAL_FOCUS_OWNER] on javax.swing.JFrame[frame1,0,22,640x480,layout=java.awt.BorderLayout,title=Swing Parent JFrame,resizable,normal,defaultCloseOperation=DO_NOTHING_ON_CLOSE,rootPane=javax.swing.JRootPane[,0,22,640x458,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
Thread[main-Display-.macosx_nil-1-EDT-1,5,main] GearsES2.init ...
GearsES2 init on Thread[main-Display-.macosx_nil-1-EDT-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@1148603, 2.1 (Compatibility profile, arb, FBO, hardware) - 2.1 NVIDIA-7.18.18
gear1 created: com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2@6a63d3
gear2 created: com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2@bfed5a
gear3 created: com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2@77eb97
Thread[main-Display-.macosx_nil-1-EDT-1,5,main] GearsES2.init FIN
Thread[main-Display-.macosx_nil-1-EDT-1,5,main] GearsES2.reshape 0/0 418x346, swapInterval 1
Thread[main-Display-.macosx_nil-1-EDT-1,5,main] GearsES2.reshape 0/0 418x346, swapInterval 1
******** clearAWTFocus.0
******** clearAWTFocus.X
toFront: robot pos: java.awt.Point[x=320,y=262]
FOCUS AWT  GAINED (Window) [fc 1]: window, java.awt.event.WindowEvent[WINDOW_GAINED_FOCUS,opposite=javax.swing.JFrame[frame1,0,22,640x480,layout=java.awt.BorderLayout,title=Swing Parent JFrame,resizable,normal,defaultCloseOperation=DO_NOTHING_ON_CLOSE,rootPane=javax.swing.JRootPane[,0,22,640x458,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true],oldState=0,newState=0] on frame2
FOCUS AWT  GAINED PERM [fc 1]: JFrame1, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=null,cause=UNKNOWN] on javax.swing.JFrame[frame2,0,22,640x480,layout=java.awt.BorderLayout,title=Swing Parent JFrame,resizable,normal,defaultCloseOperation=DO_NOTHING_ON_CLOSE,rootPane=javax.swing.JRootPane[,0,22,640x458,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
Frames for initial setVisible(true): 2
FOCUS AWT  Button Outer request
centerMouse: robot pos: java.awt.Point[x=320,y=58], onTitleBarIfWindow: true
requestFocus: click, d: 501 ms
centerMouse: robot pos: java.awt.Point[x=320,y=58], onTitleBarIfWindow: true
requestFocus: click, d: 501 ms
centerMouse: robot pos: java.awt.Point[x=320,y=58], onTitleBarIfWindow: true
requestFocus: click, d: 501 ms
centerMouse: robot pos: java.awt.Point[x=320,y=58], onTitleBarIfWindow: true
requestFocus: click, d: 501 ms
centerMouse: robot pos: java.awt.Point[x=320,y=58], onTitleBarIfWindow: true
requestFocus: click, d: 501 ms
*** AWTRobotUtil.assertRequestFocusAndWait() major UI failure
*** requestFocus.hasFocus() - AWT: false
*** waitForFocus.hasFocus() - AWT: false
*** gain: ButtonNorthOuter[focusCount 0, temp false]
*** lost: JFrame1[focusCount 1, temp false]
java.lang.Exception: Stack trace
	at java.lang.Thread.dumpStack(Thread.java:1273)
	at com.jogamp.opengl.test.junit.util.AWTRobotUtil.assertRequestFocusAndWait(AWTRobotUtil.java:334)
	at com.jogamp.opengl.test.junit.newt.TestFocus02SwingAWTRobot.testFocus01ProgrFocusImpl(TestFocus02SwingAWTRobot.java:186)
	at com.jogamp.opengl.test.junit.newt.TestFocus02SwingAWTRobot.testFocus02RobotFocus(TestFocus02SwingAWTRobot.java:274)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	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.InvokeMethod.evaluate(InvokeMethod.java:20)
	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.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.TestFocus02SwingAWTRobot - testFocus02RobotFocus
SLOCK [T main @ 1348764197795 ms --- localhost/127.0.0.1:59999 - Unlock ok