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

MenuBar: RTE on adding item

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • fx2.0
    • fx2.0
    • javafx
    • Win7/JDK6/FX-b33

      Sample application is attached.

      java.lang.RuntimeException: A bound value cannot be set.
              at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:112)
              at javafx.scene.Node.setDisabled(Node.java:1188)
              at javafx.scene.Node.updateDisabled(Node.java:1211)
              at javafx.scene.Node.access$200(Node.java:243)
              at javafx.scene.Node$1.invalidated(Node.java:533)
              at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:62)
              at javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:116)
              at javafx.scene.Node.setParent(Node.java:515)
              at javafx.scene.Parent$2.onProposedChange(Parent.java:389)
              at com.sun.javafx.collections.VetoableObservableList.clear(VetoableObservableList.java:124)
              at com.sun.javafx.scene.control.skin.MenuBarSkin.rebuildUI(MenuBarSkin.java:122)
              at com.sun.javafx.scene.control.skin.MenuBarSkin.access$000(MenuBarSkin.java:36)
              at com.sun.javafx.scene.control.skin.MenuBarSkin$1.onChanged(MenuBarSkin.java:61)
              at com.sun.javafx.collections.ObservableListWrapper.callObservers(ObservableListWrapper.java:62)
              at com.sun.javafx.collections.ObservableListWrapper.clear(ObservableListWrapper.java:101)
              at main.Main$MenuBarAppScene.reset(Main.java:103)
              at main.Main$MenuBarAppScene$1.handle(Main.java:75)
              at main.Main$MenuBarAppScene$1.handle(Main.java:73)
              at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:59)
              at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:161)
              at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:114)
              at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:38)
              at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:37)
              at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
              at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35)
              at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
              at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:44)
              at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:27)
              at javafx.event.Event.fireEvent(Event.java:156)
              at javafx.scene.Node.fireEvent(Node.java:5112)
              at javafx.scene.control.Button.fire(Button.java:138)
              at com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(ButtonBehavior.java:166)
              at com.sun.javafx.scene.control.skin.SkinBase$4.handle(SkinBase.java:272)
              at com.sun.javafx.scene.control.skin.SkinBase$4.handle(SkinBase.java:265)
              at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:55)
              at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:161)
              at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:114)
              at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:38)
              at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:37)
              at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
              at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35)
              at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
              at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35)
              at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
              at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:44)
              at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:33)
              at javafx.event.Event.fireEvent(Event.java:156)
              at javafx.scene.Scene$MouseHandler.process(Scene.java:2341)
              at javafx.scene.Scene$MouseHandler.process(Scene.java:2164)
              at javafx.scene.Scene$MouseHandler.access$1000(Scene.java:2136)
              at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1095)
              at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:1636)
              at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:180)
              at com.sun.glass.ui.View.handleMouseEvent(View.java:244)
              at com.sun.glass.ui.View.notifyMouse(View.java:496)
              at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
              at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29)
              at com.sun.glass.ui.win.WinApplication$1$1.run(WinApplication.java:49)
              at java.lang.Thread.run(Thread.java:662)

            psomashe Parvathi Somashekar (Inactive)
            ogb Oleg Barbashov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: