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

Calling setLabelsVisible(false) on a PieChart causes the application to crash with a NPE at PieChart.layoutChartChildren()

XMLWordPrintable

      When removing the pie chart labels (by calling setLabelsVisible(false)) the application later crashes with the attached NullPointerException. Looking at the code in PieChart.layoutChartChildren(), shouldShowLabels doesn't seem to be set correctly. The problem was not present in b13 but is present on b19.

            psomashe Parvathi Somashekar (Inactive)
            jringdah Johan Ringdahl (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: