Game crashes when icon item is wrong

Issue #1 resolved
EfficiencyVI created an issue

Hi,

just a small crash. I had a typo in my Triumph.json (the Icon value was wrong) leading to the following crash:

#!// Sorry :(

Time: 10/14/15 10:25 AM
Description: Rendering item

java.lang.NullPointerException: Rendering item
        at net.minecraft.item.ItemStack.func_94608_d(ItemStack.java:123)
        at net.minecraftforge.client.ForgeHooksClient.renderInventoryItem(ForgeHooksClient.java:161)
        at net.minecraft.client.renderer.entity.RenderItem.func_82406_b(RenderItem.java:563)
        at net.minecraft.client.gui.achievement.GuiAchievements.func_146552_b(GuiAchievements.java:496)
        at net.minecraft.client.gui.achievement.GuiAchievements.func_73863_a(GuiAchievements.java:210)
        at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1357)
        at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1001)
        at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:898)
        at net.minecraft.client.main.Main.main(SourceFile:148)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
        at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:310)
        at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:394)
        at org.multimc.EntryPoint.listen(EntryPoint.java:170)
        at org.multimc.EntryPoint.main(EntryPoint.java:54)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Stacktrace:
        at net.minecraft.item.ItemStack.func_94608_d(ItemStack.java:123)
        at net.minecraftforge.client.ForgeHooksClient.renderInventoryItem(ForgeHooksClient.java:161)

-- Item being rendered --
Details:
        Item Type: null
        Item Aux: ~~ERROR~~ NullPointerException: null
        Item NBT: null
        Item Foil: ~~ERROR~~ NullPointerException: null
Stacktrace:
        at net.minecraft.client.renderer.entity.RenderItem.func_82406_b(RenderItem.java:563)
        at net.minecraft.client.gui.achievement.GuiAchievements.func_146552_b(GuiAchievements.java:496)
        at net.minecraft.client.gui.achievement.GuiAchievements.func_73863_a(GuiAchievements.java:210)

-- Screen render details --
Details:
        Screen name: net.minecraft.client.gui.achievement.GuiAchievements
        Mouse location: Scaled: (231, 122). Absolute: (463, 235)
        Screen size: Scaled: (427, 240). Absolute: (854, 480). Scale factor of 2

-- Affected level --
Details:
        Level name: MpServer
        All players: 1 total; [EntityClientPlayerMP['<PROFILE NAME>'/2538, l='MpServer', x=95.89, y=65.62, z=39.78]]
        Chunk stats: MultiplayerChunkCache: 25, 34
        Level seed: 0
        Level generator: ID 04 - ATG, ver 0. Features enabled: false
        Level generator options: 
        Level spawn location: World: (8,64,8), Chunk: (at 8,4,8 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: 21862 game time, 37673 day time
        Level dimension: 0
        Level storage version: 0x00000 - Unknown?
        Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
        Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
        Forced entities: 102 total; [EntitySquid['Squid'/15311, l='MpServer', x=106.89, y=58.30, z=71.08], EntitySquid['Squid'/15313, l='MpServer', x=100.50, y=57.12, z=71.33], EntitySquid['Squid'/15312, l='MpServer', x=107.12, y=58.40, z=73.14], EntitySquid['Squid'/15314, l='MpServer', x=102.53, y=58.41, z=71.88], EntityItem['item.tile.coral2.algae'/14656, l='MpServer', x=120.78, y=54.13, z=76.80], EntityItem['item.tile.coral2.algae'/14658, l='MpServer', x=123.16, y=54.13, z=76.97], EntityItem['item.tile.coral1.kelpsingle'/18593, l='MpServer', x=84.47, y=17.39, z=71.88], EntityItem['item.tile.coral2.algae'/14627, l='MpServer', x=125.88, y=54.13, z=73.53], EntityItem['item.tile.coral2.algae'/14626, l='MpServer', x=126.31, y=54.13, z=71.25], EntityItem['item.tile.coral2.algae'/14625, l='MpServer', x=125.47, y=54.13, z=75.45], EntityItem['item.tile.coral2.algae'/14630, l='MpServer', x=123.91, y=54.13, z=73.72], EntityItem['item.tile.coral2.algae'/14628, l='MpServer', x=126.47, y=54.13, z=75.53], EntityItem['item.tile.coral2.algae'/14634, l='MpServer', x=119.69, y=54.13, z=75.63], EntityItem['item.tile.coral2.algae'/14638, l='MpServer', x=126.84, y=54.13, z=77.47], EntityItem['item.item.coral.purple'/14650, l='MpServer', x=123.25, y=55.13, z=65.84], EntityItem['item.item.coral.blue'/14651, l='MpServer', x=124.41, y=55.13, z=68.59], EntityItem['item.item.coral.blue'/14648, l='MpServer', x=126.47, y=55.13, z=66.56], EntityItem['item.item.coral.magenta'/14649, l='MpServer', x=126.31, y=55.13, z=66.16], EntityItem['item.item.coral.blue'/14654, l='MpServer', x=125.47, y=55.13, z=68.78], EntityItem['item.item.coral.magenta'/14655, l='MpServer', x=128.48, y=46.70, z=65.88], EntityItem['item.item.coral.brown'/14652, l='MpServer', x=124.66, y=55.13, z=67.34], EntityItem['item.item.coral.magenta'/14653, l='MpServer', x=126.25, y=55.13, z=66.97], EntityItem['item.item.coral.purple'/14593, l='MpServer', x=110.44, y=55.13, z=72.44], EntityItem['item.item.coral.yellow'/14592, l='MpServer', x=111.44, y=55.13, z=73.75], EntityItem['item.item.coral.purple'/14595, l='MpServer', x=114.69, y=55.13, z=73.13], EntityItem['item.item.coral.yellow'/14594, l='MpServer', x=112.13, y=55.13, z=71.19], EntityItem['item.item.coral.purple'/14597, l='MpServer', x=112.81, y=55.13, z=75.22], EntityItem['item.item.coral.yellow'/14596, l='MpServer', x=112.59, y=55.13, z=75.66], EntityItem['item.item.coral.magenta'/14599, l='MpServer', x=114.91, y=55.13, z=70.81], EntityItem['item.item.coral.orange'/14598, l='MpServer', x=115.19, y=55.13, z=71.78], EntityItem['item.tile.coral2.algae'/14601, l='MpServer', x=113.66, y=55.13, z=71.13], EntityItem['item.item.coral.purple'/14600, l='MpServer', x=116.75, y=55.13, z=69.62], EntityItem['item.item.coral.magenta'/14603, l='MpServer', x=111.91, y=56.13, z=67.13], EntityItem['item.item.coral.orange'/14602, l='MpServer', x=113.17, y=56.13, z=70.41], EntityItem['item.item.coral.red'/14605, l='MpServer', x=114.41, y=56.13, z=68.88], EntityItem['item.item.coral.orange'/14604, l='MpServer', x=110.84, y=56.13, z=68.88], EntityItem['item.item.coral.yellow'/14607, l='MpServer', x=113.81, y=56.13, z=70.16], EntityItem['item.item.coral.orange'/14606, l='MpServer', x=114.22, y=56.13, z=67.81], EntityItem['item.item.coral.magenta'/14608, l='MpServer', x=110.75, y=56.13, z=70.78], EntityItem['item.item.coral.blue'/14609, l='MpServer', x=111.66, y=56.13, z=70.53], EntityItem['item.item.coral.purple'/14610, l='MpServer', x=108.47, y=56.13, z=69.56], EntityItem['item.item.coral.brown'/14611, l='MpServer', x=110.03, y=56.13, z=68.13], EntityItem['item.item.coral.purple'/14612, l='MpServer', x=108.97, y=56.13, z=70.84], EntityItem['item.item.coral.purple'/14613, l='MpServer', x=115.81, y=56.13, z=63.31], EntityItem['item.tile.coral2.algae'/14614, l='MpServer', x=119.69, y=54.13, z=77.19], EntityItem['item.tile.coral2.algae'/14616, l='MpServer', x=123.03, y=54.13, z=73.34], EntityItem['item.tile.coral2.algae'/14617, l='MpServer', x=121.53, y=54.13, z=73.69], EntityItem['item.tile.coral2.algae'/14618, l='MpServer', x=123.34, y=54.13, z=72.13], EntityItem['item.tile.coral2.algae'/14619, l='MpServer', x=124.12, y=54.13, z=74.58], EntityItem['item.tile.coral2.algae'/14622, l='MpServer', x=124.38, y=55.13, z=70.91], EntityItem['item.tile.mushroom5'/14591, l='MpServer', x=111.15, y=15.13, z=75.81], EntityItem['item.item.coral.orange'/14585, l='MpServer', x=94.53, y=57.13, z=79.28], EntityItem['item.item.coral.brown'/14584, l='MpServer', x=94.38, y=57.13, z=79.09], EntityItem['item.item.coral.blue'/14587, l='MpServer', x=92.31, y=57.13, z=77.31], EntityItem['item.item.coral.purple'/14583, l='MpServer', x=91.62, y=49.70, z=80.13], EntityItem['item.item.coral.pink'/14564, l='MpServer', x=95.63, y=57.13, z=66.69], EntityItem['item.item.coral.purple'/14565, l='MpServer', x=95.23, y=57.13, z=66.56], EntityItem['item.tile.coral2.algae'/14560, l='MpServer', x=101.75, y=56.13, z=72.22], EntityItem['item.tile.coral2.algae'/14561, l='MpServer', x=99.94, y=56.13, z=73.28], EntityItem['item.tile.coral2.algae'/14562, l='MpServer', x=100.91, y=56.13, z=73.37], EntityItem['item.item.coral.purple'/14563, l='MpServer', x=96.38, y=57.13, z=68.59], EntityItem['item.tile.coral2.algae'/14559, l='MpServer', x=99.69, y=56.13, z=70.63], EntityItem['item.item.coral.blue'/14558, l='MpServer', x=100.13, y=56.13, z=73.84], EntityItem['item.tile.coral2.algae'/14557, l='MpServer', x=98.81, y=56.13, z=72.13], EntityItem['item.tile.coral2.algae'/14555, l='MpServer', x=98.53, y=56.13, z=69.22], EntityItem['item.tile.coral2.algae'/14554, l='MpServer', x=96.66, y=56.13, z=71.59], EntityItem['item.tile.coral2.algae'/14553, l='MpServer', x=96.59, y=56.13, z=69.13], EntityItem['item.item.coral.purple'/14552, l='MpServer', x=105.03, y=56.13, z=72.09], EntityItem['item.item.coral.orange'/14551, l='MpServer', x=104.06, y=56.13, z=74.19], EntityItem['item.item.coral.orange'/14550, l='MpServer', x=103.13, y=56.13, z=70.63], EntityItem['item.item.coral.orange'/14549, l='MpServer', x=106.41, y=56.13, z=72.41], EntityItem['item.item.coral.blue'/14547, l='MpServer', x=106.69, y=56.13, z=71.91], EntityItem['item.item.coral.brown'/14545, l='MpServer', x=107.81, y=56.13, z=70.59], EntityItem['item.item.coral.pink'/14544, l='MpServer', x=105.56, y=56.13, z=70.97], EntityItem['item.item.coral.orange'/14542, l='MpServer', x=105.38, y=56.13, z=70.09], EntityItem['item.item.coral.yellow'/14543, l='MpServer', x=105.41, y=56.13, z=70.81], EntityItem['item.item.coral.yellow'/14540, l='MpServer', x=102.30, y=56.13, z=71.84], EntityItem['item.item.coral.purple'/14541, l='MpServer', x=103.13, y=56.13, z=71.03], EntityItem['item.item.coral.red'/14539, l='MpServer', x=103.91, y=56.13, z=70.31], EntityItem['item.item.coral.pink'/14536, l='MpServer', x=101.79, y=56.13, z=72.30], EntityItem['item.tile.coral2.algae'/14534, l='MpServer', x=102.03, y=56.13, z=74.19], EntityItem['item.item.coral.purple'/14535, l='MpServer', x=102.19, y=56.13, z=74.97], EntityItem['item.item.coral.red'/14533, l='MpServer', x=98.88, y=56.13, z=78.63], EntityItem['item.item.coral.magenta'/14530, l='MpServer', x=99.69, y=56.13, z=73.25], EntityItem['item.item.coral.pink'/14531, l='MpServer', x=101.06, y=56.13, z=76.84], EntityItem['item.item.coral.blue'/14528, l='MpServer', x=100.19, y=56.13, z=76.63], EntityItem['item.item.coral.purple'/14529, l='MpServer', x=98.80, y=56.13, z=74.53], EntityRat['Field Mouse'/14521, l='MpServer', x=83.50, y=63.00, z=31.50], EntityItem['item.tile.mushroom7'/14523, l='MpServer', x=102.36, y=13.13, z=75.31], EntityItem['item.tile.mushroom2'/14522, l='MpServer', x=81.13, y=17.13, z=69.10], EntityItem['item.tile.coral2.algae'/14525, l='MpServer', x=97.88, y=56.13, z=72.41], EntityItem['item.tile.coral2.algae'/14524, l='MpServer', x=98.59, y=56.13, z=70.53], EntityItem['item.tile.coral2.algae'/14527, l='MpServer', x=98.13, y=56.13, z=74.69], EntityInfestedVillager['Infested Villager'/15597, l='MpServer', x=91.50, y=17.00, z=73.50], EntityInfestedVillager['Infested Villager'/15598, l='MpServer', x=88.50, y=17.00, z=73.50], EntityClientPlayerMP['<PROFILE NAME>'/2538, l='MpServer', x=95.89, y=65.62, z=39.78], EntityIka['Ika'/15383, l='MpServer', x=125.36, y=54.00, z=76.44], EntityItem['item.tile.coral1.kelpsingle'/15917, l='MpServer', x=92.56, y=59.13, z=51.84], EntityIka['Ika'/15374, l='MpServer', x=122.51, y=58.00, z=4.51], EntityIka['Ika'/15373, l='MpServer', x=121.45, y=59.00, z=0.45], EntityIka['Ika'/15367, l='MpServer', x=62.46, y=59.00, z=78.46], EntityItem['item.tile.gravel'/16721, l='MpServer', x=84.13, y=25.13, z=72.50]]
        Retry entities: 0 total; []
        Server brand: fml,forge
        Server type: Integrated singleplayer server
Stacktrace:
        at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:373)
        at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2444)
        at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:919)
        at net.minecraft.client.main.Main.main(SourceFile:148)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
        at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:310)
        at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:394)
        at org.multimc.EntryPoint.listen(EntryPoint.java:170)
        at org.multimc.EntryPoint.main(EntryPoint.java:54)

Comments (1)

  1. Log in to comment