You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem:
Running ./gradlew nativeRunAgent results in an error: Error creating Substrate Dispatcher: java.lang.NullPointerException: Main class name is required.
Main class already defined in the application block
application {
mainClass = 'fx.App'
}
Adding mainClassName = 'fx.App' results in an error as well: RunAgent failure: org.gradle.api.internal.provider.AbstractProperty$PropertyQueryException: Failed to calculate the value of task ':app:run' property 'javaLauncher'.
This gralde plugin took two days and nights of sleep away. Application is fine, running fine but no native build, compile link, agent things were working.
The biggest pain: NO useful error message.
After hours and hours of debugging and sleepless night, dizzy days here is the result:
The gradle plugin from gluon is "broken".
Problem:
Running
./gradlew nativeRunAgent
results in an error:Error creating Substrate Dispatcher: java.lang.NullPointerException: Main class name is required
.Main class already defined in the
application
blockAdding
mainClassName = 'fx.App'
results in an error as well:RunAgent failure: org.gradle.api.internal.provider.AbstractProperty$PropertyQueryException: Failed to calculate the value of task ':app:run' property 'javaLauncher'.
Sample Project
Environment:
The text was updated successfully, but these errors were encountered: