-
Bug
-
Resolution: Cannot Reproduce
-
P3
-
None
-
8
-
8.0.0-ea-b58
Run the attached app which has a LineChart with CategoryAxis xAxis and NumberAxis yAxis. When I invoke xAxis.setAutoRanging(false) in line 39 I get the following NPE:
Caused by: java.lang.NullPointerException
at javafx.scene.chart.Axis.layoutChildren(Axis.java:634)
at javafx.scene.Parent.layout(Parent.java:1012)
at javafx.scene.chart.XYChart.layoutChartChildren(XYChart.java:684)
at javafx.scene.chart.Chart$1.layoutChildren(Chart.java:84)
at javafx.scene.Parent.layout(Parent.java:1012)
at javafx.scene.Scene.layoutDirtyRoots(Scene.java:517)
at javafx.scene.Scene.doLayoutPass(Scene.java:488)
at javafx.scene.Scene.preferredSize(Scene.java:1496)
at javafx.scene.Scene.impl_preferredSize(Scene.java:1523)
at javafx.stage.Window$10.invalidated(Window.java:723)
at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:106)
at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:140)
at javafx.stage.Window.setShowing(Window.java:786)
at javafx.stage.Window.show(Window.java:801)
at javafx.stage.Stage.show(Stage.java:230)
at Bug.start(Bug.java:93)
at com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:319)
at com.sun.javafx.application.PlatformImpl$5.run(PlatformImpl.java:207)
at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:173)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)
at com.sun.glass.ui.win.WinApplication$3$1.run(Unknown Source)
... 1 more
Caused by: java.lang.NullPointerException
at javafx.scene.chart.Axis.layoutChildren(Axis.java:634)
at javafx.scene.Parent.layout(Parent.java:1012)
at javafx.scene.chart.XYChart.layoutChartChildren(XYChart.java:684)
at javafx.scene.chart.Chart$1.layoutChildren(Chart.java:84)
at javafx.scene.Parent.layout(Parent.java:1012)
at javafx.scene.Scene.layoutDirtyRoots(Scene.java:517)
at javafx.scene.Scene.doLayoutPass(Scene.java:488)
at javafx.scene.Scene.preferredSize(Scene.java:1496)
at javafx.scene.Scene.impl_preferredSize(Scene.java:1523)
at javafx.stage.Window$10.invalidated(Window.java:723)
at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:106)
at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:140)
at javafx.stage.Window.setShowing(Window.java:786)
at javafx.stage.Window.show(Window.java:801)
at javafx.stage.Stage.show(Stage.java:230)
at Bug.start(Bug.java:93)
at com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:319)
at com.sun.javafx.application.PlatformImpl$5.run(PlatformImpl.java:207)
at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:173)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)
at com.sun.glass.ui.win.WinApplication$3$1.run(Unknown Source)
... 1 more