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

Test javax/swing/UIDefaults/6302464/bug6302464.java is unstable

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b20
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        This test fails time to time in mach5:
        ----------System.err:(48/3514)----------
        java.lang.reflect.InvocationTargetException
        at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1367)
        at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1342)
        at java.desktop/javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1480)
        at bug6302464.main(bug6302464.java:56)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:564)
        at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:229)
        at java.base/java.lang.Thread.run(Thread.java:842)
        Caused by: java.lang.RuntimeException: java.lang.NullPointerException
        at bug6302464.testCustomLAF(bug6302464.java:71)
        at bug6302464.testAntialiasingProperties(bug6302464.java:60)
        at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
        at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
        at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97)
        at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
        at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
        at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
        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)
        Caused by: java.lang.NullPointerException
        at java.desktop/javax.swing.plaf.synth.SynthLabelUI.uninstallDefaults(SynthLabelUI.java:79)
        at java.desktop/javax.swing.plaf.basic.BasicLabelUI.uninstallUI(BasicLabelUI.java:350)
        at java.desktop/javax.swing.JComponent.uninstallUIAndProperties(JComponent.java:700)
        at java.desktop/javax.swing.JComponent.setUI(JComponent.java:675)
        at java.desktop/javax.swing.JLabel.setUI(JLabel.java:256)
        at java.desktop/javax.swing.JLabel.updateUI(JLabel.java:270)
        at java.desktop/javax.swing.border.TitledBorder$1.propertyChange(TitledBorder.java:771)
        at java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:341)
        at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333)
        at java.desktop/javax.swing.event.SwingPropertyChangeSupport.firePropertyChange(SwingPropertyChangeSupport.java:92)
        at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:266)
        at java.desktop/javax.swing.UIManager.setLookAndFeel(UIManager.java:596)
        at bug6302464.testCustomLAF(bug6302464.java:77)
        at bug6302464.testCustomLAF(bug6302464.java:68)
        ... 15 more

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                psadhukhan Prasanta Sadhukhan
                Reporter:
                serb Sergey Bylokhov
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: