mojira.dev
MC-147754

Crash while opening world / while ticking entity: "IllegalStateException: POI data mismatch: already registered at ev{x=##, y=##, z=##}"

Was going to test some bugs today, but the world crashed when trying to open it, twice. Both crash reports attached, I can also attach the world file if desired.

Not sure if this ticket should be private or not.

1.14 Pre-release 1\: [^crash-2019-04-10_16.09.26-server.txt]

java.lang.IllegalStateException: POI data mismatch: already registered at ev{x=-1, y=31, z=47}
	at aqc.a(SourceFile:72)
	at aqc.a(SourceFile:43)
	at aqc$$Lambda$2583/1281199057.accept(Unknown Source)
	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
	at java.util.Iterator.forEachRemaining(Iterator.java:116)
	at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)
	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
	at aqc.<init>(SourceFile:43)
	at aqa$$Lambda$2444/1399778887.apply(Unknown Source)
	at bxt.a(SourceFile:123)
	at bxt$$Lambda$2578/72956740.apply(Unknown Source)
	at java.util.Optional.map(Optional.java:215)
	at bxt.a(SourceFile:122)
	at bxt.a(SourceFile:102)
	at bxt.d(SourceFile:76)
	at aqa.a(SourceFile:69)
	at aqa.a(SourceFile:65)
	at aqa$$Lambda$2806/45311108.apply(Unknown Source)
	at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:267)
	at java.util.stream.IntPipeline$4$1.accept(IntPipeline.java:250)
	at java.util.stream.Streams$RangeIntSpliterator.forEachRemaining(Streams.java:110)
	at java.util.Spliterator$OfInt.forEachRemaining(Spliterator.java:693)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)
	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
	at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270)
	at bgn$1.tryAdvance(SourceFile:164)
	at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
	at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:529)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:516)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)
	at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
	at aqa.b(SourceFile:85)
	at apj.b(SourceFile:49)
	at apj.a(SourceFile:34)
	at apj.a(SourceFile:19)
	at apo.b(SourceFile:31)
	at ajb.a(SourceFile:249)
	at ajb$$Lambda$2783/813156550.accept(Unknown Source)
	at java.util.LinkedHashMap$LinkedValues.forEach(LinkedHashMap.java:600)
	at ajb.c(SourceFile:249)
	at ajb.a(SourceFile:221)
	at ave.K(SourceFile:255)
	at ain.cZ(SourceFile:623)
	at aim.k(SourceFile:2257)
	at ain.k(SourceFile:479)
	at aib.k(SourceFile:140)
	at aim.h(SourceFile:2102)
	at ain.h(SourceFile:293)
	at ave.h(SourceFile:293)
	at vf.a(SourceFile:581)
	at vf$$Lambda$2749/1657880339.accept(Unknown Source)
	at bha.a(SourceFile:669)
	at vf.a(SourceFile:384)
	at net.minecraft.server.MinecraftServer.b(SourceFile:817)
	at net.minecraft.server.MinecraftServer.a(SourceFile:754)
	at dwy.a(SourceFile:128)
	at net.minecraft.server.MinecraftServer.run(SourceFile:629)
	at java.lang.Thread.run(Thread.java:745)

Linked issues

MC-147763 The game crashed whilst ticking entity Resolved MC-147768 Converting world to 1.14 pre release 1 regenerates some chunks Resolved MC-147782 crash report Resolved MC-147783 Updating from snapshot 19w14b to 1.14 Pre-Release 1 corrupts certain villagers. Resolved MC-147802 "ticking entity" villager Resolved

Attachments

Comments 37

Destroying all workplaces and killing all villagers in the world loaded in a previous snapshot seemed to resolve this issue, although some chunks appeared to have been deleted.

Same "point of interest" crash, this happens after optimizing world for the pre-release and clearing all caches.

ETA: Also happens if the world is NOT optimized.

Just happened to me too.  Stupid Snapshot!

Just had a ton of chunks regenerate on me in the 1.14 Pre-Release. World is totally fine on 19w14b but as soon as I update it regenerates the chunks.

Also had the POI error when loading certain chunks, would crash the server.

Crash will may occur for chunks that contain POIs (villager workplaces, beds, etc) that were created:

  • in version before introduction of new villages (very probable)

  • in this pre-release (large view range on freshly generated world increases probability)

We will try to re-create broken data, but villager assignments may be lost.

27 more comments
Claudio Dionisi

Confirmed for Pre Release 1

I also had the same problem opening a world created in previous snapshot versions. It usually opens the 1st time in Pre 1, but the second time the crash occurs. It seems that the crash is always related to the villager entity in certain chunks created in previous versions of snapshots. If you drop a villager with an egg in the creative mode in these chunks, the crash also occurs instantly. As in the logs posted here, the villager entity is always referred in these errors.

  • Entity being ticked -
    Details:
    Entity Type: minecraft: villager (bird)
    Entity ID: 222
    Entity Name: Dorfbewohner
    Entity's Exact location: -756.53, 66.00, -852.33
    Entity's Block location: World: (-757,66, -853), Chunk: (at 11.4,11 in -48, -54; contains blocks -768,0, -864 to -753,255, -849), Region : (-2.2, contains chunks -64, -64 to -33, -33, blocks -1024.0, -1024 to -513.255, -513)

By deleting the villager entity mentioned in the logs with nbtexplorer it is possible to enter the world without the crash, but some chunks are lost.

Unfortunately the issue is not fixed in pre2.

[14:37:27] [Server thread/INFO]: Starting minecraft server version 1.14 Pre-Release 2
[]
[14:37:36] [Server thread/ERROR]: Failed to load POI chunk
java.lang.IllegalStateException: POI data mismatch: already registered at ev{x=15, y=79, z=-1}
        at aqc.a(SourceFile:81) ~[server.jar:?]
        at aqc.a(SourceFile:44) ~[server.jar:?]
        

Edit: although, the aforesaid chunks are not being overwritten this time.

Edit: error message only appeared on first startup. Second try, no error.

Working as intended, corrupted data needs to be regenerated, but that does not destroy whole chunk.

OK, Mr. Bok, I'll try it, but I'm holding you responsible if Skelly, Bones, Ice Runner, Zenith, Rusty, Bedrock, Leonard, Otis, Lars, Jellie, Jeb_, Toast, Rueben, Drumstick's cousin Drumstick, Chocolate, Gabe, Goldie, or any of my other pet are harmed by this!!

[media]

!

[media]

If you test anything other than release without backups, it's your own fault.

muzikbike

boq

Community Consensus

Minecraft 1.14 Pre-Release 1

Minecraft 1.14 Pre-Release 2

Retrieved