Server crash 1.17.1

Discussion in 'Spigot Help' started by TheIntelloBox, Jul 7, 2021.

  1. Hello,

    When I connect on my server, it immediately crashes:

    Code (Text):
    [18:15:56] [Server thread/ERROR]: Encountered an unexpected exception
    net.minecraft.ReportedException: Exception ticking world
        at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1568) ~[patched_1.17.1.jar:git-Paper-85]
        at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:479) ~[patched_1.17.1.jar:git-Paper-85]
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1406) ~[patched_1.17.1.jar:git-Paper-85]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1188) ~[patched_1.17.1.jar:git-Paper-85]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316) ~[patched_1.17.1.jar:git-Paper-85]
        at java.lang.Thread.run(Thread.java:831) [?:?]
    Caused by: java.lang.NullPointerException: Cannot invoke "net.minecraft.nbt.NBTBase.clone()" because the return value of "java.util.Map$Entry.getValue()" is null
        at net.minecraft.nbt.CompoundTag.copy(CompoundTag.java:397) ~[?:?]
        at net.minecraft.world.item.ItemStack.cloneItemStack(ItemStack.java:652) ~[patched_1.17.1.jar:git-Paper-85]
        at net.minecraft.world.item.ItemStack.copy(ItemStack.java:643) ~[patched_1.17.1.jar:git-Paper-85]
        at net.minecraft.server.level.ServerEntity.a(ServerEntity.java:323) ~[?:?]
        at net.minecraft.server.level.ServerEntity.addPairing(ServerEntity.java:268) ~[?:?]
        at net.minecraft.server.level.ChunkMap$TrackedEntity.updatePlayer(ChunkMap.java:2397) ~[?:?]
        at net.citizensnpcs.nms.v1_17_R1.util.PlayerlistTracker.updatePlayer(PlayerlistTracker.java:55) ~[?:?]
        at net.minecraft.server.level.ChunkMap$TrackedEntity.updatePlayers(ChunkMap.java:2308) ~[?:?]
        at net.minecraft.server.level.ChunkTracker.processTrackQueue(ChunkTracker.java:2053) ~[?:?]
        at net.minecraft.server.level.ChunkTracker.tick(ChunkTracker.java:2074) ~[?:?]
        at net.minecraft.server.level.ServerChunkCache.tickChunks(ServerChunkCache.java:881) ~[?:?]
        at net.minecraft.server.level.ServerChunkCache.tick(ServerChunkCache.java:752) ~[?:?]
        at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:594) ~[?:?]
        at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1553) ~[patched_1.17.1.jar:git-Paper-85]
        ... 5 more
    [18:15:56] [Server thread/ERROR]:     Cause of unexpected exception was
    java.lang.NullPointerException: Cannot invoke "net.minecraft.nbt.NBTBase.clone()" because the return value of "java.util.Map$Entry.getValue()" is null
        at net.minecraft.nbt.CompoundTag.copy(CompoundTag.java:397) ~[?:?]
        at net.minecraft.world.item.ItemStack.cloneItemStack(ItemStack.java:652) ~[patched_1.17.1.jar:git-Paper-85]
        at net.minecraft.world.item.ItemStack.copy(ItemStack.java:643) ~[patched_1.17.1.jar:git-Paper-85]
        at net.minecraft.server.level.ServerEntity.a(ServerEntity.java:323) ~[?:?]
        at net.minecraft.server.level.ServerEntity.addPairing(ServerEntity.java:268) ~[?:?]
        at net.minecraft.server.level.ChunkMap$TrackedEntity.updatePlayer(ChunkMap.java:2397) ~[?:?]
        at net.citizensnpcs.nms.v1_17_R1.util.PlayerlistTracker.updatePlayer(PlayerlistTracker.java:55) ~[?:?]
        at net.minecraft.server.level.ChunkMap$TrackedEntity.updatePlayers(ChunkMap.java:2308) ~[?:?]
        at net.minecraft.server.level.ChunkTracker.processTrackQueue(ChunkTracker.java:2053) ~[?:?]
        at net.minecraft.server.level.ChunkTracker.tick(ChunkTracker.java:2074) ~[?:?]
        at net.minecraft.server.level.ServerChunkCache.tickChunks(ServerChunkCache.java:881) ~[?:?]
        at net.minecraft.server.level.ServerChunkCache.tick(ServerChunkCache.java:752) ~[?:?]
        at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:594) ~[?:?]
        at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1553) ~[patched_1.17.1.jar:git-Paper-85]
        at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:479) ~[patched_1.17.1.jar:git-Paper-85]
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1406) ~[patched_1.17.1.jar:git-Paper-85]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1188) ~[patched_1.17.1.jar:git-Paper-85]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316) ~[patched_1.17.1.jar:git-Paper-85]
        at java.lang.Thread.run(Thread.java:831) [?:?]
     
  2. Update Citizens.
     
  3. Already done. ;)