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

test/jdk/javax/swing/AbstractButton/5049549/bug5049549.java fails with java.lang.NullPointerException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 21
    • 19, 20
    • client-libs
    • b03
    • x86
    • linux_ubuntu

    Description

      test/jdk/javax/swing/AbstractButton/5049549/bug5049549.java fails with java.lang.NullPointerException


      ----------System.err:(15/1129)----------
      java.lang.ExceptionInInitializerError
      at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized0(Native Method)
      at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized(Unsafe.java:1160)
      at java.base/jdk.internal.reflect.MethodHandleAccessorFactory.ensureClassInitialized(MethodHandleAccessorFactory.java:300)
      at java.base/jdk.internal.reflect.MethodHandleAccessorFactory.newMethodAccessor(MethodHandleAccessorFactory.java:71)
      at java.base/jdk.internal.reflect.ReflectionFactory.newMethodAccessor(ReflectionFactory.java:159)
      at java.base/java.lang.reflect.Method.acquireMethodAccessor(Method.java:724)
      at java.base/java.lang.reflect.Method.invoke(Method.java:575)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
      at java.base/java.lang.Thread.run(Thread.java:1623)
      Caused by: java.lang.NullPointerException: Cannot invoke "java.net.URL.toExternalForm()" because "location" is null
      at java.desktop/javax.swing.ImageIcon.<init>(ImageIcon.java:232)
      at bug5049549.<clinit>(bug5049549.java:44)
      ... 9 more
      STATUS:Failed.`main' threw exception: java.lang.ExceptionInInitializerError

      Attachments

        Issue Links

          Activity

            People

              landrews Lawrence Andrews
              landrews Lawrence Andrews
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: