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

javax/swing/JTableHeader/6884066/bug6884066.java: Unexpected header's value; index = 4 value = E

XMLWordPrintable

    • b21
    • linux

        The test javax/swing/JTableHeader/6884066/bug6884066.java intermittently fails on Ubuntu 20.04 22.04 with the following diagnostic:

        ====================8<--------------------
        #section:main
        ----------messages:(7/261)----------
        command: main bug6884066
        reason: User specified action: run main bug6884066
        started: Sun Apr 09 01:16:38 CEST 2023
        Mode: othervm
        Additional options from @modules: --add-modules java.desktop
        finished: Sun Apr 09 01:16:46 CEST 2023
        elapsed time (seconds): 8.018
        ----------configuration:(3/40)----------
        Boot Layer
          add modules: java.desktop

        ----------System.out:(0/0)----------
        ----------System.err:(30/2108)----------
        java.lang.reflect.InvocationTargetException
        at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1371)
        at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1346)
        at java.desktop/javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1480)
        at bug6884066.main(bug6884066.java:70)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:578)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
        at java.base/java.lang.Thread.run(Thread.java:1630)
        Caused by: java.lang.RuntimeException: Unexpected header's value; index = 4 value = E
        at bug6884066.checkColumn(bug6884066.java:82)
        at bug6884066$2.run(bug6884066.java:73)
        at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:308)
        at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)
        at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
        at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
        at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
        at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
        at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
        at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
        at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

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

        STATUS:Failed.`main' threw exception: java.lang.reflect.InvocationTargetException
        ====================8<--------------------

        The issue was observed with 21-ea+17-1421, 20+36-2344, 17.0.2+8-86

        Reproducibility: ~30%

        Steps to reproduce:

        $ runme.sh jtreg [test_jdk] "" test/jdk/javax/swing/JTableHeader/6884066/bug6884066.java

        see the attached runme.sh

          1. runme.sh
            0.3 kB
            Vitaly Provodin

              psadhukhan Prasanta Sadhukhan
              vprovodin Vitaly Provodin
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: