mojira.dev
MC-146401

"Ticking entity" crash with multiple raids

By using commands to give myself Bad Omen, I summoned multiple simultaneous raids at a small player-built village. The raids proceeded for a while with iron golems fighting the illagers, but the game crashed. I did the same thing on a superflat world with an even smaller village, and the same thing happened.

19w12b\: [^crash-2019-03-21_20.22.09-server.txt]

---- Minecraft Crash Report ----
// Ouch. That hurt :(

Time: 3/21/19 8:22 PM
Description: Ticking entity

java.lang.NullPointerException: Ticking entity
	at awb$b.e(SourceFile:267)
	at ann.e(SourceFile:55)
	at alz$$Lambda$2877/1012588104.accept(Unknown Source)
	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
	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 alz.a(SourceFile:80)
	at aii.cX(SourceFile:615)
	at aih.k(SourceFile:2206)
	at aii.k(SourceFile:479)
	at atj.k(SourceFile:38)
	at awb.k(SourceFile:77)
	at aih.h(SourceFile:2051)
	at aii.h(SourceFile:293)
	at atj.h(SourceFile:50)
	at vd.a(SourceFile:581)
	at vd$$Lambda$2694/718614230.accept(Unknown Source)
	at bgf.a(SourceFile:668)
	at vd.a(SourceFile:384)
	at net.minecraft.server.MinecraftServer.b(SourceFile:816)
	at net.minecraft.server.MinecraftServer.a(SourceFile:755)
	at dwc.a(SourceFile:128)
	at net.minecraft.server.MinecraftServer.run(SourceFile:630)
	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 awb$b.e(SourceFile:267)
	at ann.e(SourceFile:55)
	at alz$$Lambda$2877/1012588104.accept(Unknown Source)
	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
	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 alz.a(SourceFile:80)
	at aii.cX(SourceFile:615)
	at aih.k(SourceFile:2206)
	at aii.k(SourceFile:479)
	at atj.k(SourceFile:38)
	at awb.k(SourceFile:77)
	at aih.h(SourceFile:2051)
	at aii.h(SourceFile:293)
	at atj.h(SourceFile:50)
	at vd.a(SourceFile:581)
	at vd$$Lambda$2694/718614230.accept(Unknown Source)

-- Entity being ticked --
Details:
	Entity Type: minecraft:pillager (atn)
	Entity ID: 12127
	Entity Name: Pillager
	Entity's Exact location: -230.50, 67.00, -410.50
	Entity's Block location: World: (-231,67,-411), Chunk: (at 9,4,5 in -15,-26; contains blocks -240,0,-416 to -225,255,-401), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
	Entity's Momentum: 0.00, -0.08, 0.00
	Entity's Passengers: []
	Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
	at bgf.a(SourceFile:668)
	at vd.a(SourceFile:384)

-- Affected level --
Details:
	Level name: Le savannah
	All players: 1 total; [ve['LegoRenovate'/213, l='Le savannah', x=-210.32, y=70.68, z=-386.29]]
	Chunk stats: ServerChunkCache: 4000
	Level seed: -7143349062234441637
	Level generator: ID 05 - buffet, ver 0. Features enabled: true
	Level generator options: {biome_source:{options:{biomes:["minecraft:savanna"]},type:"minecraft:fixed"},chunk_generator:{options:{default_fluid:"minecraft:water",default_block:"minecraft:stone"},type:"minecraft:surface"}}
	Level spawn location: World: (2,63,14), Chunk: (at 2,3,14 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
	Level time: 18365 game time, 4730 day time
	Level dimension: 0
	Level storage version: 0x04ABD - Anvil
	Level weather: Rain time: 83418 (now: false), thunder time: 114578 (now: false)
	Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
Stacktrace:
	at net.minecraft.server.MinecraftServer.b(SourceFile:816)
	at net.minecraft.server.MinecraftServer.a(SourceFile:755)
	at dwc.a(SourceFile:128)
	at net.minecraft.server.MinecraftServer.run(SourceFile:630)
	at java.lang.Thread.run(Thread.java:745)

-- System Details --
Details:
	Minecraft Version: 19w12b
	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: 1280175240 bytes (1220 MB) / 2147483648 bytes (2048 MB) up to 2147483648 bytes (2048 MB)
	JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
	Player Count: 1 / 8; [ve['LegoRenovate'/213, l='Le savannah', x=-210.32, y=70.68, z=-386.29]]
	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 3

JuniorJedi256

Playing the world again and finishing the existing raids generated no further crashes.

wobst.michael

Is that still an issue in the latest 1.14 development snapshot?

JuniorJedi256

I've finished about ten raids in a world with a number of Illager spawners, with no issues (except MC-147181). Note that my original way of reproducing this crash is no longer possible because MC-146667 is fixed.

JuniorJedi256

(Unassigned)

Unconfirmed

Crash

Minecraft 19w12b

Retrieved