Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8210057

Enable different look and feels in SwingSet3 demo test InternalFrameDemoTest

XMLWordPrintable

    • b20
    • generic
    • generic

        In Motif L&F it failing with below exception:

        Error:
        "Wait for "JComponent with tool tip "Minimize"" subcomponent to be displayed (ComponentOperator.WaitComponentTimeout)" action has not been produced in 60008 milliseconds
        org.netbeans.jemmy.TimeoutExpiredException: Wait for "JComponent with tool tip "Minimize"" subcomponent to be displayed (ComponentOperator.WaitComponentTimeout)
        at org.netbeans.jemmy.Waiter.waitAction(Waiter.java:208)
        at org.netbeans.jemmy.operators.ContainerOperator.waitSubComponent(ContainerOperator.java:319)
        at org.netbeans.jemmy.operators.JButtonOperator.<init>(JButtonOperator.java:74)
        at org.netbeans.jemmy.operators.JButtonOperator.<init>(JButtonOperator.java:86)
        at org.netbeans.jemmy.operators.JInternalFrameOperator.initOperators(JInternalFrameOperator.java:1417)
        at org.netbeans.jemmy.operators.JInternalFrameOperator.getTitleOperator(JInternalFrameOperator.java:676)
        at org.netbeans.jemmy.drivers.windows.DefaultInternalFrameDriver.activate(DefaultInternalFrameDriver.java:57)
        at org.netbeans.jemmy.operators.JInternalFrameOperator.activate(JInternalFrameOperator.java:568)
        at org.netbeans.jemmy.util.DefaultVisualizer.initInternalFrame(DefaultVisualizer.java:156)
        at org.netbeans.jemmy.util.DefaultVisualizer.makeVisible(DefaultVisualizer.java:216)
        at org.netbeans.jemmy.operators.ComponentOperator.makeComponentVisible(ComponentOperator.java:887)
        at org.netbeans.jemmy.operators.JInternalFrameOperator.maximize(JInternalFrameOperator.java:489)
        at InternalFrameDemoTest.checkInternalFrameAction(InternalFrameDemoTest.java:199)
        at InternalFrameDemoTest.test(InternalFrameDemoTest.java:120)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
        at org.testng.internal.Invoker.invokeMethod(Invoker.java:715)
        at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:907)
        at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1237)
        at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
        at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
        at org.testng.TestRunner.privateRun(TestRunner.java:767)
        at org.testng.TestRunner.run(TestRunner.java:617)
        at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
        at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
        at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
        at org.testng.SuiteRunner.run(SuiteRunner.java:240)
        at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:51)
        at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:85)
        at org.testng.TestNG.runSuitesSequentially(TestNG.java:1197)
        at org.testng.TestNG.runSuitesLocally(TestNG.java:1122)
        at org.testng.TestNG.run(TestNG.java:1030)
        at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:126)
        at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:152)
        at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:57)


        In Nimbus, Windows and Windows Classic it failing with below exception:

        org.netbeans.jemmy.TimeoutExpiredException: Wait "org.netbeans.jemmy.operators.Operator$$Lambda$13/1100767002@6d2a209c" state to be reached (ComponentOperator.WaitStateTimeout)
        at org.netbeans.jemmy.Waiter.waitAction(Waiter.java:208)
        at org.netbeans.jemmy.operators.Operator.waitState(Operator.java:720)
        at org.netbeans.jemmy.operators.Operator.waitState(Operator.java:694)
        at org.netbeans.jemmy.operators.Operator.waitStateOnQueue(Operator.java:737)
        at org.netbeans.jemmy.operators.JInternalFrameOperator.waitIcon(JInternalFrameOperator.java:700)
        at org.netbeans.jemmy.operators.JInternalFrameOperator.deiconify(JInternalFrameOperator.java:476)
        at InternalFrameDemoTest.checkInternalFrameAction(InternalFrameDemoTest.java:206)
        at InternalFrameDemoTest.test(InternalFrameDemoTest.java:120)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
        at org.testng.internal.Invoker.invokeMethod(Invoker.java:715)
        at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:907)
        at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1237)
        at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
        at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
        at org.testng.TestRunner.privateRun(TestRunner.java:767)
        at org.testng.TestRunner.run(TestRunner.java:617)
        at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
        at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
        at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
        at org.testng.SuiteRunner.run(SuiteRunner.java:240)
        at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:51)
        at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:85)
        at org.testng.TestNG.runSuitesSequentially(TestNG.java:1197)
        at org.testng.TestNG.runSuitesLocally(TestNG.java:1122)
        at org.testng.TestNG.run(TestNG.java:1030)
        at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:126)
        at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:152)
        at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:57)

              gpatil Gauri Patil (Inactive)
              akolarkunnu Abdul Kolarkunnu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: