-
Notifications
You must be signed in to change notification settings - Fork 2
java.lang.reflect.InaccessibleObjectException in 1.4.1 #33
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
Comments
It sounds like there's a new restriction in the latest JDK and they've added an
might be a workaround. Long term, code using Gson will have to be examined |
How do I apply this option?
I also just noticed the output says it couldn't find the minetest folder, which is |
Don't worry about the minecraft stuff, or the minetest folder not found. It shouldn't go between the jar settings, so either: if it still crashes, check if these bolded parts of the error have changed: as those are what I put in the --add-opens command, and perhaps the command worked and got it further until hitting a new InaccessibleObject. |
whoops, it should be i.e. no equals after --add-opens, so try: (I've just edited my comments because I'm pretty sure there's supposed to be a space after the |
the
The result is:
|
Thanks for working that out and posting back |
Upgrade Gson to avoid [crash] Amidst has encounted an uncaught exception on the thread Thread[AWT-EventQueue-0,6,main] [crash] java.lang.reflect.InaccessibleObjectException: Unable to make field int java.awt.Color.value accessible: module java.desktop does not "opens java.awt" to unnamed module @3bf44630
Try to fix #33 InaccessibleObjectException
I have downloaded the jar file from releases and tried to run it. I get the following error:
OS: Arch Linux
Kernel: x86_64 Linux 5.14.6-arch1-1
DE: GNOME 40.0
CPU: Intel Core i5-7600K @ 4x 4.2GHz [39.0°C]
GPU: NVIDIA GeForce GTX 1060 3GB
RAM: 15963MiB
openjdk version "16.0.2" 2021-07-20
OpenJDK Runtime Environment (build 16.0.2+7)
OpenJDK 64-Bit Server VM (build 16.0.2+7, mixed mode)
The text was updated successfully, but these errors were encountered: