I'm trying to make the leap from Java 8 or OpenJDK 11, but I am experiencing an error which I've been unable overcome.
I use the KeyListener from the jGameViewHelper library to launch a ModalForm to display the application's help in a WebView.
After packaging it using B4JPackager11 and launching the application via run.exe, I found that it crashed on hitting the "F1" key.
But then I saw that as per the comments in B4JPackager11, I had to comment out the line:
because indeed I was using a WebView. Then after launching the application again via run.exe, hitting the "F1" key launched the help screen correctly.
However, if I create setup.exe and install using InstallerScript-Template.iss, the application crashes immediately after appearing onscreen.
The application does write a log file and before I commented out that line, the log reported an error relating to WebView, but after fixing that, the application crashes with no error written to the log file. It just shows "BDSScoreboard V16_7 started at 8/1/2020 0:5:10" which is a log statement late in AppStart.
Any suggestions how to find out what's the cause of the crash?
I use the KeyListener from the jGameViewHelper library to launch a ModalForm to display the application's help in a WebView.
After packaging it using B4JPackager11 and launching the application via run.exe, I found that it crashed on hitting the "F1" key.
But then I saw that as per the comments in B4JPackager11, I had to comment out the line:
B4X:
' ExcludedModules = Array("javafx.web") 'comment this line if using WebView
because indeed I was using a WebView. Then after launching the application again via run.exe, hitting the "F1" key launched the help screen correctly.
However, if I create setup.exe and install using InstallerScript-Template.iss, the application crashes immediately after appearing onscreen.
The application does write a log file and before I commented out that line, the log reported an error relating to WebView, but after fixing that, the application crashes with no error written to the log file. It just shows "BDSScoreboard V16_7 started at 8/1/2020 0:5:10" which is a log statement late in AppStart.
Any suggestions how to find out what's the cause of the crash?