mojira.dev
MC-143404

NPE: Ticking entity with trader llamas, sheeps, wolves, horses, cats and chickens

A wandering trader spawned near me, I went over to him to check out the trades, but I didn't have any emeralds on me. So I went through the nether back to my home base to get emeralds, and when I came back, the game crashed a few seconds after coming out of the nether portal. I tried to load the world again and it crashed again. It seems I cannot play anymore.

19w05a\: [^crash-2019-01-30_20.16.41-server.txt]

---- Minecraft Crash Report ----
// Surprise! Haha. Well, this is awkward.

Time: 1/30/19 8:16 PM
Description: Ticking entity

java.lang.NullPointerException: Ticking entity
	at aho.a(SourceFile:1008)
	at aho.dq(SourceFile:997)
	at ahu.dq(SourceFile:70)
	at aho.h(SourceFile:287)
	at ank.h(SourceFile:588)
	at ans.h(SourceFile:72)
	at bcq.a(SourceFile:963)
	at ur.a(SourceFile:365)
	at bcq.f(SourceFile:943)
	at bcq.k_(SourceFile:825)
	at ur.k_(SourceFile:281)
	at net.minecraft.server.MinecraftServer.b(SourceFile:865)
	at tt.b(SourceFile:342)
	at net.minecraft.server.MinecraftServer.a(SourceFile:796)
	at net.minecraft.server.MinecraftServer.run(SourceFile:664)
	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 aho.a(SourceFile:1008)
	at aho.dq(SourceFile:997)
	at ahu.dq(SourceFile:70)
	at aho.h(SourceFile:287)
	at ank.h(SourceFile:588)
	at ans.h(SourceFile:72)
	at bcq.a(SourceFile:963)
	at ur.a(SourceFile:365)
	at bcq.f(SourceFile:943)

-- Entity being ticked --
Details:
	Entity Type: minecraft:trader_llama (ans)
	Entity ID: 563
	Entity Name: Trader Llama
	Entity's Exact location: -712.49, 96.00, -308.50
	Entity's Block location: World: (-713,96,-309), Chunk: (at 7,6,11 in -45,-20; contains blocks -720,0,-320 to -705,255,-305), Region: (-2,-1; contains chunks -64,-32 to -33,-1, blocks -1024,0,-512 to -513,255,-1)
	Entity's Momentum: 0.00, -0.08, 0.00
	Entity's Passengers: []
	Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
	at bcq.k_(SourceFile:825)
	at ur.k_(SourceFile:281)

-- Affected level --
Details:
	Level name: world
	All players: 1 total; [ut['davidpyrzqxgl'/138, l='world', x=-863.98, y=69.00, z=-389.31]]
	Chunk stats: ServerChunkCache: 4054
	Level seed: 3315522725347464634
	Level generator: ID 00 - default, ver 1. Features enabled: true
	Level generator options: {}
	Level spawn location: World: (-131,63,-121), Chunk: (at 13,3,7 in -9,-8; contains blocks -144,0,-128 to -129,255,-113), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
	Level time: 6632340 game time, 8019596 day time
	Level dimension: 0
	Level storage version: 0x04ABD - Anvil
	Level weather: Rain time: 62991 (now: false), thunder time: 85431 (now: false)
	Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
Stacktrace:
	at net.minecraft.server.MinecraftServer.b(SourceFile:865)
	at tt.b(SourceFile:342)
	at net.minecraft.server.MinecraftServer.a(SourceFile:796)
	at net.minecraft.server.MinecraftServer.run(SourceFile:664)
	at java.lang.Thread.run(Thread.java:745)

-- System Details --
Details:
	Minecraft Version: 19w05a
	Operating System: Linux (amd64) version 3.16.0-6-amd64
	Java Version: 1.8.0_40, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 461679088 bytes (440 MB) / 1816133632 bytes (1732 MB) up to 5727322112 bytes (5462 MB)
	JVM Flags: 5 total; -XX:MaxGCPauseMillis=100 -XX:+PrintGC -Xmx6G -Xmn2G -XX:+UseLargePages
	Player Count: 1 / 20; [ut['davidpyrzqxgl'/138, l='world', x=-863.98, y=69.00, z=-389.31]]
	Data Packs: vanilla
	Is Modded: Unknown (can't tell)
	Type: Dedicated Server (map_server.txt)

Linked issues

MC-143656 Ticking entity − Entity's vehicle: NullPointerException Resolved MC-143659 Crash when leaving Nether. Resolved MC-143797 game crashes when "ticking entity"... again Resolved MC-143885 Trader llamas cause an entity ticking error Resolved MC-143957 java.lang.NullPointerException: Ticking entity Resolved

Attachments

Comments 44

We've seen the same thing here. The second attachment (20.16.41) is ours.

In our case, the clients were Windows and the server was Linux; server JVM is Oracle HotSpot, v1.8.0 u40.

In our case, the server crashed again after being restarted, as soon as a player joined the server, with essentially the same crash.

When trying again to load the world, it did not crash.

It seems that the crashing ceases with a second reload.

So:

  1. Exit nether → Crash.

  2. Reopen → Crash.

  3. Reopen → OK.

This exception is also happening with sheeps, but is not related to entering/leaving nether, as described in duplicated [MC-143656].

Both crashes, with trader llamas and my sheep, have implied using a leash on mobs.

34 more comments

I also have the same issue, in 19w08b:

 

---- Minecraft Crash Report -------- Minecraft Crash Report ----// Surprise! Haha. Well, this is awkward.
Time: 27.02.19 11:25Description: Ticking entity
java.lang.NullPointerException: Ticking entity at ahw.a(SourceFile:1049) at ahw.dD(SourceFile:1038) at aic.dD(SourceFile:35) at ahw.h(SourceFile:289) at anw.h(SourceFile:573) at aod.h(SourceFile:83) at uv.a(SourceFile:565) at uv$$Lambda$2462/368255940.accept(Unknown Source) at bdf.a(SourceFile:683) at uv.a(SourceFile:368) at net.minecraft.server.MinecraftServer.b(SourceFile:837) at net.minecraft.server.MinecraftServer.a(SourceFile:776) at dtd.a(SourceFile:128) at net.minecraft.server.MinecraftServer.run(SourceFile:634) 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 threadStacktrace: at ahw.a(SourceFile:1049) at ahw.dD(SourceFile:1038) at aic.dD(SourceFile:35) at ahw.h(SourceFile:289) at anw.h(SourceFile:573) at aod.h(SourceFile:83) at uv.a(SourceFile:565) at uv$$Lambda$2462/368255940.accept(Unknown Source)
-- Entity being ticked --Details: Entity Type: minecraft:trader_llama (aod) Entity ID: 112 Entity Name: Handelslama Entity's Exact location: -5481.15, 64.36, -7586.80 Entity's Block location: World: (-5482,64,-7587), Chunk: (at 6,4,13 in -343,-475; contains blocks -5488,0,-7600 to -5473,255,-7585), Region: (-11,-15; contains chunks -352,-480 to -321,-449, blocks -5632,0,-7680 to -5121,255,-7169) Entity's Momentum: 0.17, 0.28, -2.24 Entity's Passengers: [] Entity's Vehicle: ~~ERROR~~ NullPointerException: nullStacktrace: at bdf.a(SourceFile:683) at uv.a(SourceFile:368)
-- Affected level --Details: Level name: Ny Verden All players: 1 total; [uw['eirikh1996'/108, l='Ny Verden', x=-5485.50, y=68.10, z=-7568.50]] Chunk stats: ServerChunkCache: 2981 Level seed: -5128221254728419811 Level generator: ID 00 - default, ver 1. Features enabled: true Level generator options: {} Level spawn location: World: (-176,68,-16), Chunk: (at 0,4,0 in -11,-1; contains blocks -176,0,-16 to -161,255,-1), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1) Level time: 907518 game time, 935474 day time Level dimension: 0 Level storage version: 0x04ABD - Anvil Level weather: Rain time: 141776 (now: false), thunder time: 92970 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: trueStacktrace: at net.minecraft.server.MinecraftServer.b(SourceFile:837) at net.minecraft.server.MinecraftServer.a(SourceFile:776) at dtd.a(SourceFile:128) at net.minecraft.server.MinecraftServer.run(SourceFile:634) at java.lang.Thread.run(Thread.java:745)
-- System Details --Details: Minecraft Version: 19w08b 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: 1411285088 bytes (1345 MB) / 3087007744 bytes (2944 MB) up to 3221225472 bytes (3072 MB) JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx3G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M Player Count: 1 / 8; [uw['eirikh1996'/108, l='Ny Verden', x=-5485.50, y=68.10, z=-7568.50]] Data Packs: vanilla Type: Integrated Server (map_client.txt) Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.

Unfortunately @Kalbe it didn't work for me as the ticking entity was within range

Resolved. Awesome. Hopefully next snapshot.

 

Josiah Abram Guthrie

Not resolved. Happened in 19w12a. Won't let me play.

 


Minecraft Crash Report -------- Minecraft Crash Report ----// Oh - I know what I did wrong!
Time: 3/20/19 12:34 PMDescription: Ticking block entity
java.lang.NullPointerException: Ticking block entity at ev.<init>(SourceFile:52) at bso.i(SourceFile:194) at bso.g(SourceFile:104) at bgf.K(SourceFile:620) at vd.a(SourceFile:401) at net.minecraft.server.MinecraftServer.b(SourceFile:816) at net.minecraft.server.MinecraftServer.a(SourceFile:755) at dwc.a(SourceFile:128) at net.minecraft.server.MinecraftServer.run(SourceFile:630) 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 threadStacktrace: at ev.<init>(SourceFile:52) at bso.i(SourceFile:194) at bso.g(SourceFile:104)
– Block entity being ticked --Details: Name: minecraft:conduit // bso Block: Block{minecraft:conduit}[waterlogged=true] Block location: World: (60,69,-200), Chunk: (at 12,4,8 in 3,-13; contains blocks 48,0,-208 to 63,255,-193), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1) Block: Block{minecraft:conduit}[waterlogged=true] Block location: World: (60,69,-200), Chunk: (at 12,4,8 in 3,-13; contains blocks 48,0,-208 to 63,255,-193), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)Stacktrace: at bgf.K(SourceFile:620) at vd.a(SourceFile:401)
– Affected level --Details: Level name: DanTDM's New Lab All players: 0 total; [] Chunk stats: ServerChunkCache: 2025 Level seed: -4794258602603451750 Level generator: ID 01 - flat, ver 0. Features enabled: false Level generator options: {biome:"minecraft:plains",layers:[{block:"minecraft:bedrock",height:1},{block:"minecraft:stone",height:59},{block:"minecraft:dirt",height:3},{block:"minecraft:grass_block",height:1}],structures:{biome_8:{},village:{}}} Level spawn location: World: (83,4,-117), Chunk: (at 3,0,11 in 5,-8; contains blocks 80,0,-128 to 95,255,-113), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1) Level time: 13284120 game time, 2030454 day time Level dimension: 0 Level storage version: 0x04ABD - Anvil Level weather: Rain time: 1 (now: false), thunder time: 1 (now: false) Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: trueStacktrace: at net.minecraft.server.MinecraftServer.b(SourceFile:816) at net.minecraft.server.MinecraftServer.a(SourceFile:755) at dwc.a(SourceFile:128) at net.minecraft.server.MinecraftServer.run(SourceFile:630) at java.lang.Thread.run(Thread.java:745)
– System Details --Details: Minecraft Version: 19w12a 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: 1414646656 bytes (1349 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: 0 / 8; [] Data Packs: vanilla Type: Integrated Server (map_client.txt) Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.

@unknown, that crash is a different issue. The stack trace is not the same as this one and the entity being tick in your issue is minecraft:conduit at 60 69 -200.

Edit: Someone just made a bug report on it, see MC-146246.

Christopher Martin

This issue (or something related) seems to be back with 1.14.1-pre1.

 

1.14.1-pre1 appears to try and expire llamas. I visited a chunk created in 1.14 with a villager trader and some trader llamas. The server immediately crashes with:

– Entity being ticked –
Details:
Entity Type: minecraft:villager (avl)
Entity ID: 14986
Entity Name: Villager
Entity's Exact location: 346.41, 64.00, 1347.98
Entity's Block location: World: (346,64,1347), Chunk: (at 10,4,3 in 21,84; contains blocks 336,0,1344 to 351,255,1359), Region: (0,2; contains chunks 0,64 to 31,95, blocks 0,0,1024 to 511,255,1535)
Entity's Momentum: 0.00, -0.08, 0.00
Entity's Passengers: []
Entity's Vehicle: ~ERROR~ NullPointerException: null
Stacktrace:
at bhi.a(SourceFile:676)
at vg.a(SourceFile:383)

 

I have attached a full copy of crash-2019-05-08_10.07.13-server

 

[media]

Hawk J

(Unassigned)

Community Consensus

Minecraft 19w05a, Minecraft 19w06a, Minecraft 19w07a, Minecraft 19w08a, Minecraft 19w08b

Minecraft 19w09a

Retrieved