mojira.dev
MC-138699

Fatal game crash - Polar Bear vehicle NPE

Fatal game crash after spawning many mobs, including bears. Can send world save if needed.

.minecraft/crash-reports/crash-2018-11-01_22.31.06-server: pastebin crash-report
.minecraft/logs/latest: pastebin latest log

---- Minecraft Crash Report ----
// Sorry :(

Time: 01.11.18 22:31
Description: Ticking entity

java.lang.NullPointerException: Ticking entity
	at ajr.g(SourceFile:81)
	at alj$c.c(SourceFile:231)
	at aia.a(SourceFile:102)
	at agf.cQ(SourceFile:603)
	at age.k(SourceFile:2026)
	at agf.k(SourceFile:472)
	at afs.k(SourceFile:134)
	at akw.k(SourceFile:46)
	at age.S_(SourceFile:1877)
	at agf.S_(SourceFile:285)
	at alj.S_(SourceFile:155)
	at azt.a(SourceFile:1164)
	at ua.a(SourceFile:380)
	at azt.g(SourceFile:1144)
	at azt.n_(SourceFile:1026)
	at ua.n_(SourceFile:296)
	at net.minecraft.server.MinecraftServer.b(SourceFile:756)
	at net.minecraft.server.MinecraftServer.a(SourceFile:685)
	at dlv.a(SourceFile:128)
	at net.minecraft.server.MinecraftServer.run(SourceFile:573)
	at java.lang.Thread.run(Thread.java:745)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Server thread
Stacktrace:
	at ajr.g(SourceFile:81)
	at alj$c.c(SourceFile:231)
	at aia.a(SourceFile:102)
	at agf.cQ(SourceFile:603)
	at age.k(SourceFile:2026)
	at agf.k(SourceFile:472)
	at afs.k(SourceFile:134)
	at akw.k(SourceFile:46)
	at age.S_(SourceFile:1877)
	at agf.S_(SourceFile:285)
	at alj.S_(SourceFile:155)
	at azt.a(SourceFile:1164)
	at ua.a(SourceFile:380)
	at azt.g(SourceFile:1144)

-- Entity being ticked --
Details:
	Entity Type: minecraft:polar_bear (alj)
	Entity ID: 312
	Entity Name: Polar Bear
	Entity's Exact location: 143.53, 80.79, 376.25
	Entity's Block location: World: (143,80,376), Chunk: (at 15,5,8 in 8,23; contains blocks 128,0,368 to 143,255,383), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
	Entity's Momentum: 0.19, -0.20, 0.32
	Entity's Passengers: []
	Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
	at azt.n_(SourceFile:1026)
	at ua.n_(SourceFile:296)

-- Affected level --
Details:
	Level name: New World
	All players: 1 total; [uc['Amadeone'/210, l='New World', x=141.50, y=82.87, z=375.37]]
	Chunk stats: ServerChunkCache: 7225
	Level seed: 2347794480153192892
	Level generator: ID 00 - default, ver 1. Features enabled: true
	Level generator options: {}
	Level spawn location: World: (224,79,65), Chunk: (at 0,4,1 in 14,4; contains blocks 224,0,64 to 239,255,79), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
	Level time: 8583 game time, 8583 day time
	Level dimension: 0
	Level storage version: 0x04ABD - Anvil
	Level weather: Rain time: 93942 (now: false), thunder time: 144895 (now: false)
	Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
Stacktrace:
	at net.minecraft.server.MinecraftServer.b(SourceFile:756)
	at net.minecraft.server.MinecraftServer.a(SourceFile:685)
	at dlv.a(SourceFile:128)
	at net.minecraft.server.MinecraftServer.run(SourceFile:573)
	at java.lang.Thread.run(Thread.java:745)

-- System Details --
Details:
	Minecraft Version: 18w44a
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 1.8.0_51, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 762063704 bytes (726 MB) / 2147483648 bytes (2048 MB) up to 2147483648 bytes (2048 MB)
	JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
	Player Count: 1 / 8; [uc['Amadeone'/210, l='New World', x=141.50, y=82.87, z=375.37]]
	Data Packs: vanilla
	Type: Integrated Server (map_client.txt)
	Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.

Linked issues

Attachments

Comments 7

Can also be caused by Pillagers when a raid is spawned, again preventing the world from loading.

---- Minecraft Crash Report ----
// Don't do that.

Time: 6/12/18, 8:35 PM
Description: Ticking entity

java.lang.NullPointerException: Ticking entity
	at aro.a(SourceFile:108)
	at arn.k(SourceFile:61)
	at agt.T_(SourceFile:1886)
	at agu.T_(SourceFile:285)
	at apj.T_(SourceFile:45)
	at bas.a(SourceFile:1165)
	at uk.a(SourceFile:395)
	at bas.g(SourceFile:1145)
	at bas.m_(SourceFile:1027)
	at uk.m_(SourceFile:311)
	at net.minecraft.server.MinecraftServer.b(SourceFile:787)
	at net.minecraft.server.MinecraftServer.a(SourceFile:716)
	at doq.a(SourceFile:128)
	at net.minecraft.server.MinecraftServer.run(SourceFile:582)
	at java.base/java.lang.Thread.run(Thread.java:834)

A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Server thread
Stacktrace:
	at aro.a(SourceFile:108)
	at arn.k(SourceFile:61)
	at agt.T_(SourceFile:1886)
	at agu.T_(SourceFile:285)
	at apj.T_(SourceFile:45)
	at bas.a(SourceFile:1165)
	at uk.a(SourceFile:395)
	at bas.g(SourceFile:1145)

-- Entity being ticked --
Details:
	Entity Type: minecraft:pillager (apn)
	Entity ID: 194
	Entity Name: Pillager
	Entity's Exact location: -340.51, 71.00, 1019.77
	Entity's Block location: World: (-341,71,1019), Chunk: (at 11,4,11 in -22,63; contains blocks -352,0,1008 to -337,255,1023), Region: (-1,1; contains chunks -32,32 to -1,63, blocks -512,0,512 to -1,255,1023)
	Entity's Momentum: 0.00, -0.08, -0.14
	Entity's Passengers: []
	Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
	at bas.m_(SourceFile:1027)
	at uk.m_(SourceFile:311)

-- Affected level --
Details:
	Level name: Snapshot
	All players: 1 total; [um['hemebond'/180, l='Snapshot', x=-351.65, y=70.00, z=1023.13]]
	Chunk stats: ServerChunkCache: 4050
	Level seed: -1129550582963982400
	Level generator: ID 00 - default, ver 1. Features enabled: true
	Level generator options: {}
	Level spawn location: World: (240,70,-192), Chunk: (at 0,4,0 in 15,-12; contains blocks 240,0,-192 to 255,255,-177), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
	Level time: 5932600 game time, 3224771 day time
	Level dimension: 0
	Level storage version: 0x04ABD - Anvil
	Level weather: Rain time: 18160 (now: false), thunder time: 43631 (now: false)
	Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: true
Stacktrace:
	at net.minecraft.server.MinecraftServer.b(SourceFile:787)
	at net.minecraft.server.MinecraftServer.a(SourceFile:716)
	at doq.a(SourceFile:128)
	at net.minecraft.server.MinecraftServer.run(SourceFile:582)
	at java.base/java.lang.Thread.run(Thread.java:834)

-- System Details --
Details:
	Minecraft Version: 18w49a
	Operating System: Linux (amd64) version 4.18.0-2-amd64
	Java Version: 11.0.1, Oracle Corporation
	Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Oracle Corporation
	Memory: 721410960 bytes (687 MB) / 1375731712 bytes (1312 MB) up to 2147483648 bytes (2048 MB)
	JVM Flags: 7 total; -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
	Player Count: 1 / 8; [um['hemebond'/180, l='Snapshot', x=-351.65, y=70.00, z=1023.13]]
	Data Packs: vanilla
	Type: Integrated Server (map_client.txt)
	Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.

It doesn't seem to happen to me after i tested it. All i did though was spawn one with an egg and than summoned one with a command

Updated to 18w50a and my world is now loading, and the pillager raid is still there.

 

Update: Just crashed again with the same error during a raid. Was thankfully able to reload the world.

Not sure if this is related to here or not, but the new Trader Llama causes a NPE Ticking Entity server crash consistently.

[media]

Still happens as of 19w07a

Other entity's vehicle NPE crashes in MC-143404

Amadeone

migrated

Confirmed

crash, fatal, mob

Minecraft 18w44a, Minecraft 18w47b, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, ..., Minecraft 19w03c, Minecraft 19w04b, Minecraft 19w05a, Minecraft 19w06a, Minecraft 19w07a

Minecraft 19w11a

Retrieved