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

javax/swing/JList/6462008/bug6462008.java fails with InvocationTargetException

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      solaris_11

      Description

      Regression test javax/swing/JList/6462008/bug6462008.java fails with InvocationTargetException.

      OS: Solaris 11 i386
      JDK: JDK 7 all updates (jdk 7 fcs b148 also fails).

      Jtreg log:

      #section:main
      ----------messages:(3/107)----------
      command: main bug6462008
      reason: User specified action: run main bug6462008
      elapsed time (seconds): 0.911
      ----------System.out:(0/0)----------
      ----------System.err:(36/2181)----------
      java.lang.reflect.InvocationTargetException
      at java.awt.EventQueue.invokeAndWait(EventQueue.java:1258)
      at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1349)
      at bug6462008.checkSelectionAL(bug6462008.java:373)
      at bug6462008.checkSelection(bug6462008.java:369)
      at bug6462008.testListSelection(bug6462008.java:83)
      at bug6462008.main(bug6462008.java:68)
      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:601)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:722)
      Caused by: java.lang.RuntimeException: 0 is selected when it should not be
      at bug6462008.checkSelectionNonThreadSafe(bug6462008.java:408)
      at bug6462008.access$400(bug6462008.java:37)
      at bug6462008$8.run(bug6462008.java:377)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:721)
      at java.awt.EventQueue.access$200(EventQueue.java:103)
      at java.awt.EventQueue$3.run(EventQueue.java:682)
      at java.awt.EventQueue$3.run(EventQueue.java:680)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:691)
      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)

      JavaTest Message: Test threw exception: java.lang.reflect.InvocationTargetException
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.reflect.InvocationTargetException
      result: Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException


      test result: Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kshefov Konstantin Shefov
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: