Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FXMLDemoFromSceneBuilderFile fails calling scene.lookup #57

Open
rich-coe opened this issue Aug 25, 2018 · 1 comment
Open

FXMLDemoFromSceneBuilderFile fails calling scene.lookup #57

rich-coe opened this issue Aug 25, 2018 · 1 comment

Comments

@rich-coe
Copy link

Exception in Application start method Caught: java.lang.RuntimeException: Exception in Application start method java.lang.RuntimeException: Exception in Application start method at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:917) at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$155(LauncherImpl.java:182) Caused by: java.lang.NullPointerException: Cannot set property 'title' on null object at FXMLDemoFromSceneBuilderFile$_run_closure1.doCall(FXMLDemoFromSceneBuilderFile.groovy:30) at groovyx.javafx.GroovyFX.start(GroovyFX.java:40) at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$162(LauncherImpl.java:863) at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$175(PlatformImpl.java:326) at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295) at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method) at com.sun.glass.ui.gtk.GtkApplication.lambda$null$49(GtkApplication.java:139)

According to https://stackoverflow.com/questions/32773847/scene-lookup-returns-null-if-i-search-my-vbox lookups ''are not very robust"

@rich-coe
Copy link
Author

pull request #58 fixes this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant