Gabriel95 / scalafx

Automatically exported from code.google.com/p/scalafx
Other
0 stars 0 forks source link

Demo scalafx.controls.TextAreaTest crashes with NPE #59

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Demo scalafx.controls.TextAreaTest crashes with exception:

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:403)
    at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java:47)
    at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:115)
    at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.NullPointerException
    at scalafx.scene.Node$.sfxNode2jfx(Node.scala:64)
    at scalafx.scene.layout.BorderPane.center_$eq(BorderPane.scala:84)
    at scalafx.controls.TextAreaTest$$anon$4.<init>(TextAreaTest.scala:81)
    at scalafx.controls.TextAreaTest$.mainPane$lzycompute(TextAreaTest.scala:79)
    at scalafx.controls.TextAreaTest$.mainPane(TextAreaTest.scala:79)
    at scalafx.controls.TextAreaTest$$anon$9$$anon$10.<init>(TextAreaTest.scala:60)
    at scalafx.controls.TextAreaTest$$anon$9.<init>(TextAreaTest.scala:58)
    at scalafx.controls.TextAreaTest$delayedInit$body.apply(TextAreaTest.scala:54)
...

The problem was introduced after M2 but before M3.

Original issue reported on code.google.com by jpsacha on 26 Apr 2013 at 4:39

GoogleCodeExporter commented 8 years ago

Original comment by jpsacha on 21 Jul 2013 at 5:35