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

Résolu crache : Initializing game

1.12.x
1.12.2
2
8
169
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.
  • G
    gugus dernière édition par robin4002 14 janv. 2023, 15:10 13 janv. 2023, 21:15

    bonjour j’ai un crache l’au du lancement de mon jeu pouvais vous Maider

    ---- Minecraft Crash Report ----
    // Who set us up the TNT?
    Time: 1/13/23 10:00 PM
    Description: Initializing game
    java.lang.NullPointerException: Initializing game
    at fr.gugus.tuto.util.handlers.RegistryHandler.onItemRegister(RegistryHandler.java:17)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_4_RegistryHandler_onItemRegister_Register.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
    at net.minecraftforge.fml.common.eventhandler.EventBus$1.invoke(EventBus.java:144)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
    at net.minecraftforge.registries.GameData.fireRegistryEvents(GameData.java:852)
    at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:630)
    at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:252)
    at net.minecraft.client.Minecraft.init(Minecraft.java:467)
    at net.minecraft.client.Minecraft.run(Minecraft.java:378)
    at net.minecraft.client.main.Main.main(Main.java:118)
    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 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.minecraftforge.legacydev.Main.start(Main.java:86)
    at net.minecraftforge.legacydev.MainClient.main(MainClient.java:29)
    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------
    -- Head --
    Thread: Client thread
    Stacktrace:
    at fr.gugus.tuto.util.handlers.RegistryHandler.onItemRegister(RegistryHandler.java:17)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_4_RegistryHandler_onItemRegister_Register.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
    at net.minecraftforge.fml.common.eventhandler.EventBus$1.invoke(EventBus.java:144)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
    at net.minecraftforge.registries.GameData.fireRegistryEvents(GameData.java:852)
    at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:630)
    at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:252)
    at net.minecraft.client.Minecraft.init(Minecraft.java:467)
    -- Initialization --
    Details:
    Stacktrace:
    at net.minecraft.client.Minecraft.run(Minecraft.java:378)
    at net.minecraft.client.main.Main.main(Main.java:118)
    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 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.minecraftforge.legacydev.Main.start(Main.java:86)
    at net.minecraftforge.legacydev.MainClient.main(MainClient.java:29)
    -- System Details --
    Details:
    Minecraft Version: 1.12.2
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_221, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 325528496 bytes (310 MB) / 1046478848 bytes (998 MB) up to 3769630720 bytes (3595 MB)
    JVM Flags: 0 total;
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP 9.42 Powered by Forge 14.23.5.2859 5 mods loaded, 5 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
    | State | ID | Version | Source | Signature |
    |:----- |:--------- |:------------ |:------------------------------------------------------------------ |:--------- |
    | LCH | minecraft | 1.12.2 | minecraft.jar | None |
    | LCH | mcp | 9.42 | minecraft.jar | None |
    | LCH | FML | 8.0.99.99 | forge-1.12.2-14.23.5.2859_mapped_snapshot_20171003-1.12-recomp.jar | None |
    | LCH | forge | 14.23.5.2859 | forge-1.12.2-14.23.5.2859_mapped_snapshot_20171003-1.12-recomp.jar | None |
    | LCH | tuto | 1.0 | main | None |
    Loaded coremods (and transformers):
    GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.6.0 Compatibility Profile Context 22.20.27.07.221020' Renderer: 'AMD Radeon RX 6600'
    Launched Version: 1.12.2
    LWJGL: 2.9.4
    OpenGL: AMD Radeon RX 6600 GL version 4.6.0 Compatibility Profile Context 22.20.27.07.221020, ATI Technologies Inc.
    GL Caps: Using GL 1.3 multitexturing.
    Using GL 1.3 texture combiners.
    Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
    Shaders are available because OpenGL 2.1 is supported.
    VBOs are available because OpenGL 1.5 is supported.
    Using VBOs: Yes
    Is Modded: Definitely; Client brand changed to 'fml,forge'
    Type: Client (map_client.txt)
    Resource Packs:
    Current Language: English (US)
    Profiler Position: N/A (disabled)
    CPU: 12x AMD Ryzen 5 5500
    1 réponse Dernière réponse Répondre Citer 0
    • robin4002
      robin4002 Moddeurs confirmés Rédacteurs Administrateurs dernière édition par 14 janv. 2023, 08:55

      Bonjour,

      La demande d’aide ne serait pas dans la mauvaise section ? On est bien d’accord que le mod fr.gugus.tuto est un mod que tu développes ?
      Il y a un problème dans à la ligne 17 de la classe RegistryHandler. Il faudrait le code pour trouver la cause.

      G 1 réponse Dernière réponse 14 janv. 2023, 11:40 Répondre Citer 0
      • G
        gugus @robin4002 dernière édition par 14 janv. 2023, 11:40

        @robin4002
        pour ta question je ne ses pas ou il je devais le mètre, et oui ses mon mod, pour le code le voici

        package fr.gugus.tuto.util.handlers;
        import fr.gugus.tuto.init.ItemInit;
        import fr.gugus.tuto.util.interfaces.IHasModel;
        import net.minecraft.item.Item;
        import net.minecraftforge.event.RegistryEvent;
        import net.minecraftforge.fml.common.Mod.EventBusSubscriber;
        import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
        @EventBusSubscriber
        public class RegistryHandler
        {
        @SubscribeEvent
        public static void onItemRegister(RegistryEvent.Register<Item> event) {
        for(Item item : ItemInit.ITEMS) {
        if(item instanceof IHasModel) {
        ((IHasModel)item).registerModels();
        }
        }
        }
        public static void preInitRegistries() {
        }
        public static void InitRegistries() {
        }
        }
        G 1 réponse Dernière réponse 14 janv. 2023, 12:07 Répondre Citer 0
        • G
          gugus @gugus dernière édition par 14 janv. 2023, 12:07

          @gugus
          ok le problème est règle mais j’ai un autre problème je le mes ici ou pas ?

          1 réponse Dernière réponse Répondre Citer 0
          • Déplacé de Support pour les utilisateurs par  robin4002 robin4002 14 janv. 2023, 15:10
          • robin4002
            robin4002 Moddeurs confirmés Rédacteurs Administrateurs dernière édition par 14 janv. 2023, 15:11

            Oui tu peux. Et c’est dans support pour les moddeurs qu’il fallait mettre, j’ai déplacé.

            G 1 réponse Dernière réponse 14 janv. 2023, 16:02 Répondre Citer 0
            • G
              gugus @robin4002 dernière édition par 14 janv. 2023, 16:02

              @robin4002
              ok mrc je ferai attention la prochain fois

              1 réponse Dernière réponse Répondre Citer 0
              • robin4002
                robin4002 Moddeurs confirmés Rédacteurs Administrateurs dernière édition par 14 janv. 2023, 18:05

                Du-coup quel est ton autre problème ?

                G 1 réponse Dernière réponse 17 janv. 2023, 11:31 Répondre Citer 0
                • G
                  gugus @robin4002 dernière édition par 17 janv. 2023, 11:31

                  @robin4002
                  je les mis dans “problème de texture 1.12.2” qui a était résolus 🙂

                  1 réponse Dernière réponse Répondre Citer 0
                  • Cette question est désormais résolue  G gugus 17 janv. 2023, 11:31
                  • Déplacé de Support pour les moddeurs par  robin4002 robin4002 17 janv. 2023, 11:44
                  • 1 / 1
                  3 sur 8
                  • Premier message
                    3/8
                    Dernier message
                  Design by Woryk
                  Contact / Mentions Légales

                  MINECRAFT FORGE FRANCE © 2018

                  Powered by NodeBB