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

Exception get thrown when the Stage X,Y cordinate are bind to a variable

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: fx1.1
    • Fix Version/s: fx1.2
    • Component/s: javafx
    • Labels:
    • Environment:

      Tested on Windows platform, JavaFX-SDK1.1

      Description

      This is a very simple scenario. The attached testcase has a Stage where the X coordinate is bind to a variable.

      When we try to drag the Stage (manually or changing the value for X coordinate on some event), exception get thrown.


      ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

      Exception in thread "AWT-EventQueue-0" com.sun.javafx.runtime.AssignToBoundException: Cannot assign to bound variable
              at com.sun.javafx.runtime.location.FloatVariable.setAsFloat(FloatVariable.java:111)
              at com.sun.javafx.stage.WindowStageDelegate$1ComponentListener$anon8.componentMoved(WindowStageDelegate.fx:230)
              at java.awt.Component.processComponentEvent(Unknown Source)
              at java.awt.Component.processEvent(Unknown Source)
              at java.awt.Container.processEvent(Unknown Source)
              at java.awt.Window.processEvent(Unknown Source)
              at java.awt.Component.dispatchEventImpl(Unknown Source)
              at java.awt.Container.dispatchEventImpl(Unknown Source)
              at java.awt.Window.dispatchEventImpl(Unknown Source)
              at java.awt.Component.dispatchEvent(Unknown Source)
              at java.awt.EventQueue.dispatchEvent(Unknown Source)
              at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
              at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
              at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
              at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
              at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
              at java.awt.EventDispatchThread.run(Unknown Source)
      ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

        Attachments

          Activity

            People

            Assignee:
            morris Morris Meyer (Inactive)
            Reporter:
            snathsunw Subrata Nath (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: