Server generates a FATAL log message with a NullPointerException
I saw a FATAL Level message in my logs. Logs: latest.log
. Apparently, the player dying from a spider somehow generated a NullPointerException... The server kept running though. Don't think anyone will be able to reproduce it, but still sending a bug report, because it's a bug.
UPD: I saw this message once more, this time the player suffocated in a wall. Given how often the error happens, it actually may relatively somewhat be reproducible a bit. Updated logs: latest.log
.
[21:31:22] [Server thread/FATAL]: Error executing task on Server java.lang.NullPointerException: null at wc.b(SourceFile:208) ~[server.jar:?] at vv.a(SourceFile:897) ~[server.jar:?] at wh.a(SourceFile:475) ~[server.jar:?] at xb.a(SourceFile:835) ~[server.jar:?] at pl.a(SourceFile:122) ~[server.jar:?] at pl$b.a(SourceFile:18) ~[server.jar:?] at ld.a(SourceFile:21) ~[server.jar:?] at sj.run(SourceFile:18) ~[server.jar:?] at ahq.h(SourceFile:144) [server.jar:?] at ahu.h(SourceFile:23) [server.jar:?] at ahq.v(SourceFile:118) [server.jar:?] at net.minecraft.server.MinecraftServer.aX(SourceFile:713) [server.jar:?] at net.minecraft.server.MinecraftServer.v(SourceFile:707) [server.jar:?] at ahq.c(SourceFile:127) [server.jar:?] at net.minecraft.server.MinecraftServer.u(SourceFile:692) [server.jar:?] at net.minecraft.server.MinecraftServer.run(SourceFile:647) [server.jar:?] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
Environment
Mac OS 10.14.6
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Dedicated Server
Linked Issues
Created Issue:
Server generates a FATAL log message with a NullPointerException
I saw a FATAL Level message in my logs. Logs: latest.log
. Apparently, the player dying from a spider somehow generated a NullPointerException... The server kept running though. Don't think anyone will be able to reproduce it, but still sending a bug report, because it's a bug.
Environment
Mac OS 10.14.6
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Dedicated Server
I saw a FATAL Level message in my logs. Logs: latest.log
. Apparently, the player dying from a spider somehow generated a NullPointerException... The server kept running though. Don't think anyone will be able to reproduce it, but still sending a bug report, because it's a bug.
UPD: I saw this message once more, this time the player suffocated in a wall. Given how often the error happens, it actually may relatively somewhat be reproducible a bit. Updated logs: latest.log
.
I saw a FATAL Level message in my logs. Logs: latest.log
. Apparently, the player dying from a spider somehow generated a NullPointerException... The server kept running though. Don't think anyone will be able to reproduce it, but still sending a bug report, because it's a bug.
UPD: I saw this message once more, this time the player suffocated in a wall. Given how often the error happens, it actually may relatively somewhat be reproducible a bit. Updated logs: latest.log
.
[21:31:22] [Server thread/FATAL]: Error executing task on Server java.lang.NullPointerException: null at wc.b(SourceFile:208) ~[server.jar:?] at vv.a(SourceFile:897) ~[server.jar:?] at wh.a(SourceFile:475) ~[server.jar:?] at xb.a(SourceFile:835) ~[server.jar:?] at pl.a(SourceFile:122) ~[server.jar:?] at pl$b.a(SourceFile:18) ~[server.jar:?] at ld.a(SourceFile:21) ~[server.jar:?] at sj.run(SourceFile:18) ~[server.jar:?] at ahq.h(SourceFile:144) [server.jar:?] at ahu.h(SourceFile:23) [server.jar:?] at ahq.v(SourceFile:118) [server.jar:?] at net.minecraft.server.MinecraftServer.aX(SourceFile:713) [server.jar:?] at net.minecraft.server.MinecraftServer.v(SourceFile:707) [server.jar:?] at ahq.c(SourceFile:127) [server.jar:?] at net.minecraft.server.MinecraftServer.u(SourceFile:692) [server.jar:?] at net.minecraft.server.MinecraftServer.run(SourceFile:647) [server.jar:?] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
relates to
The bug
A log message with level FATAL was logged, possibly related to dying in The End. Might be the same as MC-157925 / MC-160359.
Game continued running, no visible error in-game.
Error executing task on Server java.lang.NullPointerException at ww.b(SourceFile:201) at wp.a(SourceFile:904) at xb.a(SourceFile:479) at xv.a(SourceFile:848) at qd.a(SourceFile:122) at qd$a.a(SourceFile:56) at lv.a(SourceFile:21) at lv$$Lambda$3253/675643744.run(Unknown Source) at tb.run(SourceFile:18) at ais.c(SourceFile:144) at aiw.c(SourceFile:23) at net.minecraft.server.MinecraftServer.b(SourceFile:743) at net.minecraft.server.MinecraftServer.c(SourceFile:138) at ais.w(SourceFile:118) at net.minecraft.server.MinecraftServer.ba(SourceFile:725) at net.minecraft.server.MinecraftServer.w(SourceFile:719) at ais.c(SourceFile:127) at net.minecraft.server.MinecraftServer.v(SourceFile:704) at net.minecraft.server.MinecraftServer.run(SourceFile:659) at java.lang.Thread.run(Thread.java:745)
Error executing task on Server java.lang.NullPointerException at net.minecraft.server.level.DistanceManager.getChunk(DistanceManager.java:201) at net.minecraft.server.level.DistanceManager.removePlayer(DistanceManager.java:201) at net.minecraft.server.level.ChunkMap.move(ChunkMap.java:904) at net.minecraft.server.level.ServerChunkCache.move(ServerChunkCache.java:479) at net.minecraft.server.network.ServerGamePacketListenerImpl.handleMovePlayer(ServerGamePacketListenerImpl.java:848) at net.minecraft.network.protocol.game.ServerboundMovePlayerPacket.handle(ServerboundMovePlayerPacket.java:122) at net.minecraft.network.protocol.game.ServerboundMovePlayerPacket$Pos.handle(ServerboundMovePlayerPacket.java:56) at net.minecraft.network.protocol.PacketUtils.ensureRunningOnSameThread(PacketUtils.java:21) at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:21) at lv$$Lambda$3253/675643744.run(Unknown Source) at net.minecraft.server.TickTask.run(TickTask.java:18) at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:144) at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:23) at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:743) at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:138) at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:118) at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:725) at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:719) at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:127) at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:704) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:659) at java.lang.Thread.run(Thread.java:745)
Confirmed in 1.16.2.
Is this still an issue in 1.16.4 or later?