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

PieChart setLabelsVisible(false) throw NPE

    Details

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

      Windows XP Java1.7u6

      Description

      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!

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: