java.lang.NullPointerException: Initializing game

Started by Esphirian on Mon, 03/16/2015 - 15:08
Last seen on 15:27, 17. Mar 2015
Joined Mar 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
java.lang.NullPointerException: Initializing game
Mon, 03/16/2015 - 17:36 (edited)

Hi all

 

Let me introduce myselfe.

I'm a french modmaker( so my english are a bit ugly XD) but i love this software for the possibilities we can do with him. But since 2 days i have a big problem :/

I've make a mod of 9 items who add 3 potions effects when you use this.. The mod work when i lunch him with the client of Mcreator 

 

BUT when i export in .jar or .zip One item or 9 items in One Mod or 9 mod XD... I ve do anything dat doesnt work :'(...

Minecraft say this 

---- Minecraft Crash Report ---- // Why is it breaking :(   Time: 16/03/15 14:56 Description: Initializing game   java.lang.NullPointerException: Initializing game at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:506) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:239) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:467) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:815) 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)     A detailed walkthrough of the error, its code path and all known details is as follows: ---------------------------------------------------------------------------------------   -- Head -- Stacktrace: at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:506) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:239) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:467)   -- Initialization -- Details: Stacktrace: at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:815) 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)   -- System Details -- Details: Minecraft Version: 1.7.2 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.7.0_76, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 75923632 bytes (72 MB) / 256643072 bytes (244 MB) up to 1060372480 bytes (1011 MB) JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M 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.211.1121 Minecraft Forge 10.12.2.1121 Optifine OptiFine_1.7.2_HD_C2 38 mods loaded, 0 mods active mcp{9.03} [Minecraft Coder Pack] (minecraft.jar)  FML{7.2.211.1121} [Forge Mod Loader] (forge-1.7.2-10.12.2.1121.jar)  Forge{10.12.2.1121} [Minecraft Forge] (forge-1.7.2-10.12.2.1121.jar)  battlegear2{1.0.5.5} [Mine & Blade Battlegear 2 - Bullseye] (1.7.2-MB_Battlegear2-Bullseye-1.0.5.5.jar)  simpleores{1.4.0} [SimpleOres 2] ([1.7.2] SimpleOres 2 + Fusion v1.4.0.jar)  fusionplugin{1.4.0} [SimpleOres 2 Fusion Plugin] ([1.7.2] SimpleOres 2 + Fusion v1.4.0.jar)  DamageIndicatorsMod{3.1.1} [Damage Indicators] ([1.7.2]DamageIndicatorsMod-3.1.0.jar)  extendedWorkbench{1.2.0.2} [Extended Workbench] ([1.7.2]ExtendedWorkbench v1.2.0.2.jar)  antiqueatlas{4.0.1a-1.7.2} [Antique Atlas] (antiqueatlas-4.0.1a-1.7.2.jar)  battlemusic{1.5} [Battle Music] (battlemusic-1.7.2-v1.5.jar)  Baubles{1.0.0.16} [Baubles] (Baubles-1.7.2-1.0.0.16.jar)  XaeroBetterPvP{1.0.8} [Better PVP Mod] (Better-PvP-Mod-Forge-1.7.2.jar)  CustomSpawner{3.2.0} [DrZhark's CustomSpawner] (CustomMobSpawner 3.2.0.zip)  customnpcs{1.7.2-2} [CustomNpcs] (CustomNPCs_1.7.2.jar)  DragonMounts{r38} [Dragon Mounts] (dragonmount_r38_mc1.7.x.zip)  MoCreatures{6.2.1} [DrZhark's Mo'Creatures Mod] (DrZharks MoCreatures Mod v6.2.1.zip)  DynamicLights{1.3.4} [Dynamic Lights] (DynamicLights-1.7.2.jar)  DynamicLights_onFire{1.0.4} [Dynamic Lights Burning Entity Module] (DynamicLights-1.7.2.jar)  DynamicLights_creepers{1.0.4} [Dynamic Lights Creeper Module] (DynamicLights-1.7.2.jar)  DynamicLights_dropItems{1.0.7} [Dynamic Lights EntityItem Module] (DynamicLights-1.7.2.jar)  DynamicLights_entityClasses{1.0.1} [Dynamic Lights Entity Light Module] (DynamicLights-1.7.2.jar)  DynamicLights_mobEquipment{1.0.5} [Dynamic Lights Mob Equipment Light Module] (DynamicLights-1.7.2.jar)  DynamicLights_flameArrows{1.0.0} [Dynamic Lights Fiery Arrows Light Module] (DynamicLights-1.7.2.jar)  DynamicLights_floodLights{1.0.1} [Dynamic Lights Flood Light] (DynamicLights-1.7.2.jar)  DynamicLights_otherPlayers{1.0.7} [Dynamic Lights OtherPlayers Light Module] (DynamicLights-1.7.2.jar)  DynamicLights_thePlayer{1.1.3} [Dynamic Lights Player Light Module] (DynamicLights-1.7.2.jar)  ModName{1.0.0} [ModName] (Elmenclass.zip)  Elmencraftmonnaie{1.0.0} [Elmencraftmonnaie] (Elmencraftmonnaie.zip)  NBTEdit{1.7.2.1} [In-game NBTEdit] (Forge_NBTEditv1.7.2.1.zip)  ModName{1.0.0} [ModName] (FullWarpbe.zip)  gvc{0.4.0} [Gliby's Voice Chat Mod] (GlibysVC-172_040.jar)  mythril{1.6} [Mythril mod] (mithril_mod-1.7.2-1.6.jar)  mysticaltrinkets{1.4.1} [Mystical Trinkets] (MysticalTrinkets-1.4.1.jar)  ModName{1.0.0} [ModName] (test 5.jar)  TLSpecialArmor{1.7.2} [TeeLuk's SpecialArmor] (TLSpecialArmor-1.7.2.jar)  examplemod{1.0} [examplemod] (twilightforest-1.7.2-2.1.0.jar)  TwilightForest{2.1.0} [The Twilight Forest] (twilightforest-1.7.2-2.1.0.jar)  weaponmod{1.7.2 v1.14.2} [Balkon's WeaponMod] (weaponmod-1.14.2.jar)  Launched Version: 1.7.2-Forge10.12.2.1121 LWJGL: 2.9.0 OpenGL: GeForce GTX 770/PCIe/SSE2 GL version 4.5.0 NVIDIA 347.52, NVIDIA Corporation Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Packs: [Orion Three 3.0 Complete.zip] Current Language: English (US) Profiler Position: N/A (disabled) Vec3 Pool Size: ~~ERROR~~ NullPointerException: null Anisotropic Filtering: Off (1)


i've the same version of forge and The console of my Mcreator don't write error when i "export all mod"s or" export to jar.zip" or "export in game" and it's working on client of Pylo Whyyyyyyy??? Plz help me :'((( je coucherai avec toi ce soir 
Edited by Esphirian on Mon, 03/16/2015 - 17:36
Last seen on 18:12, 23. Mar 2018
Joined Feb 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I've seen that you have lots
Mon, 03/16/2015 - 18:25

I've seen that you have lots of other mods
Maybe it's a conflict with other mod, try to install it without any other mod

Last seen on 15:27, 17. Mar 2015
Joined Mar 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:I've seen that you have lots
Mon, 03/16/2015 - 19:25

@#1
Hi dude
Thanks for answered me :).

Ok i will try that. I will inform you if that work@#1

Last seen on 15:27, 17. Mar 2015
Joined Mar 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:RE:I've seen that you have lots
Mon, 03/16/2015 - 19:34

@#1.1
Ok i've try to lunch minecraft without mod (with forge only and my mod Elmenclass)

Now i have a new error

---- Minecraft Crash Report ----
// Ouch. That hurt :(

Time: 16/03/15 19:34
Description: There was a severe problem during mod loading that has caused the game to fail

cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: net.minecraft.src.ClientProxyModName
at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:76)
at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:492)
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 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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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.loadMods(Loader.java:491)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:204)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:467)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:815)
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)
Caused by: java.lang.ClassNotFoundException: net.minecraft.src.ClientProxyModName
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:188)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:58)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:59)
... 33 more
Caused by: java.lang.NullPointerException
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:180)
... 39 more

A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
Minecraft Version: 1.7.2
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_76, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 87764368 bytes (83 MB) / 254083072 bytes (242 MB) up to 1060372480 bytes (1011 MB)
JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
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.211.1121 Minecraft Forge 10.12.2.1121 4 mods loaded, 4 mods active
mcp{9.03} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed
FML{7.2.211.1121} [Forge Mod Loader] (forge-1.7.2-10.12.2.1121.jar) Unloaded->Constructed
Forge{10.12.2.1121} [Minecraft Forge] (forge-1.7.2-10.12.2.1121.jar) Unloaded->Constructed
ModName{1.0.0} [ModName] (Elmenclass.zip) Unloaded->Errored

So my mod is apparently Errored Oo.. But Mcreator don't said that. I don't understand :/@#1.1