mojira.dev
MC-63973

Multiplayer: giving yourself a Player-Skull crashes the Game

When you give yourself a player skull on a server, the game crashes and shows up the attached crash report.

(Don't wonder about the Date/Time of the crash report...)

Description: Rendering entity in world

java.lang.NullPointerException: Rendering entity in world
	at bci.b(SourceFile:96)
	at chp.a(SourceFile:42)
	at cop.a(SourceFile:98)
	at com.a(SourceFile:119)
	at com.a(SourceFile:17)
	at coa.a(SourceFile:288)
	at coa.a(SourceFile:253)
	at coa.a(SourceFile:220)
	at ciy.a(SourceFile:586)
	at cht.a(SourceFile:1211)
	at cht.a(SourceFile:1117)
	at cht.b(SourceFile:970)
	at brp.ar(SourceFile:896)
	at brp.a(SourceFile:311)
	at net.minecraft.client.main.Main.main(SourceFile:120)
Description: Rendering entity in world

java.lang.NullPointerException: Rendering entity in world
	at bci.b(SourceFile:96)
	at chp.a(SourceFile:42)
	at cop.a(SourceFile:98)
	at com.a(SourceFile:119)
	at com.a(SourceFile:17)
	at coa.a(SourceFile:288)
	at coa.a(SourceFile:253)
	at coa.a(SourceFile:220)
	at ciy.a(SourceFile:586)
	at cht.a(SourceFile:1211)
	at cht.a(SourceFile:1117)
	at cht.b(SourceFile:970)
	at brp.ar(SourceFile:896)
	at brp.a(SourceFile:311)
	at net.minecraft.client.main.Main.main(SourceFile:120)

Attachments

Comments 14

Please provide exact steps to reproduce (e.g. commands used)

steps:
starting server,
joining server,
typing following command:

/give Zuzu_Typ skull 1 3 {SkullOwner:Zuzu_Typ}
/give Zuzu_Typ skull 1 3 {SkullOwner:Zuzu_Typ}

crash.

steps:
starting server,
joining server,
typing following command:

/give Zuzu_Typ skull 1 3 {SkullOwner:Zuzu_Typ}
/give Zuzu_Typ skull 1 3 {SkullOwner:Zuzu_Typ}

crash.

4 more comments

in server, did not crash, but got a lag spike for ~1 second

Could reproduce that only once. Restarting the client (but not the server) gave no crash.

Client console (first try)

[16:25:49 INFO]: Client> [16:25:49] [Client thread/INFO]: Connecting to localhost, 25566
[16:26:39 INFO]: Client> [16:26:39] [Client thread/INFO]: [CHAT] Given [Zuzu_Typ's Head] * 1 to Kumasasa
[16:26:41 INFO]: Client> [16:26:41] [Client thread/FATAL]: Reported exception thrown!
[16:26:41 INFO]: Client> u: Rendering entity in world
[16:26:41 INFO]: Client> 	at coa.a(SourceFile:322) ~[14w30c.jar:?]
[16:26:41 INFO]: Client> 	at coa.a(SourceFile:253) ~[14w30c.jar:?]
[16:26:41 INFO]: Client> 	at coa.a(SourceFile:220) ~[14w30c.jar:?]
[16:26:41 INFO]: Client> 	at ciy.a(SourceFile:586) ~[14w30c.jar:?]
[16:26:41 INFO]: Client> 	at cht.a(SourceFile:1211) ~[14w30c.jar:?]
[16:26:41 INFO]: Client> 	at cht.a(SourceFile:1117) ~[14w30c.jar:?]
[16:26:41 INFO]: Client> 	at cht.b(SourceFile:970) ~[14w30c.jar:?]
[16:26:41 INFO]: Client> 	at brp.ar(SourceFile:896) ~[14w30c.jar:?]
[16:26:41 INFO]: Client> 	at brp.a(SourceFile:311) [14w30c.jar:?]
[16:26:41 INFO]: Client> 	at net.minecraft.client.main.Main.main(SourceFile:120) [14w30c.jar:?]
[16:26:41 INFO]: Client> Caused by: java.lang.NullPointerException
[16:26:41 INFO]: Client> 	at bci.b(SourceFile:96) ~[14w30c.jar:?]
[16:26:41 INFO]: Client> 	at chp.a(SourceFile:42) ~[14w30c.jar:?]
[16:26:41 INFO]: Client> 	at cop.a(SourceFile:98) ~[14w30c.jar:?]
[16:26:41 INFO]: Client> 	at com.a(SourceFile:119) ~[14w30c.jar:?]
[16:26:41 INFO]: Client> 	at com.a(SourceFile:17) ~[14w30c.jar:?]
[16:26:41 INFO]: Client> 	at coa.a(SourceFile:288) ~[14w30c.jar:?]
[16:26:41 INFO]: Client> 	... 9 more
[16:26:41 INFO]: Client> ---- Minecraft Crash Report ----
[16:26:41 INFO]: Client> // This doesn't make any sense!
[16:26:41 INFO]: Client> 
[16:26:41 INFO]: Client> Time: 27.07.14 16:26
[16:26:41 INFO]: Client> Description: Rendering entity in world
[16:26:41 INFO]: Client> 
[16:26:41 INFO]: Client> java.lang.NullPointerException: Rendering entity in world
[16:26:41 INFO]: Client> 	at bci.b(SourceFile:96)
[16:26:41 INFO]: Client> 	at chp.a(SourceFile:42)
[16:26:41 INFO]: Client> 	at cop.a(SourceFile:98)
[16:26:41 INFO]: Client> 	at com.a(SourceFile:119)
[16:26:41 INFO]: Client> 	at com.a(SourceFile:17)
[16:26:41 INFO]: Client> 	at coa.a(SourceFile:288)
[16:26:41 INFO]: Client> 	at coa.a(SourceFile:253)
[16:26:41 INFO]: Client> 	at coa.a(SourceFile:220)
[16:26:41 INFO]: Client> 	at ciy.a(SourceFile:586)
[16:26:41 INFO]: Client> 	at cht.a(SourceFile:1211)
[16:26:41 INFO]: Client> 	at cht.a(SourceFile:1117)
[16:26:41 INFO]: Client> 	at cht.b(SourceFile:970)
[16:26:41 INFO]: Client> 	at brp.ar(SourceFile:896)
[16:26:41 INFO]: Client> 	at brp.a(SourceFile:311)
[16:26:41 INFO]: Client> 	at net.minecraft.client.main.Main.main(SourceFile:120)
[16:25:49 INFO]: Client> [16:25:49] [Client thread/INFO]: Connecting to localhost, 25566
[16:26:39 INFO]: Client> [16:26:39] [Client thread/INFO]: [CHAT] Given [Zuzu_Typ's Head] * 1 to Kumasasa
[16:26:41 INFO]: Client> [16:26:41] [Client thread/FATAL]: Reported exception thrown!
[16:26:41 INFO]: Client> u: Rendering entity in world
[16:26:41 INFO]: Client> 	at coa.a(SourceFile:322) ~[14w30c.jar:?]
[16:26:41 INFO]: Client> 	at coa.a(SourceFile:253) ~[14w30c.jar:?]
[16:26:41 INFO]: Client> 	at coa.a(SourceFile:220) ~[14w30c.jar:?]
[16:26:41 INFO]: Client> 	at ciy.a(SourceFile:586) ~[14w30c.jar:?]
[16:26:41 INFO]: Client> 	at cht.a(SourceFile:1211) ~[14w30c.jar:?]
[16:26:41 INFO]: Client> 	at cht.a(SourceFile:1117) ~[14w30c.jar:?]
[16:26:41 INFO]: Client> 	at cht.b(SourceFile:970) ~[14w30c.jar:?]
[16:26:41 INFO]: Client> 	at brp.ar(SourceFile:896) ~[14w30c.jar:?]
[16:26:41 INFO]: Client> 	at brp.a(SourceFile:311) [14w30c.jar:?]
[16:26:41 INFO]: Client> 	at net.minecraft.client.main.Main.main(SourceFile:120) [14w30c.jar:?]
[16:26:41 INFO]: Client> Caused by: java.lang.NullPointerException
[16:26:41 INFO]: Client> 	at bci.b(SourceFile:96) ~[14w30c.jar:?]
[16:26:41 INFO]: Client> 	at chp.a(SourceFile:42) ~[14w30c.jar:?]
[16:26:41 INFO]: Client> 	at cop.a(SourceFile:98) ~[14w30c.jar:?]
[16:26:41 INFO]: Client> 	at com.a(SourceFile:119) ~[14w30c.jar:?]
[16:26:41 INFO]: Client> 	at com.a(SourceFile:17) ~[14w30c.jar:?]
[16:26:41 INFO]: Client> 	at coa.a(SourceFile:288) ~[14w30c.jar:?]
[16:26:41 INFO]: Client> 	... 9 more
[16:26:41 INFO]: Client> ---- Minecraft Crash Report ----
[16:26:41 INFO]: Client> // This doesn't make any sense!
[16:26:41 INFO]: Client> 
[16:26:41 INFO]: Client> Time: 27.07.14 16:26
[16:26:41 INFO]: Client> Description: Rendering entity in world
[16:26:41 INFO]: Client> 
[16:26:41 INFO]: Client> java.lang.NullPointerException: Rendering entity in world
[16:26:41 INFO]: Client> 	at bci.b(SourceFile:96)
[16:26:41 INFO]: Client> 	at chp.a(SourceFile:42)
[16:26:41 INFO]: Client> 	at cop.a(SourceFile:98)
[16:26:41 INFO]: Client> 	at com.a(SourceFile:119)
[16:26:41 INFO]: Client> 	at com.a(SourceFile:17)
[16:26:41 INFO]: Client> 	at coa.a(SourceFile:288)
[16:26:41 INFO]: Client> 	at coa.a(SourceFile:253)
[16:26:41 INFO]: Client> 	at coa.a(SourceFile:220)
[16:26:41 INFO]: Client> 	at ciy.a(SourceFile:586)
[16:26:41 INFO]: Client> 	at cht.a(SourceFile:1211)
[16:26:41 INFO]: Client> 	at cht.a(SourceFile:1117)
[16:26:41 INFO]: Client> 	at cht.b(SourceFile:970)
[16:26:41 INFO]: Client> 	at brp.ar(SourceFile:896)
[16:26:41 INFO]: Client> 	at brp.a(SourceFile:311)
[16:26:41 INFO]: Client> 	at net.minecraft.client.main.Main.main(SourceFile:120)

Server first try

[16:25:50] [Server thread/INFO]: Kumasasa[/127.0.0.1:59480] logged in with entity id 35 at (480.8914785472444, 67.0, 15.179005624782928)
[16:25:50] [Server thread/INFO]: Kumasasa joined the game
[16:26:39] [Server thread/INFO]: [Kumasasa: Given [Zuzu_Typ's Head] * 1 to Kumasasa]
[16:26:42] [Server thread/INFO]: Kumasasa lost connection: TranslatableComponent{key='disconnect.genericReason', args=[Internal Exception: java.io.IOException: Eine vorhandene Verbindung wurde vom Remotehost geschlossen], siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}
[16:26:42] [Server thread/INFO]: Kumasasa left the game
[16:25:50] [Server thread/INFO]: Kumasasa[/127.0.0.1:59480] logged in with entity id 35 at (480.8914785472444, 67.0, 15.179005624782928)
[16:25:50] [Server thread/INFO]: Kumasasa joined the game
[16:26:39] [Server thread/INFO]: [Kumasasa: Given [Zuzu_Typ's Head] * 1 to Kumasasa]
[16:26:42] [Server thread/INFO]: Kumasasa lost connection: TranslatableComponent{key='disconnect.genericReason', args=[Internal Exception: java.io.IOException: Eine vorhandene Verbindung wurde vom Remotehost geschlossen], siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}
[16:26:42] [Server thread/INFO]: Kumasasa left the game

Client second try (API throtteling kicks in)

16:28:17 INFO]: Client> [16:28:17] [Client thread/INFO]: [CHAT] Given [Skeleton Skull] * 1 to Kumasasa
[16:28:18 INFO]: Client> [16:28:18] [Client thread/WARN]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@68f75a35[id=30b21cc7-a901-4fb6-901f-a2dc1f792d41,name=Zuzu_Typ,properties={},legacy=false]
[16:28:18 INFO]: Client> com.mojang.authlib.exceptions.AuthenticationException: The client has sent too many requests within a certain amount of time
[16:28:18 INFO]: Client> 	at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:65) ~[authlib-1.5.16.jar:?]
[16:28:18 INFO]: Client> 	at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillGameProfile(YggdrasilMinecraftSessionService.java:158) [authlib-1.5.16.jar:?]
[16:28:18 INFO]: Client> 	at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:151) [authlib-1.5.16.jar:?]
[16:28:18 INFO]: Client> 	at bci.b(SourceFile:104) [14w30c.jar:?]
[16:28:18 INFO]: Client> 	at chp.a(SourceFile:42) [14w30c.jar:?]
[16:28:18 INFO]: Client> 	at cop.a(SourceFile:98) [14w30c.jar:?]
[16:28:18 INFO]: Client> 	at com.a(SourceFile:119) [14w30c.jar:?]
[16:28:18 INFO]: Client> 	at com.a(SourceFile:17) [14w30c.jar:?]
[16:28:18 INFO]: Client> 	at coa.a(SourceFile:288) [14w30c.jar:?]
[16:28:18 INFO]: Client> 	at coa.a(SourceFile:253) [14w30c.jar:?]
[16:28:18 INFO]: Client> 	at coa.a(SourceFile:220) [14w30c.jar:?]
[16:28:18 INFO]: Client> 	at ciy.a(SourceFile:586) [14w30c.jar:?]
[16:28:18 INFO]: Client> 	at cht.a(SourceFile:1211) [14w30c.jar:?]
[16:28:18 INFO]: Client> 	at cht.a(SourceFile:1117) [14w30c.jar:?]
[16:28:18 INFO]: Client> 	at cht.b(SourceFile:970) [14w30c.jar:?]
[16:28:18 INFO]: Client> 	at brp.ar(SourceFile:896) [14w30c.jar:?]
[16:28:18 INFO]: Client> 	at brp.a(SourceFile:311) [14w30c.jar:?]
[16:28:18 INFO]: Client> 	at net.minecraft.client.main.Main.main(SourceFile:120) [14w30c.jar:?]
16:28:17 INFO]: Client> [16:28:17] [Client thread/INFO]: [CHAT] Given [Skeleton Skull] * 1 to Kumasasa
[16:28:18 INFO]: Client> [16:28:18] [Client thread/WARN]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@68f75a35[id=30b21cc7-a901-4fb6-901f-a2dc1f792d41,name=Zuzu_Typ,properties={},legacy=false]
[16:28:18 INFO]: Client> com.mojang.authlib.exceptions.AuthenticationException: The client has sent too many requests within a certain amount of time
[16:28:18 INFO]: Client> 	at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:65) ~[authlib-1.5.16.jar:?]
[16:28:18 INFO]: Client> 	at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillGameProfile(YggdrasilMinecraftSessionService.java:158) [authlib-1.5.16.jar:?]
[16:28:18 INFO]: Client> 	at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:151) [authlib-1.5.16.jar:?]
[16:28:18 INFO]: Client> 	at bci.b(SourceFile:104) [14w30c.jar:?]
[16:28:18 INFO]: Client> 	at chp.a(SourceFile:42) [14w30c.jar:?]
[16:28:18 INFO]: Client> 	at cop.a(SourceFile:98) [14w30c.jar:?]
[16:28:18 INFO]: Client> 	at com.a(SourceFile:119) [14w30c.jar:?]
[16:28:18 INFO]: Client> 	at com.a(SourceFile:17) [14w30c.jar:?]
[16:28:18 INFO]: Client> 	at coa.a(SourceFile:288) [14w30c.jar:?]
[16:28:18 INFO]: Client> 	at coa.a(SourceFile:253) [14w30c.jar:?]
[16:28:18 INFO]: Client> 	at coa.a(SourceFile:220) [14w30c.jar:?]
[16:28:18 INFO]: Client> 	at ciy.a(SourceFile:586) [14w30c.jar:?]
[16:28:18 INFO]: Client> 	at cht.a(SourceFile:1211) [14w30c.jar:?]
[16:28:18 INFO]: Client> 	at cht.a(SourceFile:1117) [14w30c.jar:?]
[16:28:18 INFO]: Client> 	at cht.b(SourceFile:970) [14w30c.jar:?]
[16:28:18 INFO]: Client> 	at brp.ar(SourceFile:896) [14w30c.jar:?]
[16:28:18 INFO]: Client> 	at brp.a(SourceFile:311) [14w30c.jar:?]
[16:28:18 INFO]: Client> 	at net.minecraft.client.main.Main.main(SourceFile:120) [14w30c.jar:?]

Server, 2nd try

[16:28:06] [Server thread/INFO]: Kumasasa joined the game
[16:32:05] [Server thread/INFO]: [Kumasasa: Given [Zuzu_Typ's Head] * 1 to Kumasasa]
[16:32:28] [Server thread/INFO]: [Kumasasa: Given [Zuzu_Typ's Head] * 1 to Kumasasa]
[16:32:31] [Server thread/INFO]: [Kumasasa: Cleared the inventory of Kumasasa, removing 16 items]
[16:32:35] [Server thread/INFO]: Kumasasa lost connection: TextComponent{text='Disconnected', siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}
[16:32:35] [Server thread/INFO]: Kumasasa left the game
[16:28:06] [Server thread/INFO]: Kumasasa joined the game
[16:32:05] [Server thread/INFO]: [Kumasasa: Given [Zuzu_Typ's Head] * 1 to Kumasasa]
[16:32:28] [Server thread/INFO]: [Kumasasa: Given [Zuzu_Typ's Head] * 1 to Kumasasa]
[16:32:31] [Server thread/INFO]: [Kumasasa: Cleared the inventory of Kumasasa, removing 16 items]
[16:32:35] [Server thread/INFO]: Kumasasa lost connection: TextComponent{text='Disconnected', siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}
[16:32:35] [Server thread/INFO]: Kumasasa left the game

Confirmed for 14w31a.
Server stays running, but client crashes.
Reloading client seems to solve this.

Fixed in some version after 14w31a

ZuzuTyp

(Unassigned)

Confirmed

Minecraft 14w30c, Minecraft 14w31a

Minecraft 1.8-pre1

Retrieved