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

[TEST_BUG] closed/javax/swing/plaf/metal/MetalUtils/bug6190373.java fails NPE since 7u25b03

    XMLWordPrintable

Details

    • b03
    • b94
    • generic
    • generic

    Backports

      Description

        Testsuite name: Regression
        Test nme: closed/javax/swing/plaf/metal/MetalUtils/bug6190373.java
        JDK tested: 7u25b04
        OS tested: MacOS, Windows
        Is it a regression: YES
        Regression introduced in build: 7u25b03

        Log:

        #section:main
        ----------messages:(3/119)----------
        command: main bug6190373
        reason: Assumed action based on file name: run main bug6190373
        elapsed time (seconds): 0.212
        ----------System.out:(0/0)----------
        ----------System.err:(21/1265)----------
        2013-04-03 15:23:30.430 java[31948:707] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to /var/folders/1n/2sd5m7tj7cx_wpvl_jc55lhr001wjw/T/net.java.openjdk.cmd.savedState
        java.lang.NullPointerException
        at javax.swing.SwingUtilities.appContextGet(SwingUtilities.java:1861)
        at javax.swing.JComponent.getDefaultLocale(JComponent.java:2775)
        at javax.swing.JComponent.<init>(JComponent.java:600)
        at javax.swing.AbstractButton.<init>(AbstractButton.java:75)
        at javax.swing.JButton.<init>(JButton.java:131)
        at javax.swing.JButton.<init>(JButton.java:109)
        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:601)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:96)
        at java.lang.Thread.run(Thread.java:722)

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

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


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

        Attachments

          Issue Links

            Activity

              People

                serb Sergey Bylokhov
                kshefov Konstantin Shefov
                Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: