NPE in IDEA when running FXGraphics2DDemo1.
Java 8 upd. 73 (build 1.8.0_73-b02)
Thanks,com.intellij.rt.execution.application.AppMain org.jfree.fx.demo.FXGraphics2DDemo1
Exception in Application start method
Exception in thread "main" java.lang.RuntimeException: Exception in Application start method
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:894)
at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java:56)
at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:158)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.NullPointerException
at org.jfree.fx.FXGraphics2D.<init>(FXGraphics2D.java:191)
at org.jfree.fx.demo.FXGraphics2DDemo1$ChartCanvas.<init>(FXGraphics2DDemo1.java:82)
at org.jfree.fx.demo.FXGraphics2DDemo1.start(FXGraphics2DDemo1.java:472)
at com.sun.javafx.application.LauncherImpl$8.run(LauncherImpl.java:837)
at com.sun.javafx.application.PlatformImpl$7.run(PlatformImpl.java:335)
at com.sun.javafx.application.PlatformImpl$6$1.run(PlatformImpl.java:301)
at com.sun.javafx.application.PlatformImpl$6$1.run(PlatformImpl.java:298)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl$6.run(PlatformImpl.java:298)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.access$300(WinApplication.java:39)
at com.sun.glass.ui.win.WinApplication$4$1.run(WinApplication.java:112)
... 1 more
Process finished with exit code 1
Alex.