Skip to content

Regression

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

Failing for the past 1 build (Since Unstable#378 )
Took 2.1 sec.

Stacktrace

junit.framework.AssertionFailedError: 
	at com.jogamp.opengl.test.junit.newt.TestFocus01SwingAWTRobot.testFocus01ProgrFocusImpl(TestFocus01SwingAWTRobot.java:160)
	at com.jogamp.opengl.test.junit.newt.TestFocus01SwingAWTRobot.testFocus02RobotFocus(TestFocus01SwingAWTRobot.java:86)

Standard Output

RedSquare: Init
RedSquare: Reshape
RedSquare: Reshape
RedSquare: Dispose
RedSquare: Init
RedSquare: Reshape
RedSquare: Reshape

Standard Error

Locked /tmp/UITestCase.lock
++++ UITestCase.setUp: com.jogamp.opengl.test.junit.newt.TestFocus01SwingAWTRobot
Detected screen size 1920x1080
robot pos: java.awt.Point[x=320,y=240]
FOCUS AWT  GAINED PERM [1]: Button, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=null,cause=ACTIVATION] on java.awt.Button[button0,0,0,634x23,label=Click me ..]
FOCUS AWT  LOST   PERM [0]: Button, java.awt.FocusEvent[FOCUS_LOST,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[,3,23,634x453,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,634x23,label=Click me ..]
Frames for initial setVisible(true): 5
FOCUS AWT  Button request
FOCUS AWT  GAINED PERM [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[,3,23,634x453,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,634x23,label=Click me ..]
FOCUS AWT  Button sync
robot pos: java.awt.Point[x=320,y=35]
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=97,scancode=0] 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=97,scancode=0] on button0
FOCUS NEWT Canvas/GLWindow request
FOCUS AWT  LOST   PERM [-1]: Button, java.awt.FocusEvent[FOCUS_LOST,permanent,opposite=com.jogamp.newt.awt.NewtCanvasAWT[canvas0,0,23,634x430],cause=UNKNOWN] on java.awt.Button[button0,0,0,634x23,label=Click me ..]
FOCUS NEWT Canvas/GLWindow sync
FOCUS NEWT GAINED [1]: GLWindow1, WindowEvent[EVENT_WINDOW_GAINED_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.x11.X11Window, when:1303987788112 d 0ms]]
FOCUS AWT  GAINED PERM [1]: NewtCanvasAWT, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=java.awt.Button[button0,0,0,634x23,label=Click me ..],cause=UNKNOWN] on com.jogamp.newt.awt.NewtCanvasAWT[canvas0,0,23,634x430]
FOCUS AWT  LOST   TEMP [0]: NewtCanvasAWT, java.awt.FocusEvent[FOCUS_LOST,temporary,opposite=null,cause=ACTIVATION] on com.jogamp.newt.awt.NewtCanvasAWT[canvas0,0,23,634x430]
robot pos: java.awt.Point[x=320,y=261]
KEY NEWT TYPED [1]: GLWindow1, KeyEvent[EVENT_KEY_TYPED, code -1(0xffffffff), char 'a' (0x61), isActionKey false, InputEvent[modifiers:0, NEWTEvent[sys:false, source:jogamp.newt.x11.X11Window, when:1303987788226 d 0ms]]]
KEY NEWT TYPED [2]: GLWindow1, KeyEvent[EVENT_KEY_TYPED, code -1(0xffffffff), char 'a' (0x61), isActionKey false, InputEvent[modifiers:0, NEWTEvent[sys:false, source:jogamp.newt.x11.X11Window, when:1303987788318 d 0ms]]]
++++ UITestCase.tearDown: com.jogamp.opengl.test.junit.newt.TestFocus01SwingAWTRobot
++++ UITestCase.setUp: com.jogamp.opengl.test.junit.newt.TestFocus01SwingAWTRobot
robot pos: java.awt.Point[x=320,y=240]
Detected screen size 1920x1080
Frames for initial setVisible(true): 4
FOCUS AWT  Button request
robot pos: java.awt.Point[x=320,y=35]
FOCUS AWT  GAINED PERM [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[,3,23,634x453,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,634x23,label=Click me ..]
FOCUS AWT  Button sync
robot pos: java.awt.Point[x=320,y=35]
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=97,scancode=0] 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=97,scancode=0] on button1
FOCUS AWT  LOST   TEMP [0]: Button, java.awt.FocusEvent[FOCUS_LOST,temporary,opposite=null,cause=ACTIVATION] on java.awt.Button[button1,0,0,634x23,label=Click me ..]
FOCUS NEWT Canvas/GLWindow request
robot pos: java.awt.Point[x=320,y=261]
FOCUS AWT  GAINED PERM [1]: Button, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=null,cause=ACTIVATION] on java.awt.Button[button1,0,0,634x23,label=Click me ..]
FOCUS NEWT LOST   [-1]: GLWindow1, WindowEvent[EVENT_WINDOW_LOST_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.x11.X11Window, when:1303987789856 d 0ms]]
FOCUS AWT  LOST   TEMP [0]: Button, java.awt.FocusEvent[FOCUS_LOST,temporary,opposite=null,cause=ACTIVATION] on java.awt.Button[button1,0,0,634x23,label=Click me ..]
FOCUS NEWT LOST   [-2]: GLWindow1, WindowEvent[EVENT_WINDOW_LOST_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.x11.X11Window, when:1303987790160 d 0ms]]
FOCUS AWT  GAINED PERM [1]: Button, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=null,cause=ACTIVATION] on java.awt.Button[button1,0,0,634x23,label=Click me ..]
++++ UITestCase.tearDown: com.jogamp.opengl.test.junit.newt.TestFocus01SwingAWTRobot