I’ve been getting really odd reports of SpongeForge servers crashing when using a newer version of my plugin, but I have no idea what the exception means and how my plugin interacts with any of it.
Basically all of the crashes have this exception in common:
java.lang.NoClassDefFoundError: some class Caused by: java.lang.ClassNotFoundException: some class Caused by: java.lang.SecurityException: class "some class"'s signer information does not match signer information of other classes in the same package
My plugin doesn’t load any extra classes nor does any funky stuff with class loading.
Here are the crash pastes I have got from 4 different people:
- HammerCore Mod https://paste.ubuntu.com/p/GJTyv6bghH/
- net.minecraftforge.common.WorldWorkerManager https://pastebin.com/uPu6bfQJ
- Immersive Engineering Mod https://github.com/plan-player-analytics/Plan/issues/1292#issue-550649323
- net.minecraftforge.fml.common.gameevent.TickEvent$Type https://mcpaste.io/2871b4c3fa0348d7
I’ve found a temporary solution which stops the crashes, so it has to be in my code & I think it is related to this method because if the code is diverted away from this class, the crashes don’t happen.
What could it be?