AntiCheatReplay
AntiCheatReplay copied to clipboard
Illegal State Exception
[17:42:30 INFO]: [AntiCheatReplay] Disabling AntiCheatReplay v2.7.22
[17:42:30 WARN]: [AntiCheatReplay] Task #47 for AntiCheatReplay v2.7.22 generated an exception
java.lang.IllegalStateException: The plugin classloader for AntiCheatReplay has thrown a zip file error.
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:228) ~[divinemc-api-1.21.10-R0.1-SNAPSHOT.jar:?]
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:557) ~[?:?]
at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:180) ~[divinemc-api-1.21.10-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:175) ~[divinemc-api-1.21.10-R0.1-SNAPSHOT.jar:?]
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490) ~[?:?]
at AntiCheatReplay-2.7.22.jar/me.justindevb.anticheatreplay.AntiCheatReplay.registerListener(AntiCheatReplay.java:69) ~[AntiCheatReplay-2.7.22.jar:?]
at AntiCheatReplay-2.7.22.jar/me.justindevb.anticheatreplay.AntiCheatReplay.lambda$onEnable$0(AntiCheatReplay.java:40) ~[AntiCheatReplay-2.7.22.jar:?]
at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:78) ~[divinemc-1.21.10.jar:1.21.10-6-35d3edc]
at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:474) ~[divinemc-1.21.10.jar:1.21.10-6-35d3edc]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1274) ~[divinemc-1.21.10.jar:1.21.10-6-35d3edc]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:372) ~[divinemc-1.21.10.jar:1.21.10-6-35d3edc]
at java.base/java.lang.Thread.run(Thread.java:1447) ~[?:?]
Caused by: java.lang.IllegalStateException: zip file closed
at java.base/java.util.zip.ZipFile.ensureOpen(ZipFile.java:793) ~[?:?]
at java.base/java.util.zip.ZipFile.getEntry(ZipFile.java:287) ~[?:?]
at java.base/java.util.jar.JarFile.getEntry(JarFile.java:505) ~[?:?]
at java.base/java.util.jar.JarFile.getJarEntry(JarFile.java:460) ~[?:?]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:223) ~[divinemc-api-1.21.10-R0.1-SNAPSHOT.jar:?]
... 11 more```
I use GrimAC and understand perfectly well that this anti-cheat isn't supported. But I found someone who found a workaround. They have the AntiCheatReplay mod listed, but I doubt they need it.
https://github.com/GrimAnticheat/Grim/issues/2224#issuecomment-3116992271