The bug
I was playing on my server alone, once I got near a village the server crashed and from there every time I join the server it crashes. Can't understand what's the prob I was just swimming on my boat getting close to a village.
Crash report
1.14.3\: [^crash-2019-07-12_08.52.38-server.txt]
Description: Ticking entity
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at java.util.ArrayList.rangeCheck(Unknown Source)
at java.util.ArrayList.set(Unknown Source)
at byd.<init>(SourceFile:124)
at bye.a(SourceFile:40)
at bye.e(SourceFile:47)
at byf.c(SourceFile:106)
at byf.b(SourceFile:100)
at byf.d(SourceFile:76)
at aqk.a(SourceFile:69)
at aqk.a(SourceFile:65)
at java.util.stream.ReferencePipeline$7$1.accept(Unknown Source)
at java.util.stream.IntPipeline$4$1.accept(Unknown Source)
at java.util.stream.Streams$RangeIntSpliterator.forEachRemaining(Unknown Source)
at java.util.Spliterator$OfInt.forEachRemaining(Unknown Source)
at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source)
at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.util.stream.ReferencePipeline.forEach(Unknown Source)
at java.util.stream.ReferencePipeline$7$1.accept(Unknown Source)
at bgy$1.tryAdvance(SourceFile:164)
at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.util.stream.FindOps$FindOp.evaluateSequential(Unknown Source)
at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.util.stream.ReferencePipeline.findFirst(Unknown Source)
at aqk.b(SourceFile:103)
at ajt.a(SourceFile:109)
at ajv.b(SourceFile:49)
at ajj.b(SourceFile:263)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source)
at java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
at java.util.Iterator.forEachRemaining(Unknown Source)
at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Unknown Source)
at java.util.stream.ReferencePipeline$Head.forEach(Unknown Source)
at java.util.stream.ReferencePipeline$7$1.accept(Unknown Source)
at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
at java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
at java.util.HashMap$EntrySpliterator.forEachRemaining(Unknown Source)
at java.util.stream.ReferencePipeline$Head.forEach(Unknown Source)
at java.util.stream.ReferencePipeline$7$1.accept(Unknown Source)
at java.util.TreeMap$ValueSpliterator.forEachRemaining(Unknown Source)
at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source)
at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.util.stream.ReferencePipeline.forEach(Unknown Source)
at ajj.d(SourceFile:263)
at ajj.a(SourceFile:222)
at avo.L(SourceFile:255)
at aiv.dc(SourceFile:631)
at aiu.k(SourceFile:2266)
at aiv.k(SourceFile:487)
at aij.k(SourceFile:140)
at aiu.h(SourceFile:2111)
at aiv.h(SourceFile:294)
at avo.h(SourceFile:292)
at vi.a(SourceFile:580)
at bhm.a(SourceFile:676)
at vi.a(SourceFile:383)
at net.minecraft.server.MinecraftServer.b(SourceFile:824)
at ui.b(SourceFile:343)
at net.minecraft.server.MinecraftServer.a(SourceFile:763)
at net.minecraft.server.MinecraftServer.run(SourceFile:631)
at java.lang.Thread.run(Unknown Source)
Linked issues
is duplicated by 3
Attachments
Comments 8
Yes, see MC-158204 (same stack trace, minus obfuscation)
Yes, after digging into the report, indeed the problem is the corrupted villager. After I deleted the villager through NBTExplorer, the crashes stopped and I didn't have any more issues.
I can't add too much except that I'm pretty sure it was the Mason Villager and I interracted and traded with it before, contrary to the issue in this ticket. No clue what caused the corruption.
It would be great if someone who has this issue (and who still has the corrupted world or a backup of it) could attach the corrupted world file (zipped) to this ticket. If the file size is too large, you can upload it somewhere else and then link to it here.
Here is the compressed world in .tar.xz and .zip format, size is 1.5GB: https://www.dropbox.com/sh/kkmy8iccxyhzd54/AAAELd6Eps6YViP2vQ8gopr0a?dl=0
The context is: I had a small iron farm made pre-1.14. As the mechanic of iron golems spawning has changed in 1.14, the farm become useless. After playing for a few days I have dismantled the farm, freeing the villagers and they started wandering. Then the crashing started.
Every time the crash happens different Entity ID is involved. If you find that useful I can provide all crash reports.
Please check if that's still an issue for you in the latest 1.15.2 stable release or the latest 1.16 development snapshot.
Does this still occur on 1.14.4?