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

New test java/awt/Mouse/MouseComboBoxTest/MouseComboBoxTest.java fails since it was integrated

XMLWordPrintable

    • generic
    • linux

      Testsuite name: Regression
      Test name: java/awt/Mouse/MouseComboBoxTest/MouseComboBoxTest.java
      JDk tested: 7u72 b05
      OS tested: Linux 32 bit, Linux 64 bit

      LOG:
      java.lang.reflect.InvocationTargetException
      at java.awt.EventQueue.invokeAndWait(EventQueue.java:1276)
      at java.awt.EventQueue.invokeAndWait(EventQueue.java:1251)
      at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1347)
      at MouseComboBoxTest.getItemPointToClick(MouseComboBoxTest.java:86)
      at MouseComboBoxTest.main(MouseComboBoxTest.java:70)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
      at java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:2048)
      at java.awt.Component.getLocationOnScreen(Component.java:2022)
      at MouseComboBoxTest$2.run(MouseComboBoxTest.java:90)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:302)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
      at java.awt.EventQueue.access$200(EventQueue.java:103)
      at java.awt.EventQueue$3.run(EventQueue.java:694)
      at java.awt.EventQueue$3.run(EventQueue.java:692)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

            alexp Alexander Potochkin (Inactive)
            kshefov Konstantin Shefov
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: