mojira.dev
MC-146783

Ticking entity crash (villager)

19w13a\: [^crash-2019-03-27_14.06.12-server.txt]

---- Minecraft Crash Report ----
// Surprise! Haha. Well, this is awkward.

Time: 27/03/19 2:06 PM
Description: Ticking entity

java.lang.NullPointerException: Ticking entity
	at auz.eg(SourceFile:553)
	at akb.c(SourceFile:84)
	at akb.d(SourceFile:24)
	at ajj.c(SourceFile:62)
	at ajq.b(SourceFile:66)
	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.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
	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 ajq.d(SourceFile:66)
	at ajj.c(SourceFile:62)
	at aix.a(SourceFile:285)
	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.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
	at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270)
	at java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1612)
	at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
	at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270)
	at java.util.TreeMap$ValueSpliterator.forEachRemaining(TreeMap.java:2893)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
	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 aix.e(SourceFile:285)
	at aix.a(SourceFile:233)
	at auz.K(SourceFile:254)
	at aij.cX(SourceFile:623)
	at aii.k(SourceFile:2206)
	at aij.k(SourceFile:479)
	at ahx.k(SourceFile:141)
	at aii.h(SourceFile:2051)
	at aij.h(SourceFile:293)
	at ve.a(SourceFile:581)
	at bgv.a(SourceFile:668)
	at ve.a(SourceFile:384)
	at net.minecraft.server.MinecraftServer.b(SourceFile:816)
	at net.minecraft.server.MinecraftServer.a(SourceFile:755)
	at dwo.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 auz.eg(SourceFile:553)
	at akb.c(SourceFile:84)
	at akb.d(SourceFile:24)
	at ajj.c(SourceFile:62)
	at ajq.b(SourceFile:66)
	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.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
	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 ajq.d(SourceFile:66)
	at ajj.c(SourceFile:62)
	at aix.a(SourceFile:285)
	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.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
	at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270)
	at java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1612)
	at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
	at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270)
	at java.util.TreeMap$ValueSpliterator.forEachRemaining(TreeMap.java:2893)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
	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 aix.e(SourceFile:285)
	at aix.a(SourceFile:233)
	at auz.K(SourceFile:254)
	at aij.cX(SourceFile:623)
	at aii.k(SourceFile:2206)
	at aij.k(SourceFile:479)
	at ahx.k(SourceFile:141)
	at aii.h(SourceFile:2051)
	at aij.h(SourceFile:293)
	at ve.a(SourceFile:581)

-- Entity being ticked --
Details:
	Entity Type: minecraft:villager (auz)
	Entity ID: 2538
	Entity Name: Villager
	Entity's Exact location: 212.70, 65.00, 243.51
	Entity's Block location: World: (212,65,243), Chunk: (at 4,4,3 in 13,15; contains blocks 208,0,240 to 223,255,255), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
	Entity's Momentum: 0.00, -0.08, 0.00
	Entity's Passengers: []
	Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
	at bgv.a(SourceFile:668)
	at ve.a(SourceFile:384)

-- Affected level --
Details:
	Level name: 19w13a
	All players: 1 total; [vf['GerrardWinstanly'/1590, l='19w13a', x=230.78, y=68.00, z=211.93]]
	Chunk stats: ServerChunkCache: 3942
	Level seed: -4193140649480058030
	Level generator: ID 00 - default, ver 1. Features enabled: true
	Level generator options: {}
	Level spawn location: World: (112,79,17), Chunk: (at 0,4,1 in 7,1; contains blocks 112,0,16 to 127,255,31), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
	Level time: 2282806 game time, 4224844 day time
	Level dimension: 0
	Level storage version: 0x04ABD - Anvil
	Level weather: Rain time: 179097 (now: false), thunder time: 113921 (now: false)
	Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
Stacktrace:
	at net.minecraft.server.MinecraftServer.b(SourceFile:816)
	at net.minecraft.server.MinecraftServer.a(SourceFile:755)
	at dwo.a(SourceFile:128)
	at net.minecraft.server.MinecraftServer.run(SourceFile:630)
	at java.lang.Thread.run(Thread.java:745)

-- System Details --
Details:
	Minecraft Version: 19w13a
	Operating System: Mac OS X (x86_64) version 10.14.4
	Java Version: 1.8.0_74, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 879025536 bytes (838 MB) / 1744830464 bytes (1664 MB) up to 2147483648 bytes (2048 MB)
	JVM Flags: 8 total; -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
	Player Count: 1 / 8; [vf['GerrardWinstanly'/1590, l='19w13a', x=230.78, y=68.00, z=211.93]]
	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 9

please give more details about the crash like what you were doing

I've filled MC-146817 but I'll describe here what I was doing.

First time it happened I was breaking oak wood slabs from bellow with an enchanted diamond axe. I repeated this several times.

I then joined the game and did some other stuff. It all worked. I've broken more oak slabs but more slowly and it worked.

I felt confident, I started to break spruce logs quite fast and it happened again. It might be related to the speed of breaking, or the fact that I broke several things without releasing the action button (my 2 ct)

Thomas DiStefano

I can confirm as well. This is a world ported over to different snapshots since 19w07a, upon breeding (/tp to the villager reveals hearts and leftover bread on the ground, thrown by a separate villager). I can remain in the save for about 10 seconds from load finish to crash. Same entity description (NULL vehicle), except on Arch Linux 5.0.2-zen1-1-zen, Oracle JRE 1.8.0_202.

Can confirm this in 19w13a! I was in a village and before each crash I see villagers breeding. After some more crashes in my world was night. I was able to play all night without a crash! In the morning, when the villagers woke up, the game crashed again with "java.lang.NullPointerException: Ticking entity". Another hint for breeding? Switching back to snapshot 19w12b everything is fine and no more crashes with villagers.

Btw: My world is a old 1.13.2 that I upgrade at 19w05a and all following snapshots installed on different PCs with Windows 7 and 10. In the village I set beds, workplaces and a bell.

It's resolved?  

My Villagers just start breeding.. GAME CRASHED (like the log you see at the top)

tried it several times but still crash while they want start breeding

Fix Version/s:
Future Version - 1.14+

This bug will be fixed in the next snapshot.

This bug has returned in 1.14 Pre-Release 1.

– Entity being ticked –

Details: Entity Type: minecraft:villager (ave)

Entity ID: 1717

Entity Name: Villager

Entity's Exact location: 224.30, 69.00, 248.30

Entity's Block location: World: (224,69,248), Chunk: (at 0,4,8 in 14,15; contains blocks 224,0,240 to 239,255,255), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)

Entity's Momentum: 0.00, -0.08, 0.00

Entity's Passengers: []

Entity's Vehicle: ~ERROR~ NullPointerException: null

Stacktrace: at bha.a(SourceFile:669)

at vf.a(SourceFile:384)

Yes, it seems to be in 1.14 Pre-Release 1 back... Yesterday evening by testing on a old Core i5 (1st gen) computer with Windows 10 64bit and had no crashes. Now on a Core i7 (6th gen) with Windows 7 (64bit) it crashes immediately. According to the coordinates, the villager is a bit outside the village and 17 meters above the ground.

[media]

Your issue is MC-147754.

LukiK856

boq

Community Consensus

Minecraft 19w13a

Minecraft 19w13b

Retrieved