Open MeowRay opened 4 months ago
there might be a issue when entities are being iterated or activated its just a panda spigot performance feature where entities are actively being processed to reduce server load
there might be a issue when entities are being iterated or activated its just a panda spigot performance feature where entities are actively being processed to reduce server load
Is it possible to add the option to disable relevant entity optimisations for compatibility and stability?
public class NoSuchElementException extends RuntimeException Thrown by various accessor methods to indicate that the element being requested does not exist.
[13:48:54] [Server thread/ERROR]: Encountered an unexpected exception net.minecraft.server.v1_8_R3.ReportedException: Exception ticking world entities at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:981) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:412) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:818) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:641) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.MinecraftServer.lambda$spin$0(MinecraftServer.java:126) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at java.lang.Thread.run(Thread.java:1583) [?:?] Caused by: java.util.NoSuchElementException at org.bukkit.craftbukkit.v1_8_R3.util.UnsafeList$Itr.next(UnsafeList.java:248) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at org.spigotmc.ActivationRange.activateChunkEntities(ActivationRange.java:153) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at org.spigotmc.ActivationRange.activateEntities(ActivationRange.java:135) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.World.tickEntities(World.java:1550) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.WorldServer.tickEntities(WorldServer.java:602) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:970) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] ... 5 more [13:48:54] [Server thread/ERROR]: Cause of unexpected exception was java.util.NoSuchElementException: null at org.bukkit.craftbukkit.v1_8_R3.util.UnsafeList$Itr.next(UnsafeList.java:248) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at org.spigotmc.ActivationRange.activateChunkEntities(ActivationRange.java:153) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at org.spigotmc.ActivationRange.activateEntities(ActivationRange.java:135) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.World.tickEntities(World.java:1550) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.WorldServer.tickEntities(WorldServer.java:602) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:970) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:412) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:818) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:641) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.MinecraftServer.lambda$spin$0(MinecraftServer.java:126) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at java.lang.Thread.run(Thread.java:1583) [?:?]
crash file
---- Minecraft Crash Report ---- // I'm sorry, Dave. Time: 2024/7/9 13:48 Description: Exception ticking world entities java.util.NoSuchElementException at org.bukkit.craftbukkit.v1_8_R3.util.UnsafeList$Itr.next(UnsafeList.java:248) at org.spigotmc.ActivationRange.activateChunkEntities(ActivationRange.java:153) at org.spigotmc.ActivationRange.activateEntities(ActivationRange.java:135) at net.minecraft.server.v1_8_R3.World.tickEntities(World.java:1550) at net.minecraft.server.v1_8_R3.WorldServer.tickEntities(WorldServer.java:602) at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:970) at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:412) at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:818) at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:641) at net.minecraft.server.v1_8_R3.MinecraftServer.lambda$spin$0(MinecraftServer.java:126) at java.base/java.lang.Thread.run(Thread.java:1583) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at org.bukkit.craftbukkit.v1_8_R3.util.UnsafeList$Itr.next(UnsafeList.java:248) at org.spigotmc.ActivationRange.activateChunkEntities(ActivationRange.java:153) at org.spigotmc.ActivationRange.activateEntities(ActivationRange.java:135) at net.minecraft.server.v1_8_R3.World.tickEntities(World.java:1550) at net.minecraft.server.v1_8_R3.WorldServer.tickEntities(WorldServer.java:602)
You're also running java 21 which is not the java version PandaSpigot has been compiled to, and can lead to errors like that
public class NoSuchElementException extends RuntimeException Thrown by various accessor methods to indicate that the element being requested does not exist.
[13:48:54] [Server thread/ERROR]: Encountered an unexpected exception net.minecraft.server.v1_8_R3.ReportedException: Exception ticking world entities at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:981) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:412) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:818) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:641) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.MinecraftServer.lambda$spin$0(MinecraftServer.java:126) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at java.lang.Thread.run(Thread.java:1583) [?:?] Caused by: java.util.NoSuchElementException at org.bukkit.craftbukkit.v1_8_R3.util.UnsafeList$Itr.next(UnsafeList.java:248) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at org.spigotmc.ActivationRange.activateChunkEntities(ActivationRange.java:153) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at org.spigotmc.ActivationRange.activateEntities(ActivationRange.java:135) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.World.tickEntities(World.java:1550) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.WorldServer.tickEntities(WorldServer.java:602) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:970) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] ... 5 more [13:48:54] [Server thread/ERROR]: Cause of unexpected exception was java.util.NoSuchElementException: null at org.bukkit.craftbukkit.v1_8_R3.util.UnsafeList$Itr.next(UnsafeList.java:248) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at org.spigotmc.ActivationRange.activateChunkEntities(ActivationRange.java:153) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at org.spigotmc.ActivationRange.activateEntities(ActivationRange.java:135) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.World.tickEntities(World.java:1550) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.WorldServer.tickEntities(WorldServer.java:602) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:970) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:412) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:818) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:641) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.MinecraftServer.lambda$spin$0(MinecraftServer.java:126) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at java.lang.Thread.run(Thread.java:1583) [?:?]
crash file
---- Minecraft Crash Report ---- // I'm sorry, Dave. Time: 2024/7/9 13:48 Description: Exception ticking world entities java.util.NoSuchElementException at org.bukkit.craftbukkit.v1_8_R3.util.UnsafeList$Itr.next(UnsafeList.java:248) at org.spigotmc.ActivationRange.activateChunkEntities(ActivationRange.java:153) at org.spigotmc.ActivationRange.activateEntities(ActivationRange.java:135) at net.minecraft.server.v1_8_R3.World.tickEntities(World.java:1550) at net.minecraft.server.v1_8_R3.WorldServer.tickEntities(WorldServer.java:602) at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:970) at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:412) at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:818) at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:641) at net.minecraft.server.v1_8_R3.MinecraftServer.lambda$spin$0(MinecraftServer.java:126) at java.base/java.lang.Thread.run(Thread.java:1583) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at org.bukkit.craftbukkit.v1_8_R3.util.UnsafeList$Itr.next(UnsafeList.java:248) at org.spigotmc.ActivationRange.activateChunkEntities(ActivationRange.java:153) at org.spigotmc.ActivationRange.activateEntities(ActivationRange.java:135) at net.minecraft.server.v1_8_R3.World.tickEntities(World.java:1550) at net.minecraft.server.v1_8_R3.WorldServer.tickEntities(WorldServer.java:602)
You're also running java 21 which is not the java version PandaSpigot has been compiled to, and can lead to errors like that
I tried java17 and it still crashes
public class NoSuchElementException extends RuntimeException Thrown by various accessor methods to indicate that the element being requested does not exist.
[13:48:54] [Server thread/ERROR]: Encountered an unexpected exception net.minecraft.server.v1_8_R3.ReportedException: Exception ticking world entities at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:981) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:412) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:818) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:641) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.MinecraftServer.lambda$spin$0(MinecraftServer.java:126) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at java.lang.Thread.run(Thread.java:1583) [?:?] Caused by: java.util.NoSuchElementException at org.bukkit.craftbukkit.v1_8_R3.util.UnsafeList$Itr.next(UnsafeList.java:248) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at org.spigotmc.ActivationRange.activateChunkEntities(ActivationRange.java:153) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at org.spigotmc.ActivationRange.activateEntities(ActivationRange.java:135) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.World.tickEntities(World.java:1550) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.WorldServer.tickEntities(WorldServer.java:602) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:970) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] ... 5 more [13:48:54] [Server thread/ERROR]: Cause of unexpected exception was java.util.NoSuchElementException: null at org.bukkit.craftbukkit.v1_8_R3.util.UnsafeList$Itr.next(UnsafeList.java:248) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at org.spigotmc.ActivationRange.activateChunkEntities(ActivationRange.java:153) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at org.spigotmc.ActivationRange.activateEntities(ActivationRange.java:135) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.World.tickEntities(World.java:1550) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.WorldServer.tickEntities(WorldServer.java:602) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:970) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:412) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:818) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:641) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at net.minecraft.server.v1_8_R3.MinecraftServer.lambda$spin$0(MinecraftServer.java:126) ~[PandaSpigot-1.8.8.jar:git-PandaSpigot-"f2013ee"] at java.lang.Thread.run(Thread.java:1583) [?:?]
crash file
---- Minecraft Crash Report ---- // I'm sorry, Dave. Time: 2024/7/9 13:48 Description: Exception ticking world entities java.util.NoSuchElementException at org.bukkit.craftbukkit.v1_8_R3.util.UnsafeList$Itr.next(UnsafeList.java:248) at org.spigotmc.ActivationRange.activateChunkEntities(ActivationRange.java:153) at org.spigotmc.ActivationRange.activateEntities(ActivationRange.java:135) at net.minecraft.server.v1_8_R3.World.tickEntities(World.java:1550) at net.minecraft.server.v1_8_R3.WorldServer.tickEntities(WorldServer.java:602) at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:970) at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:412) at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:818) at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:641) at net.minecraft.server.v1_8_R3.MinecraftServer.lambda$spin$0(MinecraftServer.java:126) at java.base/java.lang.Thread.run(Thread.java:1583) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at org.bukkit.craftbukkit.v1_8_R3.util.UnsafeList$Itr.next(UnsafeList.java:248) at org.spigotmc.ActivationRange.activateChunkEntities(ActivationRange.java:153) at org.spigotmc.ActivationRange.activateEntities(ActivationRange.java:135) at net.minecraft.server.v1_8_R3.World.tickEntities(World.java:1550) at net.minecraft.server.v1_8_R3.WorldServer.tickEntities(WorldServer.java:602)
You're also running java 21 which is not the java version PandaSpigot has been compiled to, and can lead to errors like that
I tried java17 and it still crashes
show the logs w java 17
I upgraded from spigot 1.8.8 to pandaspigot and now the server crashes every hour or so. on spigot everything is fine, pandaspigot.yml and paper.yml are defaults
which behaviours are more likely to cause crashes on pandaspigot than spigot?
log file
crash file