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

NPE in Ensemble8

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 8
    • 8
    • javafx

      > [java] java.lang.RuntimeException: Exception in Application init method
      > [java] at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:824)
      > [java] at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java:56)
      > [java] at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:150)
      > [java] at java.lang.Thread.run(Thread.java:722)
      > [java] Caused by: java.lang.ExceptionInInitializerError
      > [java] at ensemble.generated.Samples.<clinit>(Samples.java:6)
      > [java] at ensemble.EnsembleApp.init(EnsembleApp.java:227)
      > [java] at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:749)
      > [java] ... 3 more
      > [java] Caused by: java.lang.NullPointerException
      > [java] at ensemble.SampleInfo.getImage(SampleInfo.java:347)
      > [java] at ensemble.SampleInfo.<clinit>(SampleInfo.java:213)
      > [java] ... 6 more

      a known issue? It's clearly a bug: one static field (SAMPLE_BACKGROUND) is initialized using another one (imageCache), which is not created yet.

            mrkam Alexander Kuznetcov (Inactive)
            art Artem Ananiev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: