Résolu Crash inventaire
-
Bonjour, J’ai voulu tester mon mod sur mon serveur or des que j’ouvre mon inventaire et que je vais sur la deuxieme page de l’inventaire le jeu crash
:–-- Minecraft Crash Report ---- // I bet Cylons wouldn't have this problem. Time: 02/04/16 15:42 Description: Rendering item java.lang.NullPointerException: Rendering item at net.minecraft.item.ItemStack.func_77960_j(ItemStack.java:214) at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:398) at net.minecraft.client.renderer.entity.RenderItem.func_82406_b(RenderItem.java:540) at net.minecraft.client.gui.inventory.GuiContainerCreative.func_147051_a(GuiContainerCreative.java:925) at net.minecraft.client.gui.inventory.GuiContainerCreative.func_146976_a(GuiContainerCreative.java:757) at net.minecraft.client.gui.inventory.GuiContainer.func_73863_a(GuiContainer.java:78) at net.minecraft.client.renderer.InventoryEffectRenderer.func_73863_a(SourceFile:30) at net.minecraft.client.gui.inventory.GuiContainerCreative.func_73863_a(GuiContainerCreative.java:635) at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1358) at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:944) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:835) at net.minecraft.client.main.Main.main(SourceFile:103) 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:134) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) 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 fr.theshark34.openlauncherlib.internal.InternalLauncher.launch(InternalLauncher.java:165) at fr.burning.lfc.launcher.Launcher.launch(Launcher.java:200) at fr.burning.lfc.launcher.Launcher.auth(Launcher.java:95) at fr.burning.lfc.launcher.LauncherFrame$5.run(LauncherFrame.java:233) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at net.minecraft.item.ItemStack.func_77960_j(ItemStack.java:214) at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:398) -- 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:540) at net.minecraft.client.gui.inventory.GuiContainerCreative.func_147051_a(GuiContainerCreative.java:925) at net.minecraft.client.gui.inventory.GuiContainerCreative.func_146976_a(GuiContainerCreative.java:757) at net.minecraft.client.gui.inventory.GuiContainer.func_73863_a(GuiContainer.java:78) at net.minecraft.client.renderer.InventoryEffectRenderer.func_73863_a(SourceFile:30) at net.minecraft.client.gui.inventory.GuiContainerCreative.func_73863_a(GuiContainerCreative.java:635) -- Screen render details -- Details: Screen name: net.minecraft.client.gui.inventory.GuiContainerCreative Mouse location: Scaled: (424, 67). Absolute: (849, 570) Screen size: Scaled: (683, 353). Absolute: (1366, 705). Scale factor of 2 -- Affected level -- Details: Level name: MpServer All players: 1 total; [EntityClientPlayerMP['Burning'/469, l='MpServer', x=-4,53, y=77,00, z=532,59]] Chunk stats: MultiplayerChunkCache: 253, 253 Level seed: 0 Level generator: ID 01 - flat, ver 0\. Features enabled: false Level generator options: Level spawn location: World: (78,99,90), Chunk: (at 14,6,10 in 4,5; contains blocks 64,0,80 to 79,255,95), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 166061607 game time, 175653051 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: 25 total; [EntitySquid['Squid'/844, l='MpServer', x=-39,50, y=49,00, z=575,50], EntitySquid['Squid'/845, l='MpServer', x=-40,50, y=49,00, z=578,50], EntitySquid['Squid'/846, l='MpServer', x=-39,50, y=49,00, z=577,50], EntitySquid['Squid'/847, l='MpServer', x=-40,50, y=49,00, z=577,50], EntityItem['item.tile.dirt.default'/528, l='MpServer', x=-24,97, y=72,13, z=473,25], EntitySquid['Squid'/848, l='MpServer', x=-47,50, y=49,00, z=576,50], EntitySquid['Squid'/849, l='MpServer', x=-48,50, y=49,00, z=579,50], EntityCustomNpc['Kennet'/530, l='MpServer', x=-48,50, y=72,00, z=487,50], EntitySquid['Squid'/851, l='MpServer', x=-44,50, y=49,00, z=577,50], EntitySquid['Squid'/852, l='MpServer', x=-42,50, y=49,00, z=575,50], EntitySquid['Squid'/853, l='MpServer', x=-46,50, y=49,00, z=575,50], EntitySquid['Squid'/855, l='MpServer', x=-41,50, y=49,00, z=573,50], EntityCustomNpc['Gyaku'/536, l='MpServer', x=-0,50, y=74,00, z=520,50], EntityOtherPlayerMP['Olltahir'/523, l='MpServer', x=-16,72, y=73,00, z=507,34], EntitySheep['Sheep'/542, l='MpServer', x=16,38, y=78,00, z=497,53], EntityCustomNpc['Roland le pêcheur'/543, l='MpServer', x=-13,50, y=72,50, z=533,50], EntitySheep['Sheep'/544, l='MpServer', x=-4,97, y=73,50, z=532,97], EntityItem['item.item.rottenFlesh'/545, l='MpServer', x=-53,22, y=72,13, z=535,13], EntityCustomNpc['Garde'/546, l='MpServer', x=9,34, y=74,00, z=537,66], EntityCustomNpc['Garde'/547, l='MpServer', x=9,44, y=74,00, z=533,66], EntityCustomNpc['Rodigue'/552, l='MpServer', x=20,50, y=74,50, z=534,50], EntityCustomNpc['Droco'/553, l='MpServer', x=20,50, y=74,50, z=536,50], EntityTameableDragon['Smaug'/557, l='MpServer', x=6,28, y=72,00, z=572,78], EntityTameableDragon['Ender Dragon'/558, l='MpServer', x=6,28, y=72,00, z=572,78], EntityClientPlayerMP['Burning'/469, l='MpServer', x=-4,53, y=77,00, z=532,59]] Retry entities: 0 total; [] Server brand: cauldron,craftbukkit,mcpc,fml,forge Server type: Non-integrated multiplayer server Stacktrace: at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:368) at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2382) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:857) at net.minecraft.client.main.Main.main(SourceFile:103) 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:134) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) 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 fr.theshark34.openlauncherlib.internal.InternalLauncher.launch(InternalLauncher.java:165) at fr.burning.lfc.launcher.Launcher.launch(Launcher.java:200) at fr.burning.lfc.launcher.Launcher.auth(Launcher.java:95) at fr.burning.lfc.launcher.LauncherFrame$5.run(LauncherFrame.java:233) – System Details -- Details: Minecraft Version: 1.7.2 Operating System: Windows 8.1 (amd64) version 6.3 Java Version: 1.8.0_73, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 462850592 bytes (441 MB) / 695730176 bytes (663 MB) up to 932184064 bytes (889 MB) JVM Flags: 0 total; AABB Pool Size: 6231 (348936 bytes; 0 MB) allocated, 1947 (109032 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v9.03 FML v7.2.211.1121 Minecraft Forge 10.12.2.1121 Optifine OptiFine_1.7.2_HD_U_D5 10 mods loaded, 10 mods active mcp{9.03} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available FML{7.2.211.1121} [Forge Mod Loader] (forge-1.7.2-10.12.2.1121.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available Forge{10.12.2.1121} [Minecraft Forge] (forge-1.7.2-10.12.2.1121.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available Spiffy-Skins{1.1.0} [Spiffy-Skins] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available BiblioCraft{1.8.2} [BiblioCraft] (BiblioCraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available customnpcs{1.7.2-2} [CustomNpcs] (CustomNPC.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available DragonMounts{r38} [Dragon Mounts] (dragonmount.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available ftfloocraft{1.7.10-1.3} [Floocraft] (Floocraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available custommenu{3.0} [lafrenchcraft Menu] (MM-IGM-LFC.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available lfc{5.0} [LaFrenchCraft MOD] (modid-1.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available Launched Version: 1.7.2 LWJGL: 2.9.0 OpenGL: Intel(R) HD Graphics 4000 GL version 4.0.0 - Build 10.18.10.3958, Intel Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Packs: [LaFrenchCraft] Current Language: English (US) Profiler Position: N/A (disabled) Vec3 Pool Size: 3207 (179592 bytes; 0 MB) allocated, 843 (47208 bytes; 0 MB) used Anisotropic Filtering: Off (1)
-
Il doit y avoir un soucis de rendu de l’image d’un onglet je pense.
-
Les textures de tes items sont bien enregistrées ? Et l’item de lîcone de l’onglet aussi ?
-
@‘AymericRed’:
Les textures de tes items sont bien enregistrées ? Et l’item de lîcone de l’onglet aussi ?
oui voici le code de un de mes onglet
public class LaFrenchCraftItemTabs extends CreativeTabs { public LaFrenchCraftItemTabs(String label) { super(label); } @Override public Item getTabIconItem() { return LaFrenchCraftMOD.GemmeXp; } }
-
Dans ta classe principale, est-ce que ta CreativeTab est initialisé avant ton item GemmeXp ? Si c’est le cas alors change l’ordre.
-
@‘Plaigon’:
Dans ta classe principale, est-ce que ta CreativeTab est initialisé avant ton item GemmeXp ? Si c’est le cas alors change l’ordre.
Cela ne change rien
-
Salut,
Le mod n’est tout simplement pas présent sur le serveur.
Tu peux envoyer le fichier fml-server-latest.log ? -
@‘robin4002’:
Salut,
Le mod n’est tout simplement pas présent sur le serveur.
Tu peux envoyer le fichier fml-server-latest.log ?Ha oui exact j’avais mis bibliocraft sur le launcher mais j’avais totalement oublié de le mettre sur le serveur, je comprend mieux pourquoi sa crash ^^
Merci, a tous