BentoBoxWorld / BentoBox

Expandable Minecraft server plugin for island-type games like SkyBlock or AcidIsland.
https://bentobox.world
Eclipse Public License 2.0
335 stars 138 forks source link

Bsb tp error #1759

Open ghost opened 3 years ago

ghost commented 3 years ago

Hello,

I don't know why but from time to time I get this error:

[18:04:23] [Server thread/WARN]: [BentoBox] Task #4739413 for BentoBox v1.16.0-SNAPSHOT-b1989 generated an exception
net.minecraft.server.v1_16_R3.ReportedException: Writing into PalettedContainer from multiple threads
    at net.minecraft.server.v1_16_R3.DataPaletteBlock.a(SourceFile:48) ~[Spigot-1.16.3.jar:2991-Spigot-018b9a0-f3f3094]
    at net.minecraft.server.v1_16_R3.DataPaletteBlock.a(SourceFile:205) ~[Spigot-1.16.3.jar:2991-Spigot-018b9a0-f3f3094]
    at org.bukkit.craftbukkit.v1_16_R3.CraftChunk.getChunkSnapshot(CraftChunk.java:258) ~[Spigot-1.16.3.jar:2991-Spigot-018b9a0-f3f3094]
    at org.bukkit.craftbukkit.v1_16_R3.CraftChunk.getChunkSnapshot(CraftChunk.java:237) ~[Spigot-1.16.3.jar:2991-Spigot-018b9a0-f3f3094]
    at world.bentobox.bentobox.util.teleport.SafeSpotTeleport.gatherChunks(SafeSpotTeleport.java:113) ~[?:?]
    at world.bentobox.bentobox.util.teleport.SafeSpotTeleport.lambda$tryTogo$2(SafeSpotTeleport.java:93) ~[?:?]
    at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:81) ~[Spigot-1.16.3.jar:2991-Spigot-018b9a0-f3f3094]
    at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:400) ~[Spigot-1.16.3.jar:2991-Spigot-018b9a0-f3f3094]
    at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1060) ~[Spigot-1.16.3.jar:2991-Spigot-018b9a0-f3f3094]
    at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:355) ~[Spigot-1.16.3.jar:2991-Spigot-018b9a0-f3f3094]
    at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1008) ~[Spigot-1.16.3.jar:2991-Spigot-018b9a0-f3f3094]
    at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:847) ~[Spigot-1.16.3.jar:2991-Spigot-018b9a0-f3f3094]
    at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$0(MinecraftServer.java:164) ~[Spigot-1.16.3.jar:2991-Spigot-018b9a0-f3f3094]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
Caused by: java.lang.IllegalStateException
    at net.minecraft.server.v1_16_R3.DataPaletteBlock.a(SourceFile:45) ~[Spigot-1.16.3.jar:2991-Spigot-018b9a0-f3f3094]
    ... 13 more

image

tastybento commented 3 years ago

Weird. I had to google this because it's a server error. It's caused when some plugin uses the Bukkit scheduler to set blocks async. It shouldn't happen with our teleporting because a) we don't use the async scheduler, and b) we don't set any blocks when teleporting. If you get any more logs for this, please post. If you notice a way to reproduce it reliably let me know.

ghost commented 3 years ago

i think the problem is come from FastAsyncWE ... I updated and i wait now ^^