Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-6793

Server crash : Exception ticking world

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • Minecraft Version: 1.17.1
      Operating System: Linux (amd64) version 5.4.0-90-generic
      Java Version: 16.0.1, Oracle Corporation

    • 3277-Spigot-3892929-2071671
    • Yes

      Hello,

      First of all, I'm really sorry if my english is a bit weird, I'm trying my best.

      I'm sorry to bother you, but my server keeps crashing with version 3277-Spigot-3892929-2071671, which is if I'm right the latest.

      Here's the stack trace in the crash report :

      Description: Exception ticking world
      java.lang.NullPointerException: Cannot invoke "org.bukkit.craftbukkit.libs.it.unimi.dsi.fastutil.longs.LongArrayList.getLong(int)" because "this.wrapped" is null
          at org.bukkit.craftbukkit.libs.it.unimi.dsi.fastutil.longs.LongOpenHashSet$SetIterator.nextLong(LongOpenHashSet.java:464)
          at org.bukkit.craftbukkit.libs.it.unimi.dsi.fastutil.longs.LongCollection.removeIf(LongCollection.java:197)
          at net.minecraft.world.level.entity.PersistentEntitySectionManager.f(PersistentEntitySectionManager.java:280)
          at net.minecraft.world.level.entity.PersistentEntitySectionManager.tick(PersistentEntitySectionManager.java:303)
          at net.minecraft.server.level.WorldServer.doTick(WorldServer.java:501)
          at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1314)
          at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:438)
          at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1217)
          at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1050)
          at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:305)
          at java.base/java.lang.Thread.run(Thread.java:831)
      

      Note that this error also happens in a plugin event, but it doesn't lead to a server crash.

      I tested with all plugins uninstalled, and it still happens.

      I tested with vanilla Minecraft server, and it doesn't happen. Even if I'm not really sure, it's hard to reproduce because it seems really random.

      Thank you for reading this, and have a nice day !

      PS : It seems VERY random.

      Edit : This bug seems nearly impossible to reproduce. My server crashed 20 times with this error, but it is now stable. I don't know why, nothing has changed. You can close this issue if you want. I'm sorry for the noice.

            Unassigned Unassigned
            734F96 734F96
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: