-
Notifications
You must be signed in to change notification settings - Fork 23
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
Crash with java agent on Mohist 1.18.2 to 1.20.1 #70
Comments
Which command are you using to start the server? |
java -javaagent:/aternos/other/serializationisbad.jar -jar server.jar |
Could you please try adding |
It says This might also be a problem with Mohist |
I'm not really sure what's causing this issue at the moment, but I saw similar behavior when using MultiMC. It appears to be some incompatibility with wrappers around the Forge ModLauncher (MultiMC uses ForgeWrapper and Mohist itself also wraps ModLauncher). I will take a look at that again, maybe I overlooked something. In the meantime you could just try to run SiB as a coremod instead of as an agent. |
When trying to use serialization is bad as a java agent on a Mohist server with any version starting at 1.18.2 the server crashes with the message
java.lang.reflect.InaccessibleObjectException: Unable to make field static final java.lang.invoke.MethodHandles$Lookup java.lang.invoke.MethodHandles$Lookup.IMPL_LOOKUP accessible: module java.base does not "opens java.lang.invoke" to unnamed module @6591f517
.Here's a log from a Mohist 1.20.1 server with this issue: https://mclo.gs/o4nssB6
The text was updated successfully, but these errors were encountered: