mojira.dev
MC-145756

Crash when villager looks for points of interest

When I poured lava on my villagers (with profession) in creative mode the game crashed. Trying to reload the saved game results in another crash.

My attempt to reproduce create a new customized world  with these presets: minecraft:bedrock,5*minecraft:iron_block;minecraft:plains;

create a 5x5x3 walled area toss in a few profession blocks lectern, fletching table, brewingstand, etc... bunch of villagers (+/- 6) throw in some lava ....

If needed i can supply the savegame(s).
 

19w11a\: [^crash-2019-03-13_20.57.17-server.txt]

---- Minecraft Crash Report ----
// Why is it breaking :(

Time: 13-3-19 20:57
Description: Ticking entity

java.lang.IllegalStateException: POI never registered at eu{x=-213, y=6, z=153}
	at aoz.c(SourceFile:93)
	at aox.b(SourceFile:80)
	at atz.a(SourceFile:481)
	at atz$$Lambda$2775/1191189764.accept(Unknown Source)
	at java.util.Optional.ifPresent(Optional.java:159)
	at atz.a(SourceFile:480)
	at atz.a(SourceFile:471)
	at aif.a(SourceFile:994)
	at ahw.g(SourceFile:947)
	at ahw.a(SourceFile:631)
	at aif.e(SourceFile:1901)
	at aif.k(SourceFile:2232)
	at aig.k(SourceFile:478)
	at ahu.k(SourceFile:141)
	at aif.h(SourceFile:2051)
	at aig.h(SourceFile:292)
	at vc.a(SourceFile:579)
	at vc$$Lambda$2589/1802468571.accept(Unknown Source)
	at bfy.a(SourceFile:668)
	at vc.a(SourceFile:382)
	at net.minecraft.server.MinecraftServer.b(SourceFile:814)
	at net.minecraft.server.MinecraftServer.a(SourceFile:753)
	at dwc.a(SourceFile:128)
	at net.minecraft.server.MinecraftServer.run(SourceFile:628)
	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 aoz.c(SourceFile:93)
	at aox.b(SourceFile:80)
	at atz.a(SourceFile:481)
	at atz$$Lambda$2775/1191189764.accept(Unknown Source)
	at java.util.Optional.ifPresent(Optional.java:159)
	at atz.a(SourceFile:480)
	at atz.a(SourceFile:471)
	at aif.a(SourceFile:994)
	at ahw.g(SourceFile:947)
	at ahw.a(SourceFile:631)
	at aif.e(SourceFile:1901)
	at aif.k(SourceFile:2232)
	at aig.k(SourceFile:478)
	at ahu.k(SourceFile:141)
	at aif.h(SourceFile:2051)
	at aig.h(SourceFile:292)
	at vc.a(SourceFile:579)
	at vc$$Lambda$2589/1802468571.accept(Unknown Source)

-- Entity being ticked --
Details:
	Entity Type: minecraft:villager (atz)
	Entity ID: 3
	Entity Name: Villager
	Entity's Exact location: -210.70, 7.00, 154.67
	Entity's Block location: World: (-211,6,154), Chunk: (at 13,0,10 in -14,9; contains blocks -224,0,144 to -209,255,159), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
	Entity's Momentum: -0.02, 0.13, -0.00
	Entity's Passengers: []
	Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
	at bfy.a(SourceFile:668)
	at vc.a(SourceFile:382)

-- Affected level --
Details:
	Level name: Test 19w11
	All players: 1 total; [vd['Squitoner'/102, l='Test 19w11', x=-212.96, y=6.00, z=153.36]]
	Chunk stats: ServerChunkCache: 2078
	Level seed: -7813767018293034815
	Level generator: ID 01 - flat, ver 0. Features enabled: false
	Level generator options: {biome:"minecraft:plains",layers:[{block:"minecraft:bedrock",height:1b},{block:"minecraft:iron_block",height:5b}],structures:{}}
	Level spawn location: World: (-216,5,152), Chunk: (at 8,0,8 in -14,9; contains blocks -224,0,144 to -209,255,159), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
	Level time: 48860 game time, 48860 day time
	Level dimension: 0
	Level storage version: 0x04ABD - Anvil
	Level weather: Rain time: 173626 (now: false), thunder time: 29373 (now: false)
	Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
Stacktrace:
	at net.minecraft.server.MinecraftServer.b(SourceFile:814)
	at net.minecraft.server.MinecraftServer.a(SourceFile:753)
	at dwc.a(SourceFile:128)
	at net.minecraft.server.MinecraftServer.run(SourceFile:628)
	at java.lang.Thread.run(Thread.java:745)

-- System Details --
Details:
	Minecraft Version: 19w11a
	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: 7209199936 bytes (6875 MB) / 8522825728 bytes (8128 MB) up to 12884901888 bytes (12288 MB)
	JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx12G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
	Player Count: 1 / 8; [vd['Squitoner'/102, l='Test 19w11', x=-212.96, y=6.00, z=153.36]]
	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

onnowhere

This can be reproduced by summoning a villager with an invalid point of interest.

/summon minecraft:villager ~ ~ ~ {Brain:{memories:{"minecraft:home":{pos:[I;1000,100,1000],dimension:"minecraft:overworld"}}}}

Edit: I wish jira would stop reformatting my commands

migrated

Destroying a work station occupied by a villager also crashes the game - this produces very long stack trace (19w11b)

[media]
migrated

Yes @unknown is true, but for me only if i destroy the workstation seconds after villager chose the jobb (and i reboot the map i have no work station on the ground), after that no problem to destroy and place the work station (is for me if i destroy it second after village chose that profession).

migrated

(Unassigned)

Community Consensus

(Unassigned)

Minecraft 19w11a

Retrieved