PieChart setLabelsVisible(false) throw NPE

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • None
    • Affects Version/s: 7u6
    • Component/s: javafx
    • Environment:

      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!

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

              Created:
              Updated:
              Resolved:
              Imported: