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

PieChart setLabelsVisible(false) throw NPE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • 7u6
    • javafx
    • Windows XP Java1.7u6

      Just run a PieChart Demo, when labelsVisible was true,It displays ok. But I do setLabelsVisible(false) or labelVisibleProperty.set(false) with NPE

      Caused by: java.lang.NullPointerException
      at javafx.scene.chart.PieChart.layoutChartChildren(PieChart.java:548)

      I check openjfx8's PieChart source file,It run perfectly!

            psomashe Parvathi Somashekar (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: