Mojira Archive
MC-176407

Null Pointer when villager enters certain portion of the world

I have had a very similar issue: when a villager is present in a certain area of the world, the game crashes.  This only occurs in a certain part of the world near 0, 0. (Partial borders best as I could find them are outlined with walls made of Sea Lanterns and Emeralds) Villagers spawned elsewhere (either via world generation or via spawn eggs) cause no problems, but whenever a villager is spawned or walks into this area, then the game crashes.  The usual message is:{{}}

The game crashed whilst ticking entity
Error: java.lang.IllegalArgumentException: Negative position

Although occasionally it just says 'ERROR: Game crashed'

I originally generated this world a year or so ago. The area that seems to break is a part of the chunks that were generated when I last played this world, but not all of the previously existing chunks cause a crash.

The crash contains the interior design for a villager trading hall. Since spawning zombies or zombie villagers in this area causes no problems, I assumed the bug had something to do with the path-finding of newly spawned villagers to their workstations. Spawning a villager elsewhere, even directly next to a workstation is not an issue.

Since the area seems to be (roughly) centered on a pillager outpost, I found and tested another outpost. Villagers can be spawned at this other outpost with no problems.

World available here: https://drive.google.com/open?id=1jeMZ5iu7vIDUPWGtcY_0SEhc1D1H7vzV. I can send example bug reports if needed.s

Best of luck, this is the weirdest bug I've ever seen.

Awaiting Response

Tomasz Fraczek

2020-03-27, 01:52 AM

2020-09-26, 08:05 AM

2020-09-26, 08:05 AM

0

0

Unconfirmed

(Unassigned)

20w13b

-