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()

    Details

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: