B4J Question Packager Internal error

Peter Lewis

Active Member
Licensed User
Longtime User
Hi All

I created a packager and included all the correct parameters as far as I can see and read on the Forum. It worked until I added the text editor on one of the screens. any advise would be appreciated . thank you

B4X:
#Region Project Attributes
    #MainFormWidth: 400
    #MainFormHeight: 650
    #AdditionalJar: sqlite-jdbc-3.30.1
    #LibraryVersion: 0.6
    #PackagerProperty: IncludedModules = javafx.web
  
  
#PackagerProperty: IncludedModules = jdk.charsets
#PackagerProperty: IconFile = c:\input\qm.ico
#PackagerProperty: ExeName = Quizmaster


This is the error

R:\Quiz Source code Git\.git\quizmaster\DesktopApp\Objects\temp\build>cd bin

R:\Quiz Source code Git\.git\quizmaster\DesktopApp\Objects\temp\build\bin>java.exe @release_java_modules.txt -m b4j/b4j.quiz.main
Picked up _JAVA_OPTIONS: -Xmx1024m
CreateTable: CREATE TABLE IF NOT EXISTS [users] ([userID] NUMBERIC, [password] TEXT, [LoginName] TEXT, [FirstName] TEXT, [LastName] TEXT, [Cellular] TEXT, TEXT, [DateOfBirth] TEXT, [City] TEXT, [RegionState] TEXT, [Country] TEXT, [PostalCode] TEXT, [Active] TEXT)
CreateTable: CREATE TABLE IF NOT EXISTS [catalogue] ([name] INTEGER, [id_subcategory] TEXT, [number] INTEGER)
CreateTable: CREATE TABLE IF NOT EXISTS [subcategories] ([id] INTEGER, [id_category] TEXT, [name] TEXT, [questions] INTEGER, [number] INTEGER)
CreateTable: CREATE TABLE IF NOT EXISTS [categories] ([id] INTEGER, [name] TEXT, [number] INTEGER)
CreateTable: CREATE TABLE IF NOT EXISTS [game] ([game_id] NUMBERIC, [status] TEXT, [StartTime] INTEGER)
CreateTable: CREATE TABLE IF NOT EXISTS [parameters] ([parameter] TEXT, [value] TEXT)
clsgame.innerInitialize (java line: -1)
java.lang.RuntimeException: java.lang.NoClassDefFoundError: javafx/scene/web/HTMLEditor
at b4j/anywheresoftware.b4a.BA.raiseEvent2(Unknown Source)
at b4j/b4j.quiz.clsgame.innerInitialize(Unknown Source)
at b4j/b4j.quiz.clsgame._initialize(Unknown Source)
at b4j/b4j.quiz.main._notifynewgame(Unknown Source)
at b4j/b4j.quiz.clsmqttutils._client1_messagearrived(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$3.run(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.NoClassDefFoundError: javafx/scene/web/HTMLEditor
at b4j/anywheresoftware.b4j.objects.HTMLEditorWrapper.<clinit>(Unknown Source)
at b4j/b4j.quiz.clsgame._class_globals(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)
... 18 more
Caused by: java.lang.ClassNotFoundException: javafx.scene.web.HTMLEditor
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
... 24 more


R:\Quiz Source code Git\.git\quizmaster\DesktopApp\Objects\temp\build\bin>pause
Press any key to continue . . .
[/QUOTE]
 
Top