• S'inscrire
    • Se connecter
    • Recherche
    • Récent
    • Mots-clés
    • Populaire
    • Utilisateurs
    • Groupes

    Résolu Erreur lancement Minecraft sou Eclipse

    1.7.x
    1.7.2
    3
    4
    1565
    Charger plus de messages
    • Du plus ancien au plus récent
    • Du plus récent au plus ancien
    • Les plus votés
    Répondre
    • Répondre à l'aide d'un nouveau sujet
    Se connecter pour répondre
    Ce sujet a été supprimé. Seuls les utilisateurs avec les droits d'administration peuvent le voir.
    • T
      TheBlueDemon dernière édition par robin4002

      Bonjour, 🙂

      Je suis en train de créer un mod, puis je le test (je précise qu’il n’y a aucune erreur affichée) et la ça crash 😞 
      si vous pouviez m’aider svp

      ma class main :

      ​package mod.kingdom.client;
      
      import java.awt.Color;
      
      import net.minecraft.block.Block;
      import net.minecraft.block.material.Material;
      import net.minecraft.creativetab.CreativeTabs;
      import net.minecraft.entity.EnumCreatureType;
      import net.minecraft.item.Item;
      import net.minecraft.item.ItemArmor.ArmorMaterial;
      import net.minecraft.potion.Potion;
      import net.minecraft.world.biome.BiomeGenBase;
      import net.minecraftforge.common.util.EnumHelper;
      import mod.kingdom.proxy.ClientProxy;
      import mod.kingdom.proxy.CommonProxy;
      import cpw.mods.fml.common.Mod;
      import cpw.mods.fml.common.Mod.EventHandler;
      import cpw.mods.fml.common.Mod.Instance;
      import cpw.mods.fml.common.SidedProxy;
      import cpw.mods.fml.common.event.FMLInitializationEvent;
      import cpw.mods.fml.common.event.FMLPostInitializationEvent;
      import cpw.mods.fml.common.event.FMLPreInitializationEvent;
      import cpw.mods.fml.common.registry.EntityRegistry;
      import cpw.mods.fml.common.registry.GameRegistry;
      
      @Mod(modid = "kingdom", name = "Kingdom", version = "1.0.0")
      public class Kingdom
      {
          @Instance("kingdom")
          public static Kingdom instance;
      
          @SidedProxy(clientSide = "mod.kingdom.proxy.ClientProxy", serverSide = "mod.kingdom.proxy.CommonProxy")
          public static ClientProxy proxy;
      
          public static Block blockAzuriteOre;
          public static Block blockPyriteOre;
          public static Block blockPyrite;
          public static Block blockPlatine;
          public static Block blockAzurite;
      
          public static Item itemAzurite;
          public static Item itemPyrite;
          public static Item itemPlatine;
      
          public static Item itemAzuriteHelmet;
          public static Item itemAzuriteChestplate;
          public static Item itemAzuriteLeggings;
          public static Item itemAzuriteBoots;
      
          public static Item itemPyriteHelmet;
          public static Item itemPyriteChestplate;
          public static Item itemPyriteLeggings;
          public static Item itemPyriteBoots;
      
          public static Item itemPlatineHelmet;
          public static Item itemPlatineChestplate;
          public static Item itemPlatineLeggings;
          public static Item itemPlatineBoots;
      
          public static ArmorMaterial armorAzurite = EnumHelper.addArmorMaterial("armorAzurite", 36, new int[] {4, 6, 5, 4}, 15);
          public static ArmorMaterial armorPyrite = EnumHelper.addArmorMaterial("armorPyrite", 36, new int[] {4, 6, 5, 4}, 15);
          public static ArmorMaterial armorPlatine = EnumHelper.addArmorMaterial("armorPlatine", 36, new int[] {4, 6, 5, 4}, 15);
      
          @EventHandler
          public void preInit(FMLPreInitializationEvent event)
          {
              itemAzurite = new ItemAzurite().setUnlocalizedName("azurite").setTextureName("kingdom:azurite").setCreativeTab(CreativeTabs.tabMaterials);
              itemPyrite = new ItemPyrite().setUnlocalizedName("pyrite").setTextureName("kingdom:pyrite").setCreativeTab(CreativeTabs.tabMaterials);
              itemPlatine = new ItemPlatine().setUnlocalizedName("platine").setTextureName("kingdom:platine").setCreativeTab(CreativeTabs.tabMaterials);
      
              blockAzuriteOre = new BlockAzuriteOre(Material.rock).setBlockName("azuriteore").setHardness(3.0F).setResistance(5.0F).setBlockTextureName("kingdom:block_azuriteore").setCreativeTab(CreativeTabs.tabBlock);
              blockPyriteOre = new BlockPyriteOre(Material.rock).setBlockName("pyriteore").setHardness(3.0F).setResistance(5.0F).setBlockTextureName("kingdom:block_pyriteore").setCreativeTab(CreativeTabs.tabBlock);
              blockPyrite = new BlockPyrite(Material.rock).setBlockName("pyrite").setHardness(3.0F).setResistance(5.0F).setBlockTextureName("kingdom:block_pyrite").setCreativeTab(CreativeTabs.tabBlock);
              blockPlatine = new BlockPlatine(Material.rock).setBlockName("platine").setHardness(3.0F).setResistance(5.0F).setBlockTextureName("kingdom:block_platine").setCreativeTab(CreativeTabs.tabBlock);
              blockAzurite = new BlockAzurite(Material.rock).setBlockName("azurite").setHardness(3.0F).setResistance(5.0F).setBlockTextureName("kingdom:azurite").setCreativeTab(CreativeTabs.tabBlock);
      
              itemAzuriteHelmet = new ItemAzuriteArmor(armorAzurite, 0).setUnlocalizedName("helmetAzurite").setTextureName("kingdom:helmetAzurite").setCreativeTab(CreativeTabs.tabCombat);
              itemAzuriteChestplate = new ItemAzuriteArmor(armorAzurite, 1).setUnlocalizedName("chestPlateAzurite").setTextureName("kingdom:helmetAzurite").setCreativeTab(CreativeTabs.tabCombat);
              itemAzuriteLeggings = new ItemAzuriteArmor(armorAzurite, 2).setUnlocalizedName("leggingsAzurite").setTextureName("kingdom:helmetAzurite").setCreativeTab(CreativeTabs.tabCombat);
              itemAzuriteBoots = new ItemAzuriteArmor(armorAzurite, 3).setUnlocalizedName("bootsAzurite").setTextureName("kingdom:helmetAzurite").setCreativeTab(CreativeTabs.tabCombat);
      
              itemPyriteHelmet = new ItemPyriteArmor(armorPyrite, 0).setUnlocalizedName("helmetPyrite").setTextureName("kingdom:helmetPyrite").setCreativeTab(CreativeTabs.tabCombat);
              itemPyriteChestplate = new ItemPyriteArmor(armorPyrite, 1).setUnlocalizedName("chestPlatePyrite").setTextureName("kingdom:helmetPyrite").setCreativeTab(CreativeTabs.tabCombat);
              itemPyriteLeggings = new ItemPyriteArmor(armorPyrite, 2).setUnlocalizedName("leggingsPyrite").setTextureName("kingdom:helmetPyrite").setCreativeTab(CreativeTabs.tabCombat);
              itemPyriteBoots = new ItemPyriteArmor(armorPyrite, 3).setUnlocalizedName("bootsPyrite").setTextureName("kingdom:helmetPyrite").setCreativeTab(CreativeTabs.tabCombat);
      
              itemPlatineHelmet = new ItemPlatineArmor(armorPlatine, 0).setUnlocalizedName("helmetPlatine").setTextureName("kingdom:helmetPlatine").setCreativeTab(CreativeTabs.tabCombat);
              itemPlatineChestplate = new ItemPlatineArmor(armorPlatine, 1).setUnlocalizedName("chestPlatePlatine").setTextureName("kingdom:helmetPlatine").setCreativeTab(CreativeTabs.tabCombat);
              itemPlatineLeggings = new ItemPlatineArmor(armorPlatine, 2).setUnlocalizedName("leggingsPlatine").setTextureName("kingdom:helmetPlatine").setCreativeTab(CreativeTabs.tabCombat);
              itemPlatineBoots = new ItemPlatineArmor(armorPlatine, 3).setUnlocalizedName("bootsPlatine").setTextureName("kingdom:helmetPlatine").setCreativeTab(CreativeTabs.tabCombat);
      
              GameRegistry.registerItem(itemAzurite, "item_azurite");
              GameRegistry.registerItem(itemPyrite, "item_pyrite");
              GameRegistry.registerItem(itemPlatine, "item_platine");
      
              GameRegistry.registerBlock(blockAzuriteOre, "block_azuriteore");
              GameRegistry.registerBlock(blockPyriteOre, "block_pyriteore");
              GameRegistry.registerBlock(blockPyrite, "block_pyrite");
              GameRegistry.registerBlock(blockPlatine, "block_platine");
              GameRegistry.registerBlock(blockAzurite, "block_azurite");
      
              GameRegistry.registerItem(itemPlatineHelmet, "platine_helmet");
              GameRegistry.registerItem(itemPlatineChestplate, "platine_chestplate");
              GameRegistry.registerItem(itemPlatineLeggings, "platine_leggings");
              GameRegistry.registerItem(itemPlatineBoots, "platine_boots");
      
              GameRegistry.registerItem(itemPyriteHelmet, "pyrite_helmet");
              GameRegistry.registerItem(itemPyriteChestplate, "pyrite_chestplate");
              GameRegistry.registerItem(itemPyriteLeggings, "pyrite_leggings");
              GameRegistry.registerItem(itemPyriteBoots, "pyrite_boots");
      
              GameRegistry.registerItem(itemAzuriteHelmet, "azurite_helmet");
              GameRegistry.registerItem(itemAzuriteChestplate, "azurite_chestplate");
              GameRegistry.registerItem(itemAzuriteLeggings, "azurite_leggings");
              GameRegistry.registerItem(itemAzuriteBoots, "azurite_boots");
      
          }
      
          @EventHandler
          public void init(FMLInitializationEvent event)
          {
      
          }
      
          @EventHandler
          public void postInit(FMLPostInitializationEvent event)
          {
      
          }
          public static final String MODID = "kingdom";
      }
      

      et la console :

      [19:34:42] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
      [19:34:43] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
      [19:34:43] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
      [19:34:43] [main/INFO] [FML]: Forge Mod Loader version 7.2.217.1147 for Minecraft 1.7.2 loading
      [19:34:43] [main/INFO] [FML]: Java is Java HotSpot(TM) Client VM, version 1.8.0_11, running on Windows 7:x86:6.1, installed at C:\Program Files (x86)\Java\jdk1.8.0_11\jre
      [19:34:43] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
      [19:34:43] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
      [19:34:43] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
      [19:34:43] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
      [19:34:43] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
      [19:34:43] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
      [19:34:43] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
      [19:34:44] [main/ERROR] [FML]: The minecraft jar file:/C:/Users/Arthur/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.2.1147/forgeSrc-1.7.2-10.12.2.1147.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again!
      [19:34:44] [main/ERROR] [FML]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem!
      [19:34:44] [main/ERROR] [FML]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/Arthur/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.2.1147/forgeSrc-1.7.2-10.12.2.1147.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it
      [19:34:44] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
      [19:34:44] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
      [19:34:44] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
      [19:34:44] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
      [19:34:45] [main/INFO]: Setting user: Player781
      [19:34:46] [Client thread/INFO]: LWJGL Version: 2.9.0
      [19:34:46] [Client thread/ERROR]: Couldn't set icon
      javax.imageio.IIOException: Can't read input file!
      at javax.imageio.ImageIO.read(ImageIO.java:1301) ~[?:1.8.0_11]
      at net.minecraft.client.Minecraft.readImage(Minecraft.java:641) ~[Minecraft.class:?]
      at net.minecraft.client.Minecraft.startGame(Minecraft.java:470) [Minecraft.class:?]
      at net.minecraft.client.Minecraft.run(Minecraft.java:892) [Minecraft.class:?]
      at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_11]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_11]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_11]
      at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_11]
      at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
      at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
      [19:34:47] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
      [19:34:47] [Client thread/INFO] [FML]: MinecraftForge v10.12.2.1147 Initialized
      [19:34:47] [Client thread/INFO] [FML]: Replaced 182 ore recipies
      [19:34:47] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
      [19:34:47] [Client thread/INFO] [FML]: Searching C:\Users\Arthur\Desktop\mod\eclipse\mods for mods
      [19:34:47] [Client thread/ERROR] [FML]: FML has detected a mod that is using a package name based on 'net.minecraft.src' : net.minecraft.src.FMLRenderAccessLibrary. This is generally a severe programming error.  There should be no mod code in the minecraft namespace. MOVE YOUR MOD! If you're in eclipse, select your source code and 'refactor' it into a new package. Go on. DO IT NOW!
      [19:34:49] [Client thread/INFO] [FML]: Forge Mod Loader has identified 5 mods to load
      [19:34:50] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Example Mod, FMLFileResourcePack:Kingdom
      [19:34:50] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
      [19:34:50] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations
      [19:34:50] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
      [19:34:50] [Client thread/INFO] [FML]: Applying holder lookups
      [19:34:50] [Client thread/INFO] [FML]: Holder lookups applied
      [19:34:50] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue
      [19:34:50] [Client thread/ERROR] [FML]: 
      mcp{9.03} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized
      FML{7.2.217.1147} [Forge Mod Loader] (forgeSrc-1.7.2-10.12.2.1147.jar) Unloaded->Constructed->Pre-initialized
      Forge{10.12.2.1147} [Minecraft Forge] (forgeSrc-1.7.2-10.12.2.1147.jar) Unloaded->Constructed->Pre-initialized
      examplemod{1.0} [Example Mod] (bin) Unloaded->Constructed->Pre-initialized
      kingdom{1.0.0} [Kingdom] (bin) Unloaded->Constructed->Errored
      [19:34:50] [Client thread/ERROR] [FML]: The following problems were captured during this phase
      [19:34:50] [Client thread/ERROR] [FML]: Caught exception from kingdom
      java.lang.NullPointerException
      at mod.kingdom.client.Kingdom.preInit(Kingdom.java:68) ~[Kingdom.class:?]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_11]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_11]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_11]
      at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_11]
      at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513) ~[FMLModContainer.class:?]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_11]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_11]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_11]
      at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_11]
      at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) ~[guava-15.0.jar:?]
      at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47) ~[guava-15.0.jar:?]
      at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) ~[guava-15.0.jar:?]
      at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) ~[guava-15.0.jar:?]
      at com.google.common.eventbus.EventBus.post(EventBus.java:267) ~[guava-15.0.jar:?]
      at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) ~[LoadController.class:?]
      at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) ~[LoadController.class:?]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_11]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_11]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_11]
      at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_11]
      at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) ~[guava-15.0.jar:?]
      at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47) ~[guava-15.0.jar:?]
      at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) ~[guava-15.0.jar:?]
      at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) ~[guava-15.0.jar:?]
      at com.google.common.eventbus.EventBus.post(EventBus.java:267) ~[guava-15.0.jar:?]
      at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118) [LoadController.class:?]
      at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:512) [Loader.class:?]
      at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:239) [FMLClientHandler.class:?]
      at net.minecraft.client.Minecraft.startGame(Minecraft.java:522) [Minecraft.class:?]
      at net.minecraft.client.Minecraft.run(Minecraft.java:892) [Minecraft.class:?]
      at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_11]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_11]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_11]
      at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_11]
      at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
      at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
      –-- Minecraft Crash Report ----
      // Daisy, daisy...
      
      Time: 10/09/14 19:34
      Description: Initializing game
      
      java.lang.NullPointerException: Initializing game
      at mod.kingdom.client.Kingdom.preInit(Kingdom.java:68)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:483)
      at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:483)
      at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
      at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47)
      at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
      at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
      at com.google.common.eventbus.EventBus.post(EventBus.java:267)
      at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)
      at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:483)
      at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
      at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47)
      at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
      at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
      at com.google.common.eventbus.EventBus.post(EventBus.java:267)
      at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
      at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:512)
      at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:239)
      at net.minecraft.client.Minecraft.startGame(Minecraft.java:522)
      at net.minecraft.client.Minecraft.run(Minecraft.java:892)
      at net.minecraft.client.main.Main.main(Main.java:112)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:483)
      at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
      at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
      
      A detailed walkthrough of the error, its code path and all known details is as follows:
      ---------------------------------------------------------------------------------------
      
      -- Head --
      Stacktrace:
      at mod.kingdom.client.Kingdom.preInit(Kingdom.java:68)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:483)
      at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:483)
      at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
      at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47)
      at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
      at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
      at com.google.common.eventbus.EventBus.post(EventBus.java:267)
      at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)
      at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:483)
      at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
      at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47)
      at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
      at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
      at com.google.common.eventbus.EventBus.post(EventBus.java:267)
      at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
      at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:512)
      at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:239)
      at net.minecraft.client.Minecraft.startGame(Minecraft.java:522)
      
      -- Initialization --
      Details:
      Stacktrace:
      at net.minecraft.client.Minecraft.run(Minecraft.java:892)
      at net.minecraft.client.main.Main.main(Main.java:112)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:483)
      at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
      at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
      
      -- System Details --
      Details:
      Minecraft Version: 1.7.2
      Operating System: Windows 7 (x86) version 6.1
      Java Version: 1.8.0_11, Oracle Corporation
      Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
      Memory: 915518856 bytes (873 MB) / 1046937600 bytes (998 MB) up to 1046937600 bytes (998 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.03 FML v7.2.217.1147 Minecraft Forge 10.12.2.1147 5 mods loaded, 5 mods active
      mcp{9.03} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized
      FML{7.2.217.1147} [Forge Mod Loader] (forgeSrc-1.7.2-10.12.2.1147.jar) Unloaded->Constructed->Pre-initialized
      Forge{10.12.2.1147} [Minecraft Forge] (forgeSrc-1.7.2-10.12.2.1147.jar) Unloaded->Constructed->Pre-initialized
      examplemod{1.0} [Example Mod] (bin) Unloaded->Constructed->Pre-initialized
      kingdom{1.0.0} [Kingdom] (bin) Unloaded->Constructed->Errored
      Launched Version: 1.6
      LWJGL: 2.9.0
      OpenGL: GeForce GT 525M/PCIe/SSE2 GL version 4.4.0, NVIDIA Corporation
      Is Modded: Definitely; Client brand changed to 'fml,forge'
      Type: Client (map_client.txt)
      Resource Packs: []
      Current Language: ~~ERROR~~ NullPointerException: null
      Profiler Position: N/A (disabled)
      Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
      Anisotropic Filtering: Off (1)
      #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Arthur\Desktop\mod\eclipse\.\crash-reports\crash-2014-09-10_19.34.50-client.txt
      Java HotSpot(TM) Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
      

      et je comprend vraiment pas donc voilà merci d’avance pour votre aide et bonne soirée 🙂

      1 réponse Dernière réponse Répondre Citer 0
      • robin4002
        robin4002 Moddeurs confirmés Rédacteurs Administrateurs dernière édition par

        Quelque chose est null à la ligne 68 de ta classe Kingdom.

        1 réponse Dernière réponse Répondre Citer 0
        • T
          TheBlueDemon dernière édition par

          ok je vais voir merci 😉

          Edit : c’est bon il y avait un code bizzare dans la class de mes items avec un return null; xD

          1 réponse Dernière réponse Répondre Citer 0
          • utybo
            utybo dernière édition par

            Met en résolu s’il te plait

            Moddeur à la retraite et développeur de trucs en Java.

            J'aide les gens comme je peux, alors si mon message v…

            1 réponse Dernière réponse Répondre Citer 0
            • 1 / 1
            • Premier message
              Dernier message
            Design by Woryk
            Contact / Mentions Légales

            MINECRAFT FORGE FRANCE © 2018

            Powered by NodeBB