LuckPerms

LuckPerms

1M Downloads

IllegalStateException: zip file closed - LuckPerms: v5.5.0

Closed this issue · 3 comments

commented

Description

Estoy experimentando un error recurrente al detener mi servidor cuando LuckPerms v5.5.0 intenta desactivarse.

Detalles del Entorno:

Versión de LuckPerms: v5.5.0 (actualizado desde v5.4.141, donde también ocurría el error)
Versión del Servidor: Paper version 1.21.4-231-ver/1.21.4@09e9afd (API: 1.21.4-R0.1-SNAPSHOT)
Versión de Java: OpenJDK 64-Bit Server VM 21.0.7+6-LTS (Eclipse Adoptium Temurin-21.0.7+6)
Sistema Operativo: Linux amd64 (según el log inicial)
Descripción del Problema:
Cada vez que se detiene el servidor, se registra el siguiente error en la consola durante la fase de desactivación de LuckPerms:

I'm experiencing a recurring error when stopping my server when LuckPerms v5.5.0 attempts to deactivate.

Environment Details:

LuckPerms Version: v5.5.0 (upgraded from v5.4.141, which also occurred)
Server Version: Paper version 1.21.4-231-ver/1.21.4@09e9afd (API: 1.21.4-R0.1-SNAPSHOT)
Java Version: OpenJDK 64-Bit Server VM 21.0.7+6-LTS (Eclipse Adoptium Temurin-21.0.7+6)
OS: Linux amd64 (according to the initial log)
Problem Description:
Every time the server is stopped, the following error is logged in the console during the LuckPerms deactivation phase:

LOG:

[16:32:25] [Server thread/INFO]: [LuckPerms] Disabling LuckPerms v5.5.0
[16:32:25] [Server thread/INFO]: [LuckPerms] Starting shutdown process...
[16:32:25] [Server thread/ERROR]: Error occurred while disabling LuckPerms v5.5.0
java.lang.IllegalStateException: zip file closed
at java.base/java.util.zip.ZipFile.ensureOpen(Unknown Source) ~[?:?]
at java.base/java.util.zip.ZipFile.getEntry(Unknown Source) ~[?:?]
at java.base/java.util.jar.JarFile.getEntry(Unknown Source) ~[?:?]
at java.base/java.util.jar.JarFile.getJarEntry(Unknown Source) ~[?:?]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:209) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
at java.base/java.lang.ClassLoader.loadClass(Unknown Source) ~[?:?]
at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:169) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:144) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.entrypoint.classloader.group.SpigotPluginClassLoaderGroup.lookupClass(SpigotPluginClassLoaderGroup.java:43) ~[paper-1.21.4.jar:1.21.4-231-09e9afd]
at io.papermc.paper.plugin.entrypoint.classloader.group.SimpleListPluginClassLoaderGroup.getClassByName(SimpleListPluginClassLoaderGroup.java:37) ~[paper-1.21.4.jar:1.21.4-231-09e9afd]
at io.papermc.paper.plugin.entrypoint.classloader.group.LockingClassLoaderGroup.getClassByName(LockingClassLoaderGroup.java:34) ~[paper-1.21.4.jar:1.21.4-231-09e9afd]
at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:187) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:164) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
at java.base/java.lang.ClassLoader.loadClass(Unknown Source) ~[?:?]
at java.base/java.lang.ClassLoader.loadClass(Unknown Source) ~[?:?]
at me.lucko.luckperms.lib.caffeine.cache.BoundedLocalCache.values(BoundedLocalCache.java:2639) ~[?:?]
at me.lucko.luckperms.common.webeditor.store.WebEditorSocketMap.getSockets(WebEditorSocketMap.java:54) ~[?:?]
at me.lucko.luckperms.common.plugin.AbstractLuckPermsPlugin.disable(AbstractLuckPermsPlugin.java:280) ~[?:?]
at me.lucko.luckperms.bukkit.LPBukkitBootstrap.onDisable(LPBukkitBootstrap.java:191) ~[?:?]
at LuckPerms-Bukkit-5.5.0.jar/me.lucko.luckperms.bukkit.loader.BukkitLoaderPlugin.onDisable(BukkitLoaderPlugin.java:55) ~[LuckPerms-Bukkit-5.5.0.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:286) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.disablePlugin(PaperPluginInstanceManager.java:237) ~[paper-1.21.4.jar:1.21.4-231-09e9afd]
at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.disablePlugins(PaperPluginInstanceManager.java:161) ~[paper-1.21.4.jar:1.21.4-231-09e9afd]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.disablePlugins(PaperPluginManagerImpl.java:97) ~[paper-1.21.4.jar:1.21.4-231-09e9afd]
at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:541) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:627) ~[paper-1.21.4.jar:1.21.4-231-09e9afd]
at net.minecraft.server.MinecraftServer.stopServer(MinecraftServer.java:1007) ~[paper-1.21.4.jar:1.21.4-231-09e9afd]
at net.minecraft.server.dedicated.DedicatedServer.stopServer(DedicatedServer.java:757) ~[paper-1.21.4.jar:1.21.4-231-09e9afd]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1294) ~[paper-1.21.4.jar:1.21.4-231-09e9afd]
at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:310) ~[paper-1.21.4.jar:1.21.4-231-09e9afd]
at java.base/java.lang.Thread.run(Unknown Source) ~[?:?]

Reproduction Steps

El problema se presentaba con LuckPerms v5.4.141 y persiste después de actualizar a v5.5.0.
Durante el tiempo de ejecución del servidor, LuckPerms y los permisos funcionan correctamente. El error parece estar aislado al momento de la desactivación del plugin.

The issue occurred with LuckPerms v5.4.141 and persists after updating to v5.5.0.
During server runtime, LuckPerms and permissions work correctly. The issue appears to be isolated to the plugin deactivation.

Expected Behaviour

Se espera que LuckPerms se desactive limpiamente sin generar este tipo de excepciones.

Agradecería cualquier ayuda o información sobre si esto es un problema conocido o si hay alguna configuración que deba revisar.

LuckPerms is expected to be disabled cleanly without generating these types of exceptions.

I would appreciate any help or information on whether this is a known issue or if there are any settings I should check.

Server Details

Paper version 1.21.4-231-ver/1.21.4@09e9afd (API: 1.21.4-R0.1-SNAPSHOT) OpenJDK 64-Bit Server VM 21.0.7+6-LTS (Eclipse Adoptium Temurin-21.0.7+6) Linux amd64

LuckPerms Version

LuckPerms: v5.5.0 (actualizado desde v5.4.141, donde también ocurría el error)

Logs and Configs

No response

Extra Details

los de inicio

the beginning ones

16:31:31] [Server thread/INFO]: [LuckPerms] Enabling LuckPerms v5.5.0
[16:31:32] [Server thread/INFO]: __
[16:31:32] [Server thread/INFO]: | |) LuckPerms v5.5.0
[16:31:32] [Server thread/INFO]: |
_ | Running on Bukkit - Paper
[16:31:32] [Server thread/INFO]:
[16:31:32] [Server thread/INFO]: [LuckPerms] Loading configuration...
[16:31:32] [Server thread/INFO]: [LuckPerms] Loading storage provider... [H2]
[16:31:33] [Server thread/INFO]: [LuckPerms] Loading internal permission managers...
[16:31:34] [Server thread/INFO]: [LuckPerms] Performing initial data load...
[16:31:34] [Server thread/INFO]: [LuckPerms] Successfully enabled. (took 3139ms)

commented

please share a full log (everything from the very first line of the server starting to the error) using a pastebin

commented

Log Completo

Complete Log

https://pastebin.com/fqcg3X3y

commented

This is likely caused by your LP jar file being corrupted. a redownload should fix it. If not, open a new issue on latest LP with a full log (use github gist so that we can read it in the future)