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

Failed

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

Failing for the past 11 builds (Since Unstable#499 )
Took 5.3 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:268)
	at com.jogamp.opengl.test.junit.newt.TestFocus02SwingAWTRobot.testFocus01ProgrFocusImpl(TestFocus02SwingAWTRobot.java:176)
	at com.jogamp.opengl.test.junit.newt.TestFocus02SwingAWTRobot.testFocus02RobotFocus(TestFocus02SwingAWTRobot.java:271)

Standard Error

Thread-1 - SingletonInstanceServerSocket: localhost/127.0.0.1:59999 - started
SLOCK 1318232758908 +++ localhost/127.0.0.1:59999 - Locked 
++++ UITestCase.setUp: com.jogamp.opengl.test.junit.newt.TestFocus02SwingAWTRobot - testFocus01ProgrFocus
robot pos: java.awt.Point[x=320,y=33]
Detected screen size 1920x1080
FOCUS AWT  GAINED PERM [true]: ButtonNorthOuter, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=null,cause=ACTIVATION] on java.awt.Button[button0,0,0,640x28,label=north]
FOCUS AWT  LOST   PERM [false]: ButtonNorthOuter, java.awt.FocusEvent[FOCUS_LOST,permanent,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],cause=UNKNOWN] on java.awt.Button[button0,0,0,640x28,label=north]
FOCUS AWT  GAINED PERM [true]: JFrame1, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=java.awt.Button[button0,0,0,640x28,label=north],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]
Thread[main-Display-MacOSX_nil-1-EDT-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]]
INIT GL IS: jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: NVIDIA GeForce 320M OpenGL Engine
GL_VERSION: 2.1 NVIDIA-1.6.36
gear1 created: com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2@3bf8bd0d
gear2 created: com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2@4743bf3d
gear3 created: com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2@30c06258
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 FIN
Frames for initial setVisible(true): 1
FOCUS NEWT GAINED [true]: GLWindow1, WindowEvent[EVENT_WINDOW_GAINED_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.MacWindow, when:1318232760148 d 504ms]]
FOCUS AWT  LOST   PERM [false]: 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]
FOCUS AWT  GAINED PERM [true]: 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]
FOCUS NEWT LOST   [false]: GLWindow1, WindowEvent[EVENT_WINDOW_LOST_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.MacWindow, when:1318232760231 d 434ms]]
FOCUS AWT  Button Outer request
FOCUS AWT  LOST   PERM [false]: 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]
FOCUS AWT  GAINED PERM [true]: ButtonNorthOuter, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=null,cause=UNKNOWN] on java.awt.Button[button0,0,0,640x28,label=north]
FOCUS AWT  Button Outer sync
robot pos: java.awt.Point[x=320,y=58]
KEY AWT PRESSED [true]: ButtonNorthOuter, java.awt.event.KeyEvent[KEY_PRESSED,keyCode=65,keyText=A,keyChar='a',keyLocation=KEY_LOCATION_STANDARD,rawCode=0,primaryLevelUnicode=0,scancode=0] on button0
KEY AWT  TYPED [1]: ButtonNorthOuter, java.awt.event.KeyEvent[KEY_TYPED,keyCode=0,keyText=Unknown keyCode: 0x0,keyChar='a',keyLocation=KEY_LOCATION_UNKNOWN,rawCode=0,primaryLevelUnicode=0,scancode=0] on button0
KEY AWT RELEASED [false]: ButtonNorthOuter, java.awt.event.KeyEvent[KEY_RELEASED,keyCode=65,keyText=A,keyChar='a',keyLocation=KEY_LOCATION_STANDARD,rawCode=0,primaryLevelUnicode=0,scancode=0] on button0
KEY AWT PRESSED [true]: ButtonNorthOuter, java.awt.event.KeyEvent[KEY_PRESSED,keyCode=65,keyText=A,keyChar='a',keyLocation=KEY_LOCATION_STANDARD,rawCode=0,primaryLevelUnicode=0,scancode=0] on button0
KEY AWT  TYPED [2]: ButtonNorthOuter, java.awt.event.KeyEvent[KEY_TYPED,keyCode=0,keyText=Unknown keyCode: 0x0,keyChar='a',keyLocation=KEY_LOCATION_UNKNOWN,rawCode=0,primaryLevelUnicode=0,scancode=0] on button0
robot pos: java.awt.Point[x=320,y=58]
KEY AWT RELEASED [false]: ButtonNorthOuter, java.awt.event.KeyEvent[KEY_RELEASED,keyCode=65,keyText=A,keyChar='a',keyLocation=KEY_LOCATION_STANDARD,rawCode=0,primaryLevelUnicode=0,scancode=0] on button0
MOUSE AWT PRESSED [true]: ButtonNorthOuter, java.awt.event.MouseEvent[MOUSE_PRESSED,(325,13),absolute(320,58),button=1,modifiers=Button1,extModifiers=Button1,clickCount=1] on button0
MOUSE AWT RELEASED [false]: ButtonNorthOuter, java.awt.event.MouseEvent[MOUSE_RELEASED,(325,13),absolute(320,58),button=1,modifiers=Button1,clickCount=1] on button0
MOUSE AWT CLICKED [1]: ButtonNorthOuter, java.awt.event.MouseEvent[MOUSE_CLICKED,(325,13),absolute(320,58),button=1,modifiers=Button1,clickCount=1] on button0
robot pos: java.awt.Point[x=320,y=58]
MOUSE AWT PRESSED [true]: ButtonNorthOuter, java.awt.event.MouseEvent[MOUSE_PRESSED,(325,13),absolute(320,58),button=1,modifiers=Button1,extModifiers=Button1,clickCount=1] on button0
MOUSE AWT RELEASED [false]: ButtonNorthOuter, java.awt.event.MouseEvent[MOUSE_RELEASED,(325,13),absolute(320,58),button=1,modifiers=Button1,clickCount=1] on button0
MOUSE AWT CLICKED [2]: ButtonNorthOuter, java.awt.event.MouseEvent[MOUSE_CLICKED,(325,13),absolute(320,58),button=1,modifiers=Button1,clickCount=1] on button0
MOUSE AWT PRESSED [true]: ButtonNorthOuter, java.awt.event.MouseEvent[MOUSE_PRESSED,(325,13),absolute(320,58),button=1,modifiers=Button1,extModifiers=Button1,clickCount=1] on button0
MOUSE AWT RELEASED [false]: ButtonNorthOuter, java.awt.event.MouseEvent[MOUSE_RELEASED,(325,13),absolute(320,58),button=1,modifiers=Button1,clickCount=1] on button0
MOUSE AWT CLICKED [3]: ButtonNorthOuter, java.awt.event.MouseEvent[MOUSE_CLICKED,(325,13),absolute(320,58),button=1,modifiers=Button1,clickCount=1] on button0
FOCUS NEWT Canvas/GLWindow request
FOCUS AWT  LOST   PERM [false]: ButtonNorthOuter, java.awt.FocusEvent[FOCUS_LOST,permanent,opposite=null,cause=CLEAR_GLOBAL_FOCUS_OWNER] on java.awt.Button[button0,0,0,640x28,label=north]
FOCUS NEWT GAINED [true]: GLWindow1, WindowEvent[EVENT_WINDOW_GAINED_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.MacWindow, when:1318232762923 d 1ms]]
FOCUS NEWT Canvas/GLWindow sync
robot pos: java.awt.Point[x=323,y=807]
FOCUS AWT  GAINED PERM [true]: NewtCanvasAWT, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=java.awt.Button[button0,0,0,640x28,label=north],cause=UNKNOWN] on com.jogamp.newt.awt.NewtCanvasAWT[canvas0,57,28,418x346]
NEWT AWT PRESSED [true]: GLWindow1, KeyEvent[EVENT_KEY_PRESSED, code 65(0x41), char 'a' (0x61), isActionKey false, InputEvent[modifiers:0, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.MacWindow, when:1318232763036 d 10ms]]]
NEWT AWT RELEASED [false]: GLWindow1, KeyEvent[EVENT_KEY_RELEASED, code 65(0x41), char 'a' (0x61), isActionKey false, InputEvent[modifiers:0, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.MacWindow, when:1318232763036 d 10ms]]]
KEY NEWT TYPED [1]: GLWindow1, KeyEvent[EVENT_KEY_TYPED, code 65(0x41), char 'a' (0x61), isActionKey false, InputEvent[modifiers:0, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.MacWindow, when:1318232763036 d 10ms]]]
NEWT AWT PRESSED [true]: GLWindow1, KeyEvent[EVENT_KEY_PRESSED, code 65(0x41), char 'a' (0x61), isActionKey false, InputEvent[modifiers:0, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.MacWindow, when:1318232763087 d 10ms]]]
NEWT AWT RELEASED [false]: GLWindow1, KeyEvent[EVENT_KEY_RELEASED, code 65(0x41), char 'a' (0x61), isActionKey false, InputEvent[modifiers:0, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.MacWindow, when:1318232763089 d 8ms]]]
KEY NEWT TYPED [2]: GLWindow1, KeyEvent[EVENT_KEY_TYPED, code 65(0x41), char 'a' (0x61), isActionKey false, InputEvent[modifiers:0, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.MacWindow, when:1318232763089 d 9ms]]]
robot pos: java.awt.Point[x=323,y=807]
FOCUS AWT  LOST   TEMP [false]: NewtCanvasAWT, java.awt.FocusEvent[FOCUS_LOST,temporary,opposite=null,cause=ACTIVATION] on com.jogamp.newt.awt.NewtCanvasAWT[canvas0,57,28,418x346]
FOCUS NEWT LOST   [false]: GLWindow1, WindowEvent[EVENT_WINDOW_LOST_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.MacWindow, when:1318232763250 d 9ms]]
++++ UITestCase.tearDown: com.jogamp.opengl.test.junit.newt.TestFocus02SwingAWTRobot - testFocus01ProgrFocus
++++ UITestCase.setUp: com.jogamp.opengl.test.junit.newt.TestFocus02SwingAWTRobot - testFocus02RobotFocus
robot pos: java.awt.Point[x=320,y=33]
Thread[main-Display-MacOSX_nil-1-EDT-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]]
INIT GL IS: jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: NVIDIA GeForce 320M OpenGL Engine
GL_VERSION: 2.1 NVIDIA-1.6.36
gear1 created: com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2@4235e6e3
gear2 created: com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2@60c9630a
gear3 created: com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2@4585572a
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 FIN
FOCUS AWT  GAINED PERM [true]: 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): 1
FOCUS AWT  LOST   PERM [false]: JFrame1, java.awt.FocusEvent[FOCUS_LOST,permanent,opposite=null,cause=CLEAR_GLOBAL_FOCUS_OWNER] 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]
FOCUS AWT  GAINED PERM [true]: 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]
FOCUS AWT  Button Outer request
FOCUS AWT  LOST   PERM [false]: JFrame1, java.awt.FocusEvent[FOCUS_LOST,permanent,opposite=null,cause=CLEAR_GLOBAL_FOCUS_OWNER] 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]
++++ UITestCase.tearDown: com.jogamp.opengl.test.junit.newt.TestFocus02SwingAWTRobot - testFocus02RobotFocus
SLOCK 1318232773759 --- localhost/127.0.0.1:59999 - Unlock ok