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

[TEST BUG] closed/javax/swing/plaf/metal/MetalUtils/bug6190373.java throws NPE

XMLWordPrintable

    • b96
    • windows_2008

      test passes on jdk1.8.0b95 and jdk1.7.0_25b17 but fails on jdk1.8.0b96 with exception

      java.lang.NullPointerException
      at javax.swing.SwingUtilities.appContextGet(SwingUtilities.java:1862)
      at javax.swing.JComponent.getDefaultLocale(JComponent.java:2776)
      at javax.swing.JComponent.<init>(JComponent.java:600)
      at javax.swing.AbstractButton.<init>(AbstractButton.java:75)
      at javax.swing.JButton.<init>(JButton.java:132)
      at javax.swing.JButton.<init>(JButton.java:110)
      at bug6190373.slam(bug6190373.java:26)
      at bug6190373.main(bug6190373.java:22)
      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:491)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:724)

            alexsch Alexandr Scherbatiy
            asakharu Aleksandr Sakharuk (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: