So, I have finally decided to try out b4j. i liked the idea of the internal designer but soon realised that it missed a lot of the elements available in the scene builder.
not a problem I thought, Just create the layout with scene builder then code in b4j. The problem is whenever I add an Accordian view b4j throws an error
Is there anyay round this?
Are the missing elements likely to be added to b4j designer?
Am i just doing something wrong? Afterall I have been using b4j about 2 hours.
Thanks
not a problem I thought, Just create the layout with scene builder then code in b4j. The problem is whenever I add an Accordian view b4j throws an error
Program started.
Error occurred on line: 20 (main).
java.lang.NullPointerException
at anywheresoftware.b4j.objects.FXMLBuilder.handleNode(FXMLBuilder.java:215)
at anywheresoftware.b4j.objects.FXMLBuilder.setEventsAndVariables(FXMLBuilder.java:153)
at anywheresoftware.b4j.objects.FXMLBuilder.setEventsAndVariables(FXMLBuilder.java:209)
at anywheresoftware.b4j.objects.FXMLBuilder.setEventsAndVariables(FXMLBuilder.java:209)
at anywheresoftware.b4j.objects.FXMLBuilder.setEventsAndVariables(FXMLBuilder.java:209)
at anywheresoftware.b4j.objects.FXMLBuilder.setEventsAndVariables(FXMLBuilder.java:209)
at anywheresoftware.b4j.objects.FXMLBuilder.setEventsAndVariables(FXMLBuilder.java:209)
at anywheresoftware.b4j.objects.FXMLBuilder.LoadLayout(FXMLBuilder.java:118)
at anywheresoftware.b4j.objects.PaneWrapper.LoadLayout(PaneWrapper.java:71)
at b4j.example.main._appstart(main.java:80)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:563)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:224)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:156)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:93)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:82)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:84)
at b4j.example.main.start(main.java:36)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$159(LauncherImpl.java:863)
at com.sun.javafx.application.LauncherImpl$$Lambda$53/678442457.run(Unknown Source)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$172(PlatformImpl.java:326)
at com.sun.javafx.application.PlatformImpl$$Lambda$46/237061348.run(Unknown Source)
at com.sun.javafx.application.PlatformImpl.lambda$null$170(PlatformImpl.java:295)
at com.sun.javafx.application.PlatformImpl$$Lambda$48/1877086202.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$171(PlatformImpl.java:294)
at com.sun.javafx.application.PlatformImpl$$Lambda$47/1030870354.run(Unknown Source)
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.lambda$null$145(WinApplication.java:101)
at com.sun.glass.ui.win.WinApplication$$Lambda$36/1232367853.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
Is there anyay round this?
Are the missing elements likely to be added to b4j designer?
Am i just doing something wrong? Afterall I have been using b4j about 2 hours.
Thanks