B4J Question Standalone Package Crashed When Run

Richard Goh

Active Member
Licensed User
Longtime User
I had below error when running B4J standalone package but it's was running well on B4J debug or release mode. Any advice?

D:\Dev\Admin\Objects\temp\build\bin>java.exe @release_java_modules.txt -m b4j/xxx.xxx.xxx.main
Feb 26, 2022 8:02:24 AM com.mchange.v2.log.MLog
INFO: MLog clients using java 1.4+ standard logging.
Feb 26, 2022 8:02:24 AM com.mchange.v2.c3p0.C3P0Registry
INFO: Initializing c3p0-0.9.5.2 [built 08-December-2015 22:06:04 -0800; debug? true; trace: 10]
b4xpagesmanager._createpageifneeded (java line: -1)
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NoClassDefFoundError: javafx/scene/web/HTMLEditor
at b4j/anywheresoftware.b4a.keywords.Common.CallSub4(Unknown Source)
at b4j/anywheresoftware.b4a.keywords.Common.CallSubNew2(Unknown Source)
at b4j/xxx.xxx.xxx.b4xpagesmanager._createpageifneeded(Unknown Source)
at b4j/xxx.xxx.xxx.b4xpagesmanager._showpage(Unknown Source)
at b4j/xxx.xxx.xxx.b4xpagesmanager._addpage(Unknown Source)
at b4j/xxx.xxx.xxx.b4xpagesmanager._addpageandcreate(Unknown Source)
at b4j/xxx.xxx.xxx.b4xpagesmanager._initialize(Unknown Source)
at b4j/xxx.xxx.xxx.main._appstart(Unknown Source)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at b4j/anywheresoftware.b4a.BA.raiseEvent2(Unknown Source)
at b4j/anywheresoftware.b4a.BA.raiseEvent(Unknown Source)
at b4j/xxx.xxx.xxx.main.start(Unknown Source)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(Unknown Source)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(Unknown Source)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(Unknown Source)
at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: java.lang.NoClassDefFoundError: javafx/scene/web/HTMLEditor
at b4j/anywheresoftware.b4a.BA.raiseEvent2(Unknown Source)
at b4j/xxx.xxx.xxx.dashboardpage.innerInitialize(Unknown Source)
at b4j/xxx.xxx.xxx.dashboardpage._initialize(Unknown Source)
 
Last edited:
Top