B4J Question Running Desktop Application with JPro and Gradle.

Swissmade

Well-Known Member
Licensed User
Longtime User
Just to test I like to run a B4J Application with Gradle and JPro.
If I run it normal there is no problem and the App is running on the Desktop put when I try to run it with Jpro is not working because no parameters given.
No Parameters needed for this App.
Has somebody a B4J jar file running in Jpro yet.
Error from JPro:
main.start (java line: 37)
java.lang.NullPointerException: Cannot invoke "javafx.application.Application$Parameters.getRaw()" because the return value of "jpro.test.main.getParameters()" is null
I assume it is this row in main.java if I check the source.

Main Error:
ba.raiseEvent(null, "appstart", frm, (String[])getParameters().getRaw().toArray(new String[0]));
Thanks for answering.
 
Last edited:

Swissmade

Well-Known Member
Licensed User
Longtime User
Nobody yet.
Maybe it is not possible.
 
Upvote 0
Top