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

Showing a NumberAxis throws a NullPointerException unless a Side is set

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: javafx
    • Labels:
    • Environment:

      java.runtime.version=1.8.0-ea-b93, Win7

      Description

      If you create a NumberAxis and don't call axis.setSide on the Axis before showing it, a NullPointerException will be logged at javafx.scene.chart.Axis.layoutChildren(Axis.java:753) when the scene containing the NumberAxis is first shown.

        Attachments

          Activity

            People

            Assignee:
            psomashe Parvathi Somashekar (Inactive)
            Reporter:
            josmithjfx John Smith (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: