mojira.dev
MC-151185

Game crash after breaking villager point of interest

The bug

So, I was playing in my own world in 1.14.1 pre-release 1 today. And i was testing some villager mechanics, and i placed a bed, but when i tried to break it the game immediately crashed. Please fix this bug.

Edit : I tried the bug again but it didn't crash this time even though i tried it a lot, at the same conditions.

Crash report

1.14.2-pre3\: [^crash-2019-05-22_18.41.54-server.txt]

Description: Exception ticking world

java.util.ConcurrentModificationException
	at java.util.HashMap$HashIterator.nextNode(HashMap.java:1437)
	at java.util.HashMap$KeyIterator.next(HashMap.java:1461)
	at vg.a(SourceFile:1031)
	at bhi.a(SourceFile:234)
	at bve.a(SourceFile:210)
	at bvk.a(SourceFile:238)
	at vg.a(SourceFile:1091)
	at vg.ae(SourceFile:1082)
	at vg.a(SourceFile:333)
	at net.minecraft.server.MinecraftServer.b(SourceFile:827)
	at ug.b(SourceFile:343)
	at net.minecraft.server.MinecraftServer.a(SourceFile:764)
	at net.minecraft.server.MinecraftServer.run(SourceFile:632)
	at java.lang.Thread.run(Thread.java:748)

Video

https://www.youtube.com/watch?v=KHZuZnHkzqw

Linked issues

Attachments

Comments 10

Please do not mark unreleased versions as affected.
You don't have access to them yet.

May you put the crash report on here? That would better help Mojang.

Thanks for the suggestion, I added it.

My 1.14.1 Pre-Release 2 server crashed for the same reason.

Report here: https://pastebin.com/QFrKRqAY

Added crash report from MC-151846 (1.14.1).

Minecraft 1.14.2 Pre-Release 1 still affected.
Reproduced issue by placing villager, placing barrel, and repeatedly breaking and replacing the barrel.
Report: https://pastebin.com/8DrefiDj

Can confirm on 1.14.2 Pre-Release 3. Here's the crash report: 

[media]

 

Upgraded world from 1.14.1 to 1.14.2 Pre-Release 3 via --forceUpgrade --eraseCache. Put the files back into hosting and turned the server on.

Was flying and teleporting around just to give it another pass and make sure everything was OK, then the crash happened.

PS: Sorry for double post. Had page-loading issues.

Can confirm on 1.14.2 Pre-Release 4

I can confirm that this bug does affect 1.14.2

How I do it: In creative mode spawn in a villager and set the time of day to 2000. Nearby, place a workstation without a gui such as a lectern. Get very close and target the side closest to you, then simply press and HOLD right then left mouse buttons to break and replace repeatedly.  Eventually the game will crash. 

Added: crash-2019-05-28_21.58.13-server.txt

Unlisted Video: https://youtu.be/M2QQ1SBwHGM

Yağız Aktaş

Fry

Community Consensus

Crash

Minecraft 1.14.1 Pre-Release 1, Minecraft 1.14.1, Minecraft 1.14.2 Pre-Release 1, Minecraft 1.14.2 Pre-Release 2, Minecraft 1.14.2 Pre-Release 3, Minecraft 1.14.2 Pre-Release 4, Minecraft 1.14.2

Minecraft 1.14.2 Pre-Release 1, Minecraft 1.14.3 Pre-Release 1

Retrieved