-
Bug
-
Resolution: Fixed
-
P4
-
fx1.1
-
Tested on Windows platform, JavaFX-SDK1.1
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)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
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)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------