Grakkit 5.0.6 introduced "java.lang.IllegalStateException: zip file closed"
MercerK opened this issue ยท 0 comments
Created a repo and tested. Seems to be introduced in 5.0.6, but I don't think we had any code changes, as that was mostly CI changes. However, the impact seems minimal.
https://github.com/MercerK/grakkit-bug-reports/tree/main/bugReports/zipFile
[07:08:16 INFO]: Closing Server
[07:08:16 WARN]: Exception in thread "Thread-11" java.lang.IllegalStateException: zip file closed
[07:08:16 WARN]: at java.base/java.util.zip.ZipFile.ensureOpen(ZipFile.java:831)
[07:08:16 WARN]: at java.base/java.util.zip.ZipFile.getEntry(ZipFile.java:330)
[07:08:16 WARN]: at java.base/java.util.jar.JarFile.getEntry(JarFile.java:518)
[07:08:16 WARN]: at java.base/java.util.jar.JarFile.getJarEntry(JarFile.java:473)
[07:08:16 WARN]: at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:163)
[07:08:16 WARN]: at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
[07:08:16 WARN]: at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:108)
[07:08:16 WARN]: at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:103)
[07:08:16 WARN]: at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
[07:08:16 WARN]: at grakkit-paper-6.0.1.jar//org.graalvm.collections.EconomicMapImpl.iterator(EconomicMapImpl.java:846)
[07:08:16 WARN]: at grakkit-paper-6.0.1.jar//com.oracle.truffle.polyglot.PolyglotEngineImpl.collectAliveContexts(PolyglotEngineImpl.java:1261)
[07:08:16 WARN]: at grakkit-paper-6.0.1.jar//com.oracle.truffle.polyglot.PolyglotEngineImpl.ensureClosed(PolyglotEngineImpl.java:1158)
[07:08:16 WARN]: at grakkit-paper-6.0.1.jar//com.oracle.truffle.polyglot.PolyglotEngineImpl$PolyglotShutDownHook.run(PolyglotEngineImpl.java:1407)
[07:08:16 WARN]: at java.base/java.lang.Thread.run(Thread.java:833)