=Crash Minecraft Mod



  • Bonjour, j'ai crée un mod mais quand je le met sur mon launcher, le launcher crash.

    La version : 1.7.2-10.12.2.1121

    Le crash :

    Client> java.lang.NoClassDefFoundError: net/metalfight/metalmod/proxy/CustomGuiMainMenu
    Client> at java.lang.Class.forName0(Native Method)
    Client> at java.lang.Class.forName(Unknown Source)
    Client> at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:420)
    Client> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    Client> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    Client> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    Client> at java.lang.reflect.Method.invoke(Unknown Source)
    Client> at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
    Client> at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47)
    Client> at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
    Client> at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
    Client> at com.google.common.eventbus.EventBus.post(EventBus.java:267)
    Client> at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)
    Client> at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
    Client> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    Client> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    Client> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    Client> at java.lang.reflect.Method.invoke(Unknown Source)
    Client> at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
    Client> at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47)
    Client> at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
    Client> at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
    Client> at com.google.common.eventbus.EventBus.post(EventBus.java:267)
    Client> at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
    Client> at cpw.mods.fml.common.Loader.loadMods(Loader.java:491)
    Client> at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:204)
    Client> at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:467)
    Client> at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:815)
    Client> at net.minecraft.client.main.Main.main(SourceFile:103)
    Client> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    Client> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    Client> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    Client> at java.lang.reflect.Method.invoke(Unknown Source)
    Client> at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
    Client> at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    Client> Caused by: java.lang.ClassNotFoundException: net.metalfight.metalmod.proxy.CustomGuiMainMenu
    Client> at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:188)
    Client> at java.lang.ClassLoader.loadClass(Unknown Source)
    Client> at java.lang.ClassLoader.loadClass(Unknown Source)
    Client> … 35 more
    Client> Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/gui/GuiYesNoCallback
    Client> at java.lang.ClassLoader.defineClass1(Native Method)
    Client> at java.lang.ClassLoader.defineClass(Unknown Source)
    Client> at java.security.SecureClassLoader.defineClass(Unknown Source)
    Client> at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:180)
    Client> ... 37 more
    Client> Caused by: java.lang.ClassNotFoundException: net.minecraft.client.gui.GuiYesNoCallback
    Client> at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:188)
    Client> at java.lang.ClassLoader.loadClass(Unknown Source)
    Client> at java.lang.ClassLoader.loadClass(Unknown Source)
    Client> ... 41 more
    Client> Caused by: java.lang.NullPointerException
    Client> at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:180)
    Client> ... 43 more
    Client>
    Client>
    Client> A detailed walkthrough of the error, its code path and all known details is as follows:
    Client> ---------------------------------------------------------------------------------------
    Client>
    Client> -- Head --
    Client> Stacktrace:
    Client> at java.lang.Class.forName0(Native Method)
    Client> at java.lang.Class.forName(Unknown Source)
    Client> at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:420)
    Client> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    Client> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    Client> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    Client> at java.lang.reflect.Method.invoke(Unknown Source)
    Client> at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
    Client> at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47)
    Client> at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
    Client> at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
    Client> at com.google.common.eventbus.EventBus.post(EventBus.java:267)
    Client> at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)
    Client> at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
    Client> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    Client> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    Client> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    Client> at java.lang.reflect.Method.invoke(Unknown Source)
    Client> at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
    Client> at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47)
    Client> at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
    Client> at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
    Client> at com.google.common.eventbus.EventBus.post(EventBus.java:267)
    Client> at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
    Client> at cpw.mods.fml.common.Loader.loadMods(Loader.java:491)
    Client> at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:204)
    Client> at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:467)
    Client>
    Client> -- Initialization --
    Client> Details:
    Client> Stacktrace:
    Client> at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:815)
    Client> at net.minecraft.client.main.Main.main(SourceFile:103)
    Client> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    Client> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    Client> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    Client> at java.lang.reflect.Method.invoke(Unknown Source)
    Client> at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
    Client> at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    

  • Administrateurs

    Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/gui/GuiYesNoCallback
    Il ne trouve pas la classe GuiYesNoCallback. Il me semble que cette classe à été ajouté en 1.7.10, donc j'en conclus que tu as installé un mod 1.7.10 en 1.7.2, ce qui ne fonctionne pas.



  • Je n'ai pas de GuiYesNoCallback mais GuiYesNo


  • Administrateurs

    Envoie ta classe CustomGuiMainMenu ?