-
Bug
-
Resolution: Fixed
-
P3
-
8
-
None
1) Drop an AnchorPane
2) In Code section of Inspector panel, set fx:id to "Blah" (and press Return)
3) Edit -> Undo
4) Press Edit menu
=> the exception below is raised
java.lang.Exception: DocumentControlActionController.canPerform() did break for menu item javafx.scene.control.MenuItem@1a7978c6
at com.oracle.javafx.scenebuilder.app.menubar.MenuBarController.handleOnMenuValidation(MenuBarController.java:1039)
at com.oracle.javafx.scenebuilder.app.menubar.MenuBarController.access$700(MenuBarController.java:88)
at com.oracle.javafx.scenebuilder.app.menubar.MenuBarController$19.handle(MenuBarController.java:1020)
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:204)
at javafx.scene.control.Menu.setShowing(Menu.java:169)
at javafx.scene.control.Menu.show(Menu.java:376)
at com.sun.javafx.scene.control.GlobalMenuAdapter$3.invalidated(GlobalMenuAdapter.java:85)
at com.sun.javafx.binding.ExpressionHelper$SingleInvalidation.fireValueChangedEvent(ExpressionHelper.java:135)
at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
at javafx.beans.property.ReadOnlyBooleanWrapper$ReadOnlyPropertyImpl.fireValueChangedEvent(ReadOnlyBooleanWrapper.java:178)
at javafx.beans.property.ReadOnlyBooleanWrapper$ReadOnlyPropertyImpl.access$100(ReadOnlyBooleanWrapper.java:148)
at javafx.beans.property.ReadOnlyBooleanWrapper.fireValueChangedEvent(ReadOnlyBooleanWrapper.java:144)
at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:110)
at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:143)
at javafx.scene.control.Menu.setShowing(Menu.java:180)
at javafx.scene.control.Menu.show(Menu.java:376)
at com.sun.javafx.tk.quantum.GlassMenuEventHandler.handleMenuOpening(GlassMenuEventHandler.java:41)
at com.sun.glass.ui.Menu.notifyMenuOpening(Menu.java:187)
Caused by: java.lang.NullPointerException
at com.oracle.javafx.scenebuilder.app.DocumentWindowController.canPerformSelectAll(DocumentWindowController.java:1212)
at com.oracle.javafx.scenebuilder.app.DocumentWindowController.canPerformControlAction(DocumentWindowController.java:494)
at com.oracle.javafx.scenebuilder.app.menubar.MenuBarController$DocumentControlActionController.canPerform(MenuBarController.java:1516)
at com.oracle.javafx.scenebuilder.app.menubar.MenuBarController.handleOnMenuValidation(MenuBarController.java:1032)
... 24 more
2) In Code section of Inspector panel, set fx:id to "Blah" (and press Return)
3) Edit -> Undo
4) Press Edit menu
=> the exception below is raised
java.lang.Exception: DocumentControlActionController.canPerform() did break for menu item javafx.scene.control.MenuItem@1a7978c6
at com.oracle.javafx.scenebuilder.app.menubar.MenuBarController.handleOnMenuValidation(MenuBarController.java:1039)
at com.oracle.javafx.scenebuilder.app.menubar.MenuBarController.access$700(MenuBarController.java:88)
at com.oracle.javafx.scenebuilder.app.menubar.MenuBarController$19.handle(MenuBarController.java:1020)
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:204)
at javafx.scene.control.Menu.setShowing(Menu.java:169)
at javafx.scene.control.Menu.show(Menu.java:376)
at com.sun.javafx.scene.control.GlobalMenuAdapter$3.invalidated(GlobalMenuAdapter.java:85)
at com.sun.javafx.binding.ExpressionHelper$SingleInvalidation.fireValueChangedEvent(ExpressionHelper.java:135)
at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
at javafx.beans.property.ReadOnlyBooleanWrapper$ReadOnlyPropertyImpl.fireValueChangedEvent(ReadOnlyBooleanWrapper.java:178)
at javafx.beans.property.ReadOnlyBooleanWrapper$ReadOnlyPropertyImpl.access$100(ReadOnlyBooleanWrapper.java:148)
at javafx.beans.property.ReadOnlyBooleanWrapper.fireValueChangedEvent(ReadOnlyBooleanWrapper.java:144)
at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:110)
at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:143)
at javafx.scene.control.Menu.setShowing(Menu.java:180)
at javafx.scene.control.Menu.show(Menu.java:376)
at com.sun.javafx.tk.quantum.GlassMenuEventHandler.handleMenuOpening(GlassMenuEventHandler.java:41)
at com.sun.glass.ui.Menu.notifyMenuOpening(Menu.java:187)
Caused by: java.lang.NullPointerException
at com.oracle.javafx.scenebuilder.app.DocumentWindowController.canPerformSelectAll(DocumentWindowController.java:1212)
at com.oracle.javafx.scenebuilder.app.DocumentWindowController.canPerformControlAction(DocumentWindowController.java:494)
at com.oracle.javafx.scenebuilder.app.menubar.MenuBarController$DocumentControlActionController.canPerform(MenuBarController.java:1516)
at com.oracle.javafx.scenebuilder.app.menubar.MenuBarController.handleOnMenuValidation(MenuBarController.java:1032)
... 24 more