Jump to content

Recommended Posts

Posted

It doesn't point to any part of my code so I have no idea what's wrong.

 

Crash:

 

 

[19:31:01] [Client thread/FATAL]: Reported exception thrown!

net.minecraft.util.ReportedException: Rendering item

at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1168) ~[EntityRenderer.class:?]

at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1056) ~[Minecraft.class:?]

at net.minecraft.client.Minecraft.run(Minecraft.java:951) [Minecraft.class:?]

at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_45]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_45]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_45]

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]

at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]

at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]

at GradleStart.main(Unknown Source) [start/:?]

Caused by: java.lang.NullPointerException

at net.minecraft.item.ItemStack.getItemDamage(ItemStack.java:265) ~[itemStack.class:?]

at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:419) ~[RenderItem.class:?]

at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:585) ~[RenderItem.class:?]

at net.minecraft.client.gui.inventory.GuiContainerCreative.func_147051_a(GuiContainerCreative.java:968) ~[GuiContainerCreative.class:?]

at net.minecraft.client.gui.inventory.GuiContainerCreative.drawGuiContainerBackgroundLayer(GuiContainerCreative.java:795) ~[GuiContainerCreative.class:?]

at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:93) ~[GuiContainer.class:?]

at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:44) ~[inventoryEffectRenderer.class:?]

at net.minecraft.client.gui.inventory.GuiContainerCreative.drawScreen(GuiContainerCreative.java:673) ~[GuiContainerCreative.class:?]

at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1137) ~[EntityRenderer.class:?]

... 11 more

[19:31:01] [Client thread/INFO] [sTDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: ---- Minecraft Crash Report ----

// My bad.

 

Time: 07/06/15 19:31

Description: Rendering item

 

java.lang.NullPointerException: Rendering item

at net.minecraft.item.ItemStack.getItemDamage(ItemStack.java:265)

at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:419)

at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:585)

at net.minecraft.client.gui.inventory.GuiContainerCreative.func_147051_a(GuiContainerCreative.java:968)

at net.minecraft.client.gui.inventory.GuiContainerCreative.drawGuiContainerBackgroundLayer(GuiContainerCreative.java:795)

at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:93)

at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:44)

at net.minecraft.client.gui.inventory.GuiContainerCreative.drawScreen(GuiContainerCreative.java:673)

at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1137)

at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1056)

at net.minecraft.client.Minecraft.run(Minecraft.java:951)

at net.minecraft.client.main.Main.main(Main.java:164)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)

at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)

at GradleStart.main(Unknown Source)

 

 

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

---------------------------------------------------------------------------------------

 

-- Head --

Stacktrace:

at net.minecraft.item.ItemStack.getItemDamage(ItemStack.java:265)

at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:419)

 

-- 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.renderItemAndEffectIntoGUI(RenderItem.java:585)

at net.minecraft.client.gui.inventory.GuiContainerCreative.func_147051_a(GuiContainerCreative.java:968)

at net.minecraft.client.gui.inventory.GuiContainerCreative.drawGuiContainerBackgroundLayer(GuiContainerCreative.java:795)

at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:93)

at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:44)

at net.minecraft.client.gui.inventory.GuiContainerCreative.drawScreen(GuiContainerCreative.java:673)

 

-- Screen render details --

Details:

Screen name: net.minecraft.client.gui.inventory.GuiContainerCreative

Mouse location: Scaled: (299, 9). Absolute: (598, 460)

Screen size: Scaled: (427, 240). Absolute: (854, 480). Scale factor of 2

 

-- Affected level --

Details:

Level name: MpServer

All players: 1 total; [EntityClientPlayerMP['Miss_Apocalypse'/329, l='MpServer', x=-59.08, y=5.62, z=-1439.33]]

Chunk stats: MultiplayerChunkCache: 81, 81

Level seed: 0

Level generator: ID 01 - flat, ver 0. Features enabled: false

Level generator options:

Level spawn location: World: (-67,4,-1447), Chunk: (at 13,0,9 in -5,-91; contains blocks -80,0,-1456 to -65,255,-1441), Region: (-1,-3; contains chunks -32,-96 to -1,-65, blocks -512,0,-1536 to -1,255,-1025)

Level time: 2523 game time, 2523 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: 44 total; [EntitySheep['Sheep'/256, l='MpServer', x=-102.03, y=4.00, z=-1434.03], EntitySheep['Sheep'/257, l='MpServer', x=-97.16, y=4.00, z=-1412.16], EntitySheep['Sheep'/258, l='MpServer', x=-100.81, y=4.00, z=-1417.78], EntitySheep['Sheep'/259, l='MpServer', x=-104.41, y=4.00, z=-1418.25], EntityBat['Bat'/266, l='MpServer', x=-70.25, y=6.10, z=-1401.00], EntityPig['Pig'/267, l='MpServer', x=-94.41, y=4.00, z=-1428.69], EntityPig['Pig'/268, l='MpServer', x=-90.34, y=4.00, z=-1438.84], EntityPig['Pig'/269, l='MpServer', x=-90.78, y=4.00, z=-1425.50], EntityHorse['Horse'/270, l='MpServer', x=-90.81, y=4.00, z=-1433.09], EntityPig['Pig'/271, l='MpServer', x=-89.41, y=4.00, z=-1423.19], EntityChicken['Chicken'/272, l='MpServer', x=-84.44, y=4.00, z=-1399.56], EntitySheep['Sheep'/273, l='MpServer', x=-80.94, y=4.00, z=-1399.91], EntityChicken['Chicken'/277, l='MpServer', x=-55.63, y=4.00, z=-1454.41], EntityHorse['Horse'/278, l='MpServer', x=-77.97, y=4.00, z=-1437.00], EntityChicken['Chicken'/279, l='MpServer', x=-75.06, y=4.00, z=-1408.06], EntitySheep['Sheep'/280, l='MpServer', x=-78.13, y=4.00, z=-1410.88], EntityChicken['Chicken'/281, l='MpServer', x=-76.56, y=4.00, z=-1408.41], EntitySheep['Sheep'/282, l='MpServer', x=-68.16, y=4.00, z=-1407.38], EntityChicken['Chicken'/283, l='MpServer', x=-68.44, y=4.00, z=-1402.38], EntityChicken['Chicken'/284, l='MpServer', x=-73.53, y=4.00, z=-1404.59], EntityChicken['Chicken'/285, l='MpServer', x=-76.81, y=4.00, z=-1406.56], EntityChicken['Chicken'/286, l='MpServer', x=-67.44, y=4.00, z=-1474.47], EntitySheep['Sheep'/287, l='MpServer', x=-53.16, y=4.00, z=-1476.31], EntitySheep['Sheep'/288, l='MpServer', x=-59.38, y=4.00, z=-1477.25], EntitySheep['Sheep'/289, l='MpServer', x=-62.50, y=4.00, z=-1476.50], EntityChicken['Chicken'/290, l='MpServer', x=-48.56, y=4.00, z=-1477.44], EntityBat['Bat'/226, l='MpServer', x=-116.91, y=4.00, z=-1387.28], EntitySheep['Sheep'/291, l='MpServer', x=-58.91, y=4.00, z=-1471.97], EntityBat['Bat'/227, l='MpServer', x=-122.98, y=9.51, z=-1370.86], EntitySheep['Sheep'/292, l='MpServer', x=-56.25, y=4.00, z=-1468.66], EntityChicken['Chicken'/293, l='MpServer', x=-63.94, y=4.00, z=-1402.47], EntityChicken['Chicken'/294, l='MpServer', x=-58.22, y=4.00, z=-1404.19], EntityChicken['Chicken'/295, l='MpServer', x=-42.66, y=4.00, z=-1470.44], EntitySheep['Sheep'/307, l='MpServer', x=2.09, y=4.00, z=-1432.91], EntitySheep['Sheep'/308, l='MpServer', x=-3.50, y=4.00, z=-1419.50], EntitySheep['Sheep'/309, l='MpServer', x=-2.50, y=4.00, z=-1421.50], EntityChicken['Chicken'/310, l='MpServer', x=-2.50, y=4.00, z=-1415.50], EntityChicken['Chicken'/311, l='MpServer', x=-4.50, y=4.00, z=-1415.50], EntityClientPlayerMP['Miss_Apocalypse'/329, l='MpServer', x=-59.08, y=5.62, z=-1439.33], EntityChicken['Chicken'/312, l='MpServer', x=-5.41, y=4.00, z=-1417.44], EntityChicken['Chicken'/313, l='MpServer', x=-10.38, y=4.00, z=-1409.53], EntityChicken['Chicken'/314, l='MpServer', x=1.50, y=4.00, z=-1416.50], EntityChicken['Chicken'/315, l='MpServer', x=7.44, y=4.00, z=-1415.63], EntityChicken['Chicken'/316, l='MpServer', x=2.50, y=4.00, z=-1411.50]]

Retry entities: 0 total; []

Server brand: fml,forge

Server type: Integrated singleplayer server

Stacktrace:

at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:415)

at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2555)

at net.minecraft.client.Minecraft.run(Minecraft.java:973)

at net.minecraft.client.main.Main.main(Main.java:164)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)

at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)

at GradleStart.main(Unknown Source)

 

-- System Details --

Details:

Minecraft Version: 1.7.10

Operating System: Windows 8.1 (amd64) version 6.3

Java Version: 1.8.0_45, Oracle Corporation

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation

Memory: 907594328 bytes (865 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)

JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M

AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

FML: MCP v9.05 FML v7.10.85.1291 Minecraft Forge 10.13.2.1291 4 mods loaded, 4 mods active

mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available

FML{7.10.85.1291} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.2.1291.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available

Forge{10.13.2.1291} [Minecraft Forge] (forgeSrc-1.7.10-10.13.2.1291.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available

wonderland{1.0} [Wonderland] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available

Launched Version: 1.7.10

LWJGL: 2.9.1

OpenGL: AMD Radeon HD 8400 / R3 Series GL version 4.4.13283 Compatibility Profile Context 14.501.1003.0, ATI Technologies Inc.

GL Caps: Using GL 1.3 multitexturing.

 

 

These are my tabs, in the main class.

 

    public static final CreativeTabs tab = new CreativeTabs("tab")
    {
        @SideOnly(Side.CLIENT)
        public Item getTabIconItem()
        {
            return Item.getItemFromBlock(WLBlocks.flower_lavender);
        }
    };
    public static final CreativeTabs tab2 = new CreativeTabs("tab2")
    {
        @SideOnly(Side.CLIENT)
        public Item getTabIconItem()
        {
            return Extras.backpack;
        }
    };

Posted

@Failender: It is irrelevant with this issue.

@Ms_Raven: I think you created the CreativeTabs before your item is initiated.

  Please post your class that registers your items.

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.