B4J Question jGameViewHelper v1.03 Crashes after update to 9.80

johnerikson

Active Member
Licensed User
Longtime User
jGameViewHelper v1.03 Crashes after update to 9.80

Run-time error after starting the app, already when declaring the variable
The compilation shows no error but following happens when the application starts:

Waiting for debugger to connect...
Program started.
Error occurred on line: 27 (EasyImageslider)

Row 27 = Dim GameViewHelper As GameViewHelper

java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at GISIQON.EasyMedia.easyimageslider.innerInitialize(easyimageslider.java:21)
at GISIQON.EasyMedia.easyimageslider._initialize(easyimageslider.java:107)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:629)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:234)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:167)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:109)
at anywheresoftware.b4a.shell.ShellBA.raiseEvent2(ShellBA.java:98)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:96)
at GISIQON.EasyMedia.main.main(main.java:29)
Caused by: java.lang.NoClassDefFoundError: javafx/scene/transform/Transform
at GISIQON.EasyMedia.easyimageslider._class_globals(easyimageslider.java:460)
... 21 more
 

johnerikson

Active Member
Licensed User
Longtime User
Thanks!
I am extraordinarily surprised? I have for 6 years used this solution in a non IU application without any problems whatsoever. I have the development of the project even on a laptop that now has B4j 9.30, which works without problems right now here and during all updates until now! What could be the explanation?
I'm very interested in performing the updates offered, but it involves some work for it.
The alternative for this project is to stop the updates at 9.50, but I don't like to miss updates.
I use GameViewHelper to play Adiotrack. What is the alternative to jGameViewHelper for a non IO application?
 
Last edited:
Upvote 0

johnerikson

Active Member
Licensed User
Longtime User
Supplement
I think I understand why it has worked, the below parts of the library have been used. None of them show anything on the screen. Unfortunately, things are now going wrong already at Dim GameViewHelper As GameViewHelper, sorry!
The following have been used from the lib:
iGenId = GameViewHelper.LoadAudioClip(File.PG_sAppPath & "/EasyVideos/Audio" & PG_UserID , sSong))'"start.mp3")) GameViewHelper.PlayAudioClip(iGenId, 0.2)
GameViewHelper.StopAudioClip(iGenId)
 
Upvote 0
Top