mojira.dev
MC-122961

Killing players with a bow causes a crash

Title.
Steps to reproduce:
1. Get shot to death by a player (can be yourself)
2. Observe the crash

Linked issues

Comments 3

Confirmed.
Crash report:

---- Minecraft Crash Report ----
// Who set us up the TNT?

Time: 07/12/17 00:31
Description: Ticking entity

java.lang.NullPointerException: Ticking entity
	at tq.a(SourceFile:28)
	at tq.a(SourceFile:22)
	at tq.<init>(SourceFile:15)
	at ts.a(SourceFile:24)
	at ts$$Lambda$632/1135647917.apply(Unknown Source)
	at java.util.Map.computeIfAbsent(Map.java:957)
	at ts.a(SourceFile:24)
	at ts.b(SourceFile:41)
	at qt.a(SourceFile:455)
	at zl.a(SourceFile:848)
	at ahy.a(SourceFile:884)
	at qt.a(SourceFile:525)
	at aic.a(SourceFile:343)
	at aic.H_(SourceFile:264)
	at aiv.H_(SourceFile:98)
	at aqr.a(SourceFile:1569)
	at qr.a(SourceFile:705)
	at aqr.h(SourceFile:1545)
	at aqr.k(SourceFile:1427)
	at qr.k(SourceFile:538)
	at net.minecraft.server.MinecraftServer.w(SourceFile:664)
	at net.minecraft.server.MinecraftServer.v(SourceFile:592)
	at clf.v(SourceFile:152)
	at net.minecraft.server.MinecraftServer.run(SourceFile:497)
	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 tq.a(SourceFile:28)
	at tq.a(SourceFile:22)
	at tq.<init>(SourceFile:15)
	at ts.a(SourceFile:24)
	at ts$$Lambda$632/1135647917.apply(Unknown Source)
	at java.util.Map.computeIfAbsent(Map.java:957)
	at ts.a(SourceFile:24)
	at ts.b(SourceFile:41)
	at qt.a(SourceFile:455)
	at zl.a(SourceFile:848)
	at ahy.a(SourceFile:884)
	at qt.a(SourceFile:525)
	at aic.a(SourceFile:343)
	at aic.H_(SourceFile:264)
	at aiv.H_(SourceFile:98)
	at aqr.a(SourceFile:1569)
	at qr.a(SourceFile:705)
	at aqr.h(SourceFile:1545)

-- Entity being ticked --
Details:
	Entity Type: minecraft:arrow (aiv)
	Entity ID: 6366
	Entity Name: Arrow
	Entity's Exact location: 19.94, 144.07, -16.81
	Entity's Block location: World: (19,144,-17), Chunk: (at 3,9,15 in 1,-2; contains blocks 16,0,-32 to 31,255,-17), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
	Entity's Momentum: 0.01, -2.04, 0.01
	Entity's Passengers: []
	Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
	at aqr.k(SourceFile:1427)
	at qr.k(SourceFile:538)

-- Affected level --
Details:
	Level name: 13 Snapshot Testing
	All players: 1 total; [qt['ScyllarusDactyl'/3885, l='13 Snapshot Testing', x=20.04, y=141.00, z=-16.55]]
	Chunk stats: ServerChunkCache: 625 Drop: 0
	Level seed: 2189418438096493685
	Level generator: ID 00 - default, ver 1. Features enabled: true
	Level generator options: 
	Level spawn location: World: (0,132,0), Chunk: (at 0,8,0 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: 427200 game time, 13000 day time
	Level dimension: 0
	Level storage version: 0x04ABD - Anvil
	Level weather: Rain time: 1 (now: false), thunder time: 1 (now: false)
	Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
Stacktrace:
	at net.minecraft.server.MinecraftServer.w(SourceFile:664)
	at net.minecraft.server.MinecraftServer.v(SourceFile:592)
	at clf.v(SourceFile:152)
	at net.minecraft.server.MinecraftServer.run(SourceFile:497)
	at java.lang.Thread.run(Thread.java:745)

-- System Details --
Details:
	Minecraft Version: 17w49a
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 1.8.0_25, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 325850448 bytes (310 MB) / 1282150400 bytes (1222 MB) up to 2040135680 bytes (1945 MB)
	JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx2G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn1G
	IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94
	Profiler Position: N/A (disabled)
	Player Count: 1 / 8; [qt['ScyllarusDactyl'/3885, l='13 Snapshot Testing', x=20.04, y=141.00, z=-16.55]]
	Type: Integrated Server (map_client.txt)
	Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.

The mentioned issue does not mention that getting killed by other players causes the crash as well.

Piyotato

(Unassigned)

Community Consensus

Minecraft 17w49a

Retrieved