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

[TOY] hello.HelloDialogs throwing null pointer exceptions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 8u40
    • 8u40
    • javafx
    • None

    Description


      The hello.HelloDialogs is throwing Null Pointer exceptions, I think because it is failing to find a resource here:

              dialogPane.setGraphic(new ImageView(new Image(AccordionSkin.class.getResource("modena/hello.dialog-error.png").toExternalForm())));

      Seen with Exception Dialog, Font Dialog, Command Links, Linear Wizard, Branching Wizard

      Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
      at hello.dialog.dialogs.ExceptionDialog.<init>(ExceptionDialog.java:48)
      at hello.HelloDialogs$5.handle(HelloDialogs.java:233)
      at hello.HelloDialogs$5.handle(HelloDialogs.java:230)
      at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
      at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)


      Seen on i.MX6

      Attachments

        Activity

          People

            jgiles Jonathan Giles
            ddhill David Hill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: