[MC-11605] Certain death message will print "null" as the player/mob name that caused the death Created: 12/Mar/13  Updated: 10/May/17  Resolved: 27/May/13

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.5, Minecraft 1.5.1
Fix Version/s: Snapshot 13w21b

Type: Bug
Reporter: [Mod] redstonehelper Assignee: [Mojang] Nathan Adams
Resolution: Fixed Votes: 3
Labels: death-message

Attachments: PNG File 2013-03-30_21.18.49.png    
Issue Links:
Duplicate
is duplicated by MC-16066 Death-message bug+Scoreboard bug Resolved
is duplicated by MC-16509 Crashes occur when using Enchanted/Na... Resolved
is duplicated by MC-23189 Named item bug Resolved
CHK:
Confirmation Status: Confirmed
Game Mode: Survival

 Description   

How to reproduce: Give yourself a renamed sword, use it to hit another player off a ledge so that he will die from fall damage. The death message will read "null" instead of your name. Alternatively, give a zombie/skeleton a renamed weapon and have it attack you, then jump off to certain death by fall damage. Again, the death message will read "null" instead of the mob's name:

player was doomed to fall by null using itemName

Note: This issue does not occur when the item is not named and therefore will not be printed out.



 Comments   
Comment by 08Juan80 [ 12/May/13 ]

I can confirm about the doom to fall by null using a renamed tool.

Comment by Anon Ymus [ 31/Mar/13 ]

I can confirm the one about the mob in 1.5.1.

Comment by Devix [ 29/Mar/13 ]

Definitely a vanilla bug: https://bukkit.atlassian.net/browse/BUKKIT-3920

Comment by Devix [ 29/Mar/13 ]

I can confirm this as well.

Comment by Tails [ 28/Mar/13 ]

Incomplete.

Comment by Kumasasa [ 23/Mar/13 ]

Please force a crash by pressing F3 + C for 10 seconds while ingame and attach the crash report here.

Comment by Cindy Kerns [ 23/Mar/13 ]

We just had this happen to us.
Here is a screenshot of the death message with null instead of the players name.
http://i.imgur.com/wwCDUy4.png

They were using a named sword.

Generated at Sun Jan 12 12:28:11 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.