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

Menubar cannot be disabled

XMLWordPrintable

      - Please find the attached test case.
      - Select the check box throws the Exception


      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:1214)
      at javafx.scene.Node.updateDisabled(Node.java:1237)
      at javafx.scene.Node.access$200(Node.java:269)
      at javafx.scene.Node$2.invalidated(Node.java:576)
      at javafx.beans.value.ObservableValueBase.fireValueChangedEvent(ObservableValueBase.java:108)
      at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:63)
      at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:116)
      at javafx.scene.Node.setDisabled(Node.java:1214)
      at javafx.scene.Node.updateDisabled(Node.java:1237)
      at javafx.scene.Node.access$200(Node.java:269)
      at javafx.scene.Node$2.invalidated(Node.java:576)
      at javafx.beans.value.ObservableValueBase.fireValueChangedEvent(ObservableValueBase.java:108)
      at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:63)
      at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:116)
      at javafx.scene.Node.setDisabled(Node.java:1214)
      at javafx.scene.Node.updateDisabled(Node.java:1237)
      at javafx.scene.Node.access$200(Node.java:269)
      at javafx.scene.Node$2.invalidated(Node.java:576)
      at javafx.beans.value.ObservableValueBase.fireValueChangedEvent(ObservableValueBase.java:108)
      at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:63)
      at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:116)
      at javafx.scene.Node.setDisabled(Node.java:1214)
      at javafx.scene.Node.updateDisabled(Node.java:1237)
      at javafx.scene.Node.access$200(Node.java:269)
      at javafx.scene.Node$MiscProperties$8.invalidated(Node.java:4101)
      at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:62)
      at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:116)
      at javafx.scene.Node.setDisable(Node.java:1132)
      at graphics.api.control.menu.EnableDisableMenuBarTest$3.invalidated(EnableDisableMenuBarTest.java:73)
      at javafx.beans.value.ObservableValueBase.fireValueChangedEvent(ObservableValueBase.java:108)
      at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:63)
      at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:116)
      at javafx.scene.control.ToggleButton.setSelected(ToggleButton.java:106)
      at javafx.scene.control.ToggleButton.fire(ToggleButton.java:169)
      at javafx.scene.control.RadioButton.fire(RadioButton.java:55)
      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:2345)
      at javafx.scene.Scene$MouseHandler.process(Scene.java:2168)
      at javafx.scene.Scene$MouseHandler.access$1000(Scene.java:2140)
      at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1099)
      at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:1640)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:180)
      at com.sun.glass.ui.View.handleMouseEvent(View.java:252)
      at com.sun.glass.ui.View.notifyMouse(View.java:512)
      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)
            srikchan Srikalyan Chandrashekar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: