Skip to content

Regression

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

Failing for the past 1 build (Since Unstable#683 )
Took 1.3 sec.

Error Message

expected:<false> but was:<true>

Stacktrace

junit.framework.AssertionFailedError: expected:<false> but was:<true>
	at com.jogamp.opengl.test.junit.newt.TestFocus01SwingAWTRobot.testFocus01ProgrFocusImpl(TestFocus01SwingAWTRobot.java:167)
	at com.jogamp.opengl.test.junit.newt.TestFocus01SwingAWTRobot.testFocus01ProgrFocus(TestFocus01SwingAWTRobot.java:78)

Standard Error

SLOCK 1330334050695 ??? localhost/127.0.0.1:59999 - Wait for lock
Thread-0 - SingletonInstanceServerSocket: localhost/127.0.0.1:59999 - started
SLOCK 1330334073699 +++ localhost/127.0.0.1:59999 - Locked 
++++ UITestCase.setUp: com.jogamp.opengl.test.junit.newt.TestFocus01SwingAWTRobot - testFocus01ProgrFocus
FOCUS AWT  GAINED PERM [fc 1]: Button, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=null,cause=ACTIVATION] on java.awt.Button[button0,0,0,624x23,label=Click me ..]
FOCUS AWT  LOST   PERM [fc -1]: Button, java.awt.FocusEvent[FOCUS_LOST,permanent,opposite=com.jogamp.newt.awt.NewtCanvasAWT[canvas0,0,23,624x419],cause=UNKNOWN] on java.awt.Button[button0,0,0,624x23,label=Click me ..]
FOCUS AWT  GAINED PERM [fc 1]: NewtCanvasAWT, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=java.awt.Button[button0,0,0,624x23,label=Click me ..],cause=UNKNOWN] on com.jogamp.newt.awt.NewtCanvasAWT[canvas0,0,23,624x419]
FOCUS NEWT GAINED [fc 1]: GLWindow1, WindowEvent[EVENT_WINDOW_GAINED_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.windows.WindowsWindow, when:1330334074770 d 0ms]]
FOCUS AWT  LOST   PERM [fc -1]: NewtCanvasAWT, java.awt.FocusEvent[FOCUS_LOST,permanent,opposite=null,cause=CLEAR_GLOBAL_FOCUS_OWNER] on com.jogamp.newt.awt.NewtCanvasAWT[canvas0,0,23,624x419]
Thread[main-Display-Windows_nil-1-EDT-1,5,main] RedSquareES2.init ...
Thread[main-Display-Windows_nil-1-EDT-1,5,main]Chosen GLCapabilities: GLCaps[7 arb: on-scr, rgba 0x8/8/8/0, opaque, accum-rgba 16/16/16/16, dp/st/ms: 24/0/0, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw]]
Thread[main-Display-Windows_nil-1-EDT-1,5,main]INIT GL IS: jogamp.opengl.gl4.GL4bcImpl
******** clearAWTFocus.0
Thread[main-Display-Windows_nil-1-EDT-1,5,main]GL_VENDOR: NVIDIA Corporation
Thread[main-Display-Windows_nil-1-EDT-1,5,main]GL_RENDERER: GeForce GTX 460/PCIe/SSE2
Thread[main-Display-Windows_nil-1-EDT-1,5,main]GL_VERSION: 4.2.0
Thread[main-Display-Windows_nil-1-EDT-1,5,main] GL Profile: GLProfile[GL4bc/GL4bc.hw]
Thread[main-Display-Windows_nil-1-EDT-1,5,main] GL:jogamp.opengl.gl4.GL4bcImpl@34b23d12
Thread[main-Display-Windows_nil-1-EDT-1,5,main] GL_VERSION=4.2.0
Thread[main-Display-Windows_nil-1-EDT-1,5,main] RedSquareES2.init FIN
Thread[main-Display-Windows_nil-1-EDT-1,5,main] RedSquareES2.reshape 0/0 624x419, swapInterval 1
Thread[main-Display-Windows_nil-1-EDT-1,5,main] RedSquareES2.reshape FIN
******** clearAWTFocus.X
toFront: robot pos: java.awt.Point[x=320,y=240]
FOCUS NEWT LOST   [fc -1]: GLWindow1, WindowEvent[EVENT_WINDOW_LOST_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.windows.WindowsWindow, when:1330334075089 d 0ms]]
FOCUS AWT  GAINED PERM [fc 1]: frame1, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=null,cause=UNKNOWN] on javax.swing.JFrame[frame0,0,0,640x480,layout=java.awt.BorderLayout,title=Swing AWT Parent Frame: testNewtChildFocus,resizable,normal,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,8,30,624x442,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  Button request
requestFocus: AWT Component
FOCUS AWT  LOST   PERM [fc -1]: frame1, java.awt.FocusEvent[FOCUS_LOST,permanent,opposite=java.awt.Button[button0,0,0,624x23,label=Click me ..],cause=UNKNOWN] on javax.swing.JFrame[frame0,0,0,640x480,layout=java.awt.BorderLayout,title=Swing AWT Parent Frame: testNewtChildFocus,resizable,normal,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,8,30,624x442,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
FOCUS AWT  GAINED PERM [fc 1]: Button, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=javax.swing.JFrame[frame0,0,0,640x480,layout=java.awt.BorderLayout,title=Swing AWT Parent Frame: testNewtChildFocus,resizable,normal,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,8,30,624x442,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,624x23,label=Click me ..]
FOCUS AWT  Button sync
centerMouse: robot pos: java.awt.Point[x=320,y=42], onTitleBarIfWindow: false
KEY AWT PRESSED [true]: Button, java.awt.event.KeyEvent[KEY_PRESSED,keyCode=65,keyText=A,keyChar='a',keyLocation=KEY_LOCATION_STANDARD,rawCode=65,primaryLevelUnicode=97,scancode=30] on button0
KEY AWT  TYPED [1]: Button, 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]: Button, java.awt.event.KeyEvent[KEY_RELEASED,keyCode=65,keyText=A,keyChar='a',keyLocation=KEY_LOCATION_STANDARD,rawCode=65,primaryLevelUnicode=97,scancode=30] on button0
KEY AWT PRESSED [true]: Button, java.awt.event.KeyEvent[KEY_PRESSED,keyCode=65,keyText=A,keyChar='a',keyLocation=KEY_LOCATION_STANDARD,rawCode=65,primaryLevelUnicode=97,scancode=30] on button0
KEY AWT  TYPED [2]: Button, 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]: Button, java.awt.event.KeyEvent[KEY_RELEASED,keyCode=65,keyText=A,keyChar='a',keyLocation=KEY_LOCATION_STANDARD,rawCode=65,primaryLevelUnicode=97,scancode=30] on button0
FOCUS NEWT Canvas/GLWindow request
FOCUS NEWT GAINED [fc 1]: GLWindow1, WindowEvent[EVENT_WINDOW_GAINED_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.windows.WindowsWindow, when:1330334075873 d 0ms]]
requestFocus: AWT Component
FOCUS AWT  LOST   PERM [fc -1]: Button, java.awt.FocusEvent[FOCUS_LOST,permanent,opposite=com.jogamp.newt.awt.NewtCanvasAWT[canvas0,0,23,624x419],cause=UNKNOWN] on java.awt.Button[button0,0,0,624x23,label=Click me ..]
FOCUS AWT  GAINED PERM [fc 1]: NewtCanvasAWT, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=java.awt.Button[button0,0,0,624x23,label=Click me ..],cause=UNKNOWN] on com.jogamp.newt.awt.NewtCanvasAWT[canvas0,0,23,624x419]
++++ UITestCase.tearDown: com.jogamp.opengl.test.junit.newt.TestFocus01SwingAWTRobot - testFocus01ProgrFocus
FOCUS AWT  LOST   PERM [fc -1]: NewtCanvasAWT, java.awt.FocusEvent[FOCUS_LOST,permanent,opposite=null,cause=CLEAR_GLOBAL_FOCUS_OWNER] on com.jogamp.newt.awt.NewtCanvasAWT[canvas0,0,23,624x419]
++++ UITestCase.setUp: com.jogamp.opengl.test.junit.newt.TestFocus01SwingAWTRobot - testFocus02RobotFocus
FOCUS NEWT LOST   [fc -1]: GLWindow1, WindowEvent[EVENT_WINDOW_LOST_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.windows.WindowsWindow, when:1330334076028 d 0ms]]
FOCUS NEWT GAINED [fc 1]: GLWindow1, WindowEvent[EVENT_WINDOW_GAINED_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.windows.WindowsWindow, when:1330334076080 d 0ms]]
FOCUS AWT  GAINED PERM [fc 1]: Button, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=null,cause=ACTIVATION] on java.awt.Button[button1,0,0,624x23,label=Click me ..]
FOCUS AWT  LOST   PERM [fc -1]: Button, java.awt.FocusEvent[FOCUS_LOST,permanent,opposite=com.jogamp.newt.awt.NewtCanvasAWT[canvas1,0,23,624x419],cause=UNKNOWN] on java.awt.Button[button1,0,0,624x23,label=Click me ..]
Thread[main-Display-Windows_nil-1-EDT-1,5,main] RedSquareES2.init ...
Thread[main-Display-Windows_nil-1-EDT-1,5,main]Chosen GLCapabilities: GLCaps[7 arb: on-scr, rgba 0x8/8/8/0, opaque, accum-rgba 16/16/16/16, dp/st/ms: 24/0/0, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw]]
Thread[main-Display-Windows_nil-1-EDT-1,5,main]INIT GL IS: jogamp.opengl.gl4.GL4bcImpl
Thread[main-Display-Windows_nil-1-EDT-1,5,main]GL_VENDOR: NVIDIA Corporation
Thread[main-Display-Windows_nil-1-EDT-1,5,main]GL_RENDERER: GeForce GTX 460/PCIe/SSE2
Thread[main-Display-Windows_nil-1-EDT-1,5,main]GL_VERSION: 4.2.0
FOCUS AWT  GAINED PERM [fc 1]: NewtCanvasAWT, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=java.awt.Button[button1,0,0,624x23,label=Click me ..],cause=UNKNOWN] on com.jogamp.newt.awt.NewtCanvasAWT[canvas1,0,23,624x419]
Thread[main-Display-Windows_nil-1-EDT-1,5,main] GL Profile: GLProfile[GL4bc/GL4bc.hw]
Thread[main-Display-Windows_nil-1-EDT-1,5,main] GL:jogamp.opengl.gl4.GL4bcImpl@3e152f4
Thread[main-Display-Windows_nil-1-EDT-1,5,main] GL_VERSION=4.2.0
FOCUS AWT  LOST   PERM [fc -1]: NewtCanvasAWT, java.awt.FocusEvent[FOCUS_LOST,permanent,opposite=null,cause=CLEAR_GLOBAL_FOCUS_OWNER] on com.jogamp.newt.awt.NewtCanvasAWT[canvas1,0,23,624x419]
******** clearAWTFocus.0
Thread[main-Display-Windows_nil-1-EDT-1,5,main] RedSquareES2.init FIN
Thread[main-Display-Windows_nil-1-EDT-1,5,main] RedSquareES2.reshape 0/0 624x419, swapInterval 1
Thread[main-Display-Windows_nil-1-EDT-1,5,main] RedSquareES2.reshape FIN
******** clearAWTFocus.X
toFront: robot pos: java.awt.Point[x=320,y=240]
FOCUS NEWT LOST   [fc -1]: GLWindow1, WindowEvent[EVENT_WINDOW_LOST_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.windows.WindowsWindow, when:1330334076476 d 0ms]]
FOCUS AWT  GAINED PERM [fc 1]: frame1, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=null,cause=UNKNOWN] on javax.swing.JFrame[frame1,0,0,640x480,layout=java.awt.BorderLayout,title=Swing AWT Parent Frame: testNewtChildFocus,resizable,normal,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,8,30,624x442,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 request
centerMouse: robot pos: java.awt.Point[x=320,y=42], onTitleBarIfWindow: true
FOCUS AWT  LOST   PERM [fc -1]: frame1, java.awt.FocusEvent[FOCUS_LOST,permanent,opposite=java.awt.Button[button1,0,0,624x23,label=Click me ..],cause=MOUSE_EVENT] on javax.swing.JFrame[frame1,0,0,640x480,layout=java.awt.BorderLayout,title=Swing AWT Parent Frame: testNewtChildFocus,resizable,normal,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,8,30,624x442,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
FOCUS AWT  GAINED PERM [fc 1]: Button, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=javax.swing.JFrame[frame1,0,0,640x480,layout=java.awt.BorderLayout,title=Swing AWT Parent Frame: testNewtChildFocus,resizable,normal,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,8,30,624x442,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true],cause=MOUSE_EVENT] on java.awt.Button[button1,0,0,624x23,label=Click me ..]
requestFocus: click, d: 501 ms
FOCUS AWT  Button sync
centerMouse: robot pos: java.awt.Point[x=320,y=42], onTitleBarIfWindow: false
KEY AWT PRESSED [true]: Button, java.awt.event.KeyEvent[KEY_PRESSED,keyCode=65,keyText=A,keyChar='a',keyLocation=KEY_LOCATION_STANDARD,rawCode=65,primaryLevelUnicode=97,scancode=30] on button1
KEY AWT  TYPED [1]: Button, 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 button1
KEY AWT RELEASED [false]: Button, java.awt.event.KeyEvent[KEY_RELEASED,keyCode=65,keyText=A,keyChar='a',keyLocation=KEY_LOCATION_STANDARD,rawCode=65,primaryLevelUnicode=97,scancode=30] on button1
KEY AWT PRESSED [true]: Button, java.awt.event.KeyEvent[KEY_PRESSED,keyCode=65,keyText=A,keyChar='a',keyLocation=KEY_LOCATION_STANDARD,rawCode=65,primaryLevelUnicode=97,scancode=30] on button1
KEY AWT  TYPED [2]: Button, 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 button1
KEY AWT RELEASED [false]: Button, java.awt.event.KeyEvent[KEY_RELEASED,keyCode=65,keyText=A,keyChar='a',keyLocation=KEY_LOCATION_STANDARD,rawCode=65,primaryLevelUnicode=97,scancode=30] on button1
FOCUS NEWT Canvas/GLWindow request
centerMouse: robot pos: java.awt.Point[x=320,y=263], onTitleBarIfWindow: true
FOCUS AWT  LOST   PERM [fc -1]: Button, java.awt.FocusEvent[FOCUS_LOST,permanent,opposite=com.jogamp.newt.awt.NewtCanvasAWT[canvas1,0,23,624x419],cause=UNKNOWN] on java.awt.Button[button1,0,0,624x23,label=Click me ..]
FOCUS AWT  GAINED PERM [fc 1]: NewtCanvasAWT, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=java.awt.Button[button1,0,0,624x23,label=Click me ..],cause=UNKNOWN] on com.jogamp.newt.awt.NewtCanvasAWT[canvas1,0,23,624x419]
FOCUS NEWT GAINED [fc 1]: GLWindow1, WindowEvent[EVENT_WINDOW_GAINED_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.windows.WindowsWindow, when:1330334077977 d 0ms]]
FOCUS AWT  LOST   PERM [fc -1]: NewtCanvasAWT, java.awt.FocusEvent[FOCUS_LOST,permanent,opposite=null,cause=CLEAR_GLOBAL_FOCUS_OWNER] on com.jogamp.newt.awt.NewtCanvasAWT[canvas1,0,23,624x419]
MouseEvent[EVENT_MOUSE_CLICKED, [I@3175ade6/[I@24ebf068, button 1, count 1, wheel rotation 0, pointer<1>[-1: 312 / 210 0.0p], InputEvent[modifiers: 0x0, NEWTEvent[sys:false, source:jogamp.newt.driver.windows.WindowsWindow, when:1330334078073 d 0ms]]]
setSwapInterval: 1
requestFocus: click, d: 501 ms
FOCUS NEWT Canvas/GLWindow sync
centerMouse: robot pos: java.awt.Point[x=320,y=262], onTitleBarIfWindow: false
NEWT AWT PRESSED [true]: GLWindow1, KeyEvent[EVENT_KEY_PRESSED, code 65(0x41), char '?' (0xffff), isActionKey false, InputEvent[modifiers: 0x0, NEWTEvent[sys:false, source:jogamp.newt.driver.windows.WindowsWindow, when:1330334078584 d 0ms]]]
KEY NEWT TYPED [1]: GLWindow1, KeyEvent[EVENT_KEY_TYPED, code 65(0x41), char 'a' (0x61), isActionKey false, InputEvent[modifiers: 0x0, NEWTEvent[sys:false, source:jogamp.newt.driver.windows.WindowsWindow, when:1330334078584 d 0ms]]]
NEWT AWT RELEASED [false]: GLWindow1, KeyEvent[EVENT_KEY_RELEASED, code 65(0x41), char '?' (0xffff), isActionKey false, InputEvent[modifiers: 0x0, NEWTEvent[sys:false, source:jogamp.newt.driver.windows.WindowsWindow, when:1330334078584 d 0ms]]]
NEWT AWT PRESSED [true]: GLWindow1, KeyEvent[EVENT_KEY_PRESSED, code 65(0x41), char '?' (0xffff), isActionKey false, InputEvent[modifiers: 0x0, NEWTEvent[sys:false, source:jogamp.newt.driver.windows.WindowsWindow, when:1330334078683 d 0ms]]]
KEY NEWT TYPED [2]: GLWindow1, KeyEvent[EVENT_KEY_TYPED, code 65(0x41), char 'a' (0x61), isActionKey false, InputEvent[modifiers: 0x0, NEWTEvent[sys:false, source:jogamp.newt.driver.windows.WindowsWindow, when:1330334078683 d 0ms]]]
NEWT AWT RELEASED [false]: GLWindow1, KeyEvent[EVENT_KEY_RELEASED, code 65(0x41), char '?' (0xffff), isActionKey false, InputEvent[modifiers: 0x0, NEWTEvent[sys:false, source:jogamp.newt.driver.windows.WindowsWindow, when:1330334078683 d 0ms]]]
FOCUS AWT  GAINED PERM [fc 1]: NewtCanvasAWT, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=null,cause=ACTIVATION] on com.jogamp.newt.awt.NewtCanvasAWT[canvas0,0,23,624x419]
Thread[main-Display-Windows_nil-1-EDT-1,5,main] RedSquareES2.dispose ... 
FOCUS AWT  LOST   PERM [fc -1]: NewtCanvasAWT, java.awt.FocusEvent[FOCUS_LOST,permanent,opposite=null,cause=CLEAR_GLOBAL_FOCUS_OWNER] on com.jogamp.newt.awt.NewtCanvasAWT[canvas0,0,23,624x419]
Thread[main-Display-Windows_nil-1-EDT-1,5,main] RedSquareES2.dispose FIN
++++ UITestCase.tearDown: com.jogamp.opengl.test.junit.newt.TestFocus01SwingAWTRobot - testFocus02RobotFocus
FOCUS NEWT GAINED [fc 1]: GLWindow1, WindowEvent[EVENT_WINDOW_GAINED_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.windows.WindowsWindow, when:1330334078928 d 0ms]]
SLOCK 1330334078929 --- localhost/127.0.0.1:59999 - Unlock ok