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

Exception on closing Stage window

    Details

      Description

      - Please see the attached test case.

      Run the file , keep pressing Left key to change the size of textbox. Now close the window which then throws the following Exception

      java.lang.RuntimeException: A bound value cannot be set.
      at javafx.beans.property.StringPropertyBase.set(StringPropertyBase.java:110)
      at javafx.scene.control.TextInputControl.setText(TextInputControl.java:133)
      at javafx.scene.control.TextInputControl.commit(TextInputControl.java:890)
      at com.sun.javafx.scene.control.behavior.TextInputControlBehavior.focusChanged(TextInputControlBehavior.java:586)
      at com.sun.javafx.scene.control.behavior.TextInputControlBehavior$1.invalidated(TextInputControlBehavior.java:231)
      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.setFocused(Node.java:4638)
      at javafx.scene.Scene$KeyHandler.setWindowFocused(Scene.java:2460)
      at javafx.scene.Scene$KeyHandler$1.invalidated(Scene.java:2479)
      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.stage.Window.setFocused(Window.java:244)
      at com.sun.javafx.stage.WindowPeerListener.changedFocused(WindowPeerListener.java:66)
      at com.sun.javafx.tk.quantum.GlassWindowEventHandler.handleWindowEvent(GlassWindowEventHandler.java:48)
      at com.sun.glass.ui.Window.handleWindowEvent(Window.java:882)
      at com.sun.glass.ui.Window.notifyFocus(Window.java:861)
      at com.sun.glass.ui.win.WinWindow._setVisible(Native Method)
      at com.sun.glass.ui.Window.setVisible(Window.java:358)
      at com.sun.javafx.tk.quantum.WindowStage.setVisible(WindowStage.java:322)
      at javafx.stage.Window$12.invalidated(Window.java:509)
      at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:62)
      at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:116)
      at javafx.stage.Window.setVisible(Window.java:534)
      at javafx.stage.Stage.setVisible(Stage.java:105)
      at javafx.stage.Window.hide(Window.java:545)
      at com.sun.javafx.stage.WindowPeerListener.closing(WindowPeerListener.java:83)
      at com.sun.javafx.tk.quantum.GlassStage.close(GlassStage.java:126)
      at com.sun.javafx.tk.quantum.WindowStage.close(WindowStage.java:395)
      at com.sun.javafx.tk.quantum.GlassWindowEventHandler.handleWindowEvent(GlassWindowEventHandler.java:30)
      at com.sun.glass.ui.Window.handleWindowEvent(Window.java:882)
      at com.sun.glass.ui.Window.notifyClose(Window.java:795)
      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)

        Attachments

          Activity

            People

            • Assignee:
              gkbrown Greg Brown (Inactive)
              Reporter:
              srikchan Srikalyan Chandrashekar (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: