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

NPE on node delete

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8u40
    • 8u40
    • javafx
    • None

      Drop an AnchorPane.
      select it from the Hierarchy, and hit the Delete key.
      The following NPE is raised:

      java.lang.NullPointerException
      at com.oracle.javafx.scenebuilder.kit.editor.job.DeleteSelectionJob.execute(DeleteSelectionJob.java:62)
      at com.oracle.javafx.scenebuilder.kit.editor.job.reference.UpdateReferencesJob.execute(UpdateReferencesJob.java:78)
      at com.oracle.javafx.scenebuilder.kit.editor.JobManager.executeJob(JobManager.java:193)
      at com.oracle.javafx.scenebuilder.kit.editor.JobManager.push(JobManager.java:82)
      at com.oracle.javafx.scenebuilder.kit.editor.EditorController.performEditAction(EditorController.java:958)
      at com.oracle.javafx.scenebuilder.app.DocumentWindowController.performDelete(DocumentWindowController.java:1486)
      at com.oracle.javafx.scenebuilder.app.DocumentWindowController.performEditAction(DocumentWindowController.java:827)
      at com.oracle.javafx.scenebuilder.app.menubar.MenuBarController$DocumentEditActionController.perform(MenuBarController.java:1611)
      at com.oracle.javafx.scenebuilder.app.menubar.MenuBarController.handleOnActionMenu(MenuBarController.java:1105)
      at com.oracle.javafx.scenebuilder.app.menubar.MenuBarController.lambda$new$17(MenuBarController.java:1099)
      at com.oracle.javafx.scenebuilder.app.menubar.MenuBarController$$Lambda$72/1630104006.handle(Unknown Source)
      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.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
      at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49)
      at javafx.event.Event.fireEvent(Event.java:198)
      at javafx.scene.control.MenuItem.fire(MenuItem.java:462)
      at com.sun.javafx.scene.control.GlobalMenuAdapter.lambda$bindMenuItemProperties$20(GlobalMenuAdapter.java:153)
      at com.sun.javafx.scene.control.GlobalMenuAdapter$$Lambda$311/1747241864.handle(Unknown Source)
      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.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
      at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
      at javafx.event.Event.fireEvent(Event.java:198)
      at javafx.scene.control.MenuItem.fire(MenuItem.java:462)
      at com.sun.javafx.tk.quantum.GlassSystemMenu$1.action(GlassSystemMenu.java:234)

            slions Sandra Lions-piron
            jcambon Jerome Cambon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: