-
Bug
-
Resolution: Duplicate
-
P4
-
11, 12, 13, 14, 15
-
os_x
java version "12-ea" 2019-03-19
Java(TM) SE Runtime Environment 19.3 (build 12-ea+14)
Java HotSpot(TM) 64-Bit Server VM 19.3 (build 12-ea+14, mixed mode)
OS: Mac OS X 10.13.3 (x86_64)
This is observed while running the attached ColorChooserDemoTest.java iteratively (6/1000 times).
Error log:
Trace:
Start to wait action "Wait Any javax.swing.JTabbedPane loaded (ComponentOperator.WaitComponentTimeout)"
Trace:
Start to wait action "Wait Any javax.swing.JTabbedPane loaded (ComponentOperator.WaitComponentTimeout)"
disposeAllWindows
test ColorChooserDemoTest.test(): failure
org.netbeans.jemmy.TimeoutExpiredException: Wait component has focus (ComponentOperator.WaitFocusTimeout)
at org.netbeans.jemmy.Waiter.waitAction(Waiter.java:208)
at org.netbeans.jemmy.operators.ComponentOperator.waitHasFocus(ComponentOperator.java:1091)
at ColorChooserDemoTest.pressButtonAndInitialize(ColorChooserDemoTest.java:144)
at ColorChooserDemoTest.checkCancelButton(ColorChooserDemoTest.java:197)
at ColorChooserDemoTest.basicCheck(ColorChooserDemoTest.java:173)
at ColorChooserDemoTest.checkBackgroundColorChooser(ColorChooserDemoTest.java:127)
at ColorChooserDemoTest.test(ColorChooserDemoTest.java:120)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
at org.testng.TestRunner.privateRun(TestRunner.java:773)
at org.testng.TestRunner.run(TestRunner.java:623)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
at org.testng.TestNG.run(TestNG.java:1018)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
at java.base/java.lang.Thread.run(Thread.java:835)
Java(TM) SE Runtime Environment 19.3 (build 12-ea+14)
Java HotSpot(TM) 64-Bit Server VM 19.3 (build 12-ea+14, mixed mode)
OS: Mac OS X 10.13.3 (x86_64)
This is observed while running the attached ColorChooserDemoTest.java iteratively (6/1000 times).
Error log:
Trace:
Start to wait action "Wait Any javax.swing.JTabbedPane loaded (ComponentOperator.WaitComponentTimeout)"
Trace:
Start to wait action "Wait Any javax.swing.JTabbedPane loaded (ComponentOperator.WaitComponentTimeout)"
disposeAllWindows
test ColorChooserDemoTest.test(): failure
org.netbeans.jemmy.TimeoutExpiredException: Wait component has focus (ComponentOperator.WaitFocusTimeout)
at org.netbeans.jemmy.Waiter.waitAction(Waiter.java:208)
at org.netbeans.jemmy.operators.ComponentOperator.waitHasFocus(ComponentOperator.java:1091)
at ColorChooserDemoTest.pressButtonAndInitialize(ColorChooserDemoTest.java:144)
at ColorChooserDemoTest.checkCancelButton(ColorChooserDemoTest.java:197)
at ColorChooserDemoTest.basicCheck(ColorChooserDemoTest.java:173)
at ColorChooserDemoTest.checkBackgroundColorChooser(ColorChooserDemoTest.java:127)
at ColorChooserDemoTest.test(ColorChooserDemoTest.java:120)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
at org.testng.TestRunner.privateRun(TestRunner.java:773)
at org.testng.TestRunner.run(TestRunner.java:623)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
at org.testng.TestNG.run(TestNG.java:1018)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
at java.base/java.lang.Thread.run(Thread.java:835)
- duplicates
-
JDK-8223788 [macos] JSpinner buttons in JColorChooser dialog may capture focus using TAB Key.
- Resolved