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

NullPointerException in standalone Launcher when jfxrt.jar cannot be found

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • fx2.1
    • fx2.1
    • deploy

      When running BrickBreaker.jar from the latest deploy scrum build, I get the following exception if jfxrt.jar cannot be found.

      Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
      at java.applet.Applet.getParameter(Applet.java:191)
      at com.javafx.main.NoJavaFXFallback.init(NoJavaFXFallback.java:117)
      at com.javafx.main.Main$1.run(Main.java:682)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:705)
      at java.awt.EventQueue.access$000(EventQueue.java:101)
      at java.awt.EventQueue$3.run(EventQueue.java:666)
      at java.awt.EventQueue$3.run(EventQueue.java:664)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:675)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

      The line number is preceded by a comment indicating that a standalone app should not get there. Apparently, it somehow did get there.

      Note that the latest 2.1 master build correctly displays a dialog with a message indicating that JavaFX is not installed.

            igor Igor Nekrestyanov (Inactive)
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: