WorldGuard

WorldGuard

8M Downloads

java.lang.IllegalStateException: zip file closed error

WoodzyGaming opened this issue ยท 0 comments

commented

WorldEdit Version

WorldEdit version 7.3.0-beta-04

WorldGuard Version

WorldGuard 7.0.9

Platform Version

git-Paper-435

Confirmations

  • I am using the most recent Minecraft release.
  • I am using a version of WorldEdit compatible with my Minecraft version.
  • I am using a version of WorldGuard compatible with my Minecraft version.
  • I am using the latest or recommended version of my platform software.
  • I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
  • I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)

Bug Description

plugin is spamming console with the error message below:

! [Sat 13:44:44 WARN WorldGuard] Task #9 for WorldGuard v7.0.9+5934e49 generated an exception
com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalStateException: zip file closed
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2086)
at com.google.common.cache.LocalCache.get(LocalCache.java:4012)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4035)
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5013)
at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:5020)
at worldguard-bukkit-7.0.9-dist.jar//com.sk89q.worldguard.session.AbstractSessionManager.get(AbstractSessionManager.java:169)
at worldguard-bukkit-7.0.9-dist.jar//com.sk89q.worldguard.bukkit.session.BukkitSessionManager.run(BukkitSessionManager.java:71)
at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftTask.run(CraftTask.java:101)
at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:482)
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1636)
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:447)
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1515)
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1216)
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.lang.IllegalStateException: zip file closed
at java.base/java.util.zip.ZipFile.ensureOpen(ZipFile.java:840)
at java.base/java.util.zip.ZipFile.getEntry(ZipFile.java:339)
at java.base/java.util.jar.JarFile.getEntry(JarFile.java:517)
at java.base/java.util.jar.JarFile.getJarEntry(JarFile.java:472)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:209)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:592)
at org.bukkit.plugi

  • [Sat 13:44:44 ERROR Minecraft] Could not pass event PlayerMoveEvent to WorldGuard v7.0.9+5934e49
    com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalStateException: zip file closed
    at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2086)
    at com.google.common.cache.LocalCache.get(LocalCache.java:4012)
    at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4035)
    at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5013)
    at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:5020)
    at worldguard-bukkit-7.0.9-dist.jar//com.sk89q.worldguard.session.AbstractSessionManager.get(AbstractSessionManager.java:169)
    at worldguard-bukkit-7.0.9-dist.jar//com.sk89q.worldguard.bukkit.listener.PlayerMoveListener.onPlayerMove(PlayerMoveListener.java:96)
    at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor72.execute(Unknown Source)
    at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77)
    at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:81)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
    at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54)
    at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:615)
    at net.minecraft.server.network.ServerGamePacketListenerImpl.handleMovePlayer(ServerGamePacketListenerImpl.java:1576)
    at net.minecraft.network.protocol.game.ServerboundMovePlayerPacket.handle(ServerboundMovePlayerPacket.java:29)
    at net.minecraft.network.protocol.game.ServerboundMovePlayerPacket$PosRot.handle(ServerboundMovePlayerPacket.java:88)
    at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:54)
    at net.minecraft.server.TickTask.run(TickTask.java:18)
    at net.min

Expected Behavior

I expected the console not to be spammed.

Reproduction Steps

n/a

Optional WorldGuard-Report

https://paste.enginehub.org/UY9rNSzf-.report

Anything Else?

No response