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

Test java/awt/Focus/EndlessLoopTest/EndlessLoopTest.java fails with IllegalComponentStateException since JDK 5.0 FCS

XMLWordPrintable

    • x86
    • solaris_11

      Testsuite name: Regression
      Test name: java/awt/Focus/EndlessLoopTest/EndlessLoopTest.java
      JDK tested: JDK 5.0u45 b02
      OS tested: Solaris 11 x86
      Is it a regression: No
      Fails on 5.0 FCS: Yes

      Log:

      #section:main
      ----------messages:(3/117)----------
      command: main EndlessLoopTest
      reason: User specified action: run main EndlessLoopTest
      elapsed time (seconds): 3.784
      ----------System.out:(6/432)----------
      Any messages for the tester will display here.
      Any messages for the tester will display here.
      The test failed: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
      The test failed: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
      The test is over, hit Ctl-C to stop Java VM
      The test is over, hit Ctl-C to stop Java VM
      ----------System.err:(21/1455)----------
      java.lang.RuntimeException: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
      at EndlessLoopTest.fail(EndlessLoopTest.java:194)
      at EndlessLoopTest.init(EndlessLoopTest.java:95)
      at EndlessLoopTest.main(EndlessLoopTest.java:135)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:592)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:637)
      Caused by: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
      at java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:1704)
      at java.awt.Component.getLocationOnScreen(Component.java:1678)
      at EndlessLoopTest.clickOn(EndlessLoopTest.java:225)
      at EndlessLoopTest.init(EndlessLoopTest.java:93)
      ... 7 more

      JavaTest Message: Test threw exception: java.lang.RuntimeException: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location

            vkarnauk Vladislav Karnaukhov
            kshefov Konstantin Shefov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: