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

ClassCastException using Scene Builder

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • fx2.1
    • fx2.1
    • javafx
    • None
    • Windows, Mac

      Using Scene Builder, drop e.g. a Button on the stage, and select the Layout tab.
      The following Exception appears:

      java.lang.ClassCastException: [Ljava.lang.Double; cannot be cast to javafx.collections.ObservableList
          at javafx.scene.shape.Shape.getStrokeDashArray(Shape.java:289)
          at javafx.scene.shape.Shape.updatePGShape(Shape.java:784)
          at javafx.scene.shape.Shape.impl_updatePG(Shape.java:852)
          at javafx.scene.shape.Line.impl_updatePG(Line.java:387)
          at javafx.scene.Node.impl_syncPGNode(Node.java:414)
          at javafx.scene.Scene$ScenePulseListener.synchronizeSceneNodes(Scene.java:1758)
          at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:1858)
          at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:290)
          at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:392)
          at com.sun.javafx.tk.quantum.QuantumToolkit$8.run(QuantumToolkit.java:318)
          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$2$1.run(WinApplication.java:62)
          at java.lang.Thread.run(Thread.java:662)

            dgrieve David Grieve
            jcambon Jerome Cambon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: