B4J Question Error after compiling

Philip Prins

Active Member
Licensed User
Longtime User
Hello

When running the app in the IDE in release mode everything works.
When starting the created .jar i get the following error:

C:\Users\P.Prins\Google Drive\C4IT\Custom apps\B4J\StatusViewer\Release>java -jar StatusViewer.jar
b4xdialog$ResumableSub_Show.resume (java line: 535)
java.lang.RuntimeException: Parent class was not initialized.
at anywheresoftware.b4j.objects.NodeWrapper.innerInitialize(NodeWrapper.java:86)
at anywheresoftware.b4j.objects.PaneWrapper.innerInitialize(PaneWrapper.java:90)
at anywheresoftware.b4j.objects.PaneWrapper$ConcretePaneWrapper.innerInitialize(PaneWrapper.java:392)
at anywheresoftware.b4j.objects.NodeWrapper.Initialize(NodeWrapper.java:79)
at anywheresoftware.b4a.objects.B4XViewWrapper$XUI.CreatePanel(B4XViewWrapper.java:967)
at uk.co.martinpearman.b4j.jfxtrasmappanedemo.b4xdialog$ResumableSub_Show.resume(b4xdialog.java:535)
at uk.co.martinpearman.b4j.jfxtrasmappanedemo.b4xdialog._show(b4xdialog.java:500)
at uk.co.martinpearman.b4j.jfxtrasmappanedemo.main._appstart(main.java:468)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:91)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:78)
at uk.co.martinpearman.b4j.jfxtrasmappanedemo.main.start(main.java:37)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$161(LauncherImpl.java:863)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$174(PlatformImpl.java:326)
at com.sun.javafx.application.PlatformImpl.lambda$null$172(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$173(PlatformImpl.java:294)
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$147(WinApplication.java:177)
at java.lang.Thread.run(Unknown Source)

What can be the cause?
 
Top