Fails Event.Bus$1



  • Bonjour

    Je me suis tromper d'endroit, j'avais poster ce problème sur le salon lié au problème des mods, j’espère que je ne vais pas trop me faire taper...
    Bon, quand j'essaye de lancer Minecraft depuis éclipse, la console me met une gentille erreurs que je n'arrive pas a trouver:
    Capture.PNG
    Ca fait longtemps que je suis dessus ...



  • Ah et voici le dossier du crash

    ---- Minecraft Crash Report ----
    // Sorry :(
    
    Time: 7/9/19 8:57 PM
    Description: Initializing game
    
    java.lang.NullPointerException: Initializing game
    	at com.kowze.kowzemodv1.items.LoadItem.<init>(LoadItem.java:9)
    	at com.kowze.kowzemodv1.init.ModItems.init(ModItems.java:25)
    	at com.kowze.kowzemodv1.events.RegisteringEvent.RegisterItems(RegisteringEvent.java:14)
    	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_4_RegisteringEvent_RegisterItems_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:782)
    	at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:628)
    	at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:252)
    	at net.minecraft.client.Minecraft.init(Minecraft.java:513)
    	at net.minecraft.client.Minecraft.run(Minecraft.java:421)
    	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.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
    	at GradleStart.main(GradleStart.java:25)
    
    
    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------
    
    -- Head --
    Thread: Client thread
    Stacktrace:
    	at com.kowze.kowzemodv1.items.LoadItem.<init>(LoadItem.java:9)
    	at com.kowze.kowzemodv1.init.ModItems.init(ModItems.java:25)
    	at com.kowze.kowzemodv1.events.RegisteringEvent.RegisterItems(RegisteringEvent.java:14)
    	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_4_RegisteringEvent_RegisterItems_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:782)
    	at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:628)
    	at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:252)
    	at net.minecraft.client.Minecraft.init(Minecraft.java:513)
    
    -- Initialization --
    Details:
    Stacktrace:
    	at net.minecraft.client.Minecraft.run(Minecraft.java:421)
    	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.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
    	at GradleStart.main(GradleStart.java:25)
    
    -- System Details --
    Details:
    	Minecraft Version: 1.12.2
    	Operating System: Windows 10 (amd64) version 10.0
    	Java Version: 1.8.0_211, Oracle Corporation
    	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    	Memory: 865023432 bytes (824 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
    	JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    	FML: MCP 9.42 Powered by Forge 14.23.5.2768 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 |
    	|:----- |:---------- |:------------ |:-------------------------------- |:--------- |
    	| UCH   | minecraft  | 1.12.2       | minecraft.jar                    | None      |
    	| UCH   | mcp        | 9.42         | minecraft.jar                    | None      |
    	| UCH   | FML        | 8.0.99.99    | forgeSrc-1.12.2-14.23.5.2768.jar | None      |
    	| UCH   | forge      | 14.23.5.2768 | forgeSrc-1.12.2-14.23.5.2768.jar | None      |
    	| UCH   | kowzemodv1 | 1.0          | bin                              | None      |
    
    	Loaded coremods (and transformers): 
    	GL info: ' Vendor: 'Intel' Version: '4.4.0 - Build 20.19.15.4835' Renderer: 'Intel(R) HD Graphics 5500'
    	Launched Version: 1.12.2
    	LWJGL: 2.9.4
    	OpenGL: Intel(R) HD Graphics 5500 GL version 4.4.0 - Build 20.19.15.4835, Intel
    	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: 4x Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz
    


  • Je donnerais un tuto sur les energie quand mon PC sera dispo que tu n'as pas donne une valeur a un de tes Item


  • Administrateurs

    Bonsoir,

    Tu peux envoyer le code de la classe LoadItem et de ModItems ?



  • Bonjour,

    Merci pour toute vos réponses, j'ai réussi à résoudre l'erreur.


Log in to reply