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

JFXControls : ClassCastException in TableViewPage

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: fx2.0
    • Fix Version/s: fx2.0
    • Component/s: javafx
    • Labels:

      Description


      This was noted during today's pre-integration testing.

      To reproduce :
       Run JFXControls
       Switch to TableView
       Press the 'Single Cell' RadioButton.

      java.lang.ClassCastException: javafx.scene.control.ToggleGroup$2 cannot be cast to javafx.scene.control.ToggleGroup
              at oracle.ensemble.TableViewPage$4.invalidated(TableViewPage.java:192)
              at javafx.beans.value.ObservableValueBase.fireValueChangedEvent(ObservableValueBase.java:107)
              at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:57)
              at javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:107)
              at javafx.scene.control.ToggleGroup.selectToggle(ToggleGroup.java:78)
              at javafx.scene.control.ToggleButton$1.invalidated(ToggleButton.java:119)
              at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:57)
              at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:108)
              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:269)
              at com.sun.javafx.scene.control.skin.SkinBase$4.handle(SkinBase.java:262)
              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.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:37)
              at javafx.scene.Node$19.dispatchEvent(Node.java:5430)
              at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
              at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35)
              at javafx.scene.Node$19.dispatchEvent(Node.java:5430)
              at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
              at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35)
              at javafx.scene.Node$19.dispatchEvent(Node.java:5430)
              at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
              at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35)
              at javafx.scene.Node$19.dispatchEvent(Node.java:5430)
              at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
              at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35)
              at javafx.scene.Node$19.dispatchEvent(Node.java:5430)
              at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
              at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35)
              at javafx.scene.Node$19.dispatchEvent(Node.java:5430)
              at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
              at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35)
              at javafx.scene.Scene$11.dispatchEvent(Scene.java:2446)
              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.Node.fireEvent(Node.java:5535)
              at javafx.scene.Scene$MouseHandler.process(Scene.java:2087)
              at javafx.scene.Scene$MouseHandler.process(Scene.java:1934)
              at javafx.scene.Scene$MouseHandler.access$1000(Scene.java:1906)
              at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1007)
              at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:1553)
              at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:121)
              at com.sun.glass.ui.View.handleMouseEvent(View.java:257)
              at com.sun.glass.ui.View.notifyMouse(View.java:514)
              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:619)

        Attachments

          Activity

            People

            Assignee:
            jgiles Jonathan Giles
            Reporter:
            miflemi Mick Fleming (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: