Skip to content
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

Grakkit 5.0.6 introduced "java.lang.IllegalStateException: zip file closed" #43

Open
MercerK opened this issue Mar 10, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@MercerK
Copy link
Contributor

MercerK commented Mar 10, 2023

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)
@MercerK MercerK added the bug Something isn't working label Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant