Mojira Archive
MC-102207

Crash when using fishing rod in same tick as @e command with type= or name=

The bug

Modifying the NBT data of a fishing hook / bobber causes Minecraft to crash.

java.lang.NullPointerException: Executing command block

How to reproduce

  1. Place an activated repeating command block with the following command
    /entitydata @e[type=!Player] {CustomName:"Test",CustomNameVisible:1b}
    
  2. Use a fishing rod
    → Minecraft (server) crashes

Fixed

Marcono1234

[Mojang] Searge (Michael Stoyke)

2016-05-19, 05:07 PM

2020-08-25, 01:23 AM

2016-06-01, 05:18 PM

16

11

Community Consensus

NBT, NullPointerException, command, fishing_bobber, fishing_rod

Minecraft 16w20a, Minecraft 16w21a, Minecraft 16w21b

Minecraft 1.10 Pre-Release 1