-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"gradlew run" fails due to MouseHandler hack #95
Labels
bug
Something isn't working
Comments
This can be fixed by adding the following snippet, which grants unnamed modules access to the javafx module, to the run {
jvmArgs = jvmArgs + ['--add-opens=javafx.graphics/javafx.scene=ALL-UNNAMED']
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When launching an app using
gradlew run
, it fails with a cryptic messageException in Application start method
.Changing the
catch (Exception e)
inApp.start
toThrowable
reveals this:To Reproduce
Steps to reproduce the behavior:
gradlew run
any app.Expected behavior
No exception.
Additional context
The error is a
ExceptionInInitializerError
because the code fails in thestatic { }
block of theReflectionUtil
class. Thus thecatch (Exception e)
does not work.The text was updated successfully, but these errors were encountered: