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

JavaFX rendering should be robust to random exceptions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 8
    • javafx
    • None
    • jdk1.8.0_b110, Windows 7 x64

      The following exception hangs the whole JavaFX UI and makes it no longer usable:

      java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.String
      at javafx.scene.chart.CategoryAxis.getDisplayPosition(CategoryAxis.java:62)
      at javafx.scene.chart.StackedBarChart.layoutPlotChildren(StackedBarChart.java:485)
      at javafx.scene.chart.XYChart.layoutChartChildren(XYChart.java:718)
      at javafx.scene.chart.Chart$1.layoutChildren(Chart.java:87)
      at javafx.scene.Parent.layout(Parent.java:1052)
      at javafx.scene.Parent.layout(Parent.java:1058)
      at javafx.scene.Parent.layout(Parent.java:1058)
      at javafx.scene.Parent.layout(Parent.java:1058)
      at javafx.scene.Parent.layout(Parent.java:1058)
      at javafx.scene.Parent.layout(Parent.java:1058)
      at javafx.scene.Parent.layout(Parent.java:1058)
      at javafx.scene.Parent.layout(Parent.java:1058)
      at javafx.scene.Scene.doLayoutPass(Scene.java:547)
      at javafx.scene.Scene.access$3700(Scene.java:190)
      at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2291)
      at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:329)
      at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:479)
      at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:459)
      at com.sun.javafx.tk.quantum.QuantumToolkit$13.run(QuantumToolkit.java:326)
      at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
      at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      at com.sun.glass.ui.win.WinApplication.access$300(WinApplication.java:39)
      at com.sun.glass.ui.win.WinApplication$3$1.run(WinApplication.java:101)
      at java.lang.Thread.run(Thread.java:724)

            kcr Kevin Rushforth
            mrkam Alexander Kuznetcov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: