I'd like to use this mod, but it makes my game crash
Using magiclauncher, I have this log when launching MC :
Failed to load mod from "mod_clocktime.class"
main
AWT-Shutdown
AWT-Windows
Thread-1
Image Fetcher 3
AWT-EventQueue-0
Image Fetcher 0
java.lang.reflect.InvocationTargetException
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 magic.launcher.Launcher.a(Unknown Source)
at magic.launcher.Launcher.main(Unknown Source)
Caused by: java.lang.RuntimeException: java.lang.NullPointerException
at ModLoader.ThrowException(ModLoader.java:1811)
at ModLoader.ThrowException(ModLoader.java:1819)
at ModLoader.addMod(ModLoader.java:280)
at ModLoader.readFromClassPath(ModLoader.java:1239)
... 6 more
Caused by: java.lang.NullPointerException
at mod_clocktime.<init>(mod_clocktime.java:22)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at ModLoader.addMod(ModLoader.java:269)
... 7 more
When i want to go in the GUI, MC crashes and tells me :
--- BEGIN ERROR REPORT 9c4f49b2 --------
Generated 21/01/12 14:48
Minecraft: Minecraft 1.1
OS: Windows XP (x86) version 5.1
Java: 1.7.0_02, Oracle Corporation
VM: Java HotSpot Client VM (mixed mode), Oracle Corporation
LWJGL: 2.4.2
OpenGL: GeForce 8800 GTS/PCI/SSE2 version 3.3.0, NVIDIA Corporation
java.lang.NullPointerException
at mod_clocktime.KeyboardEvent(mod_clocktime.java:72)
at ModLoader.OnTick(ModLoader.java:1163)
at EntityRendererProxy.b(EntityRendererProxy.java:16)
at net.minecraft.client.Minecraft.x(SourceFile:742)
at net.minecraft.client.Minecraft.run(SourceFile:662)
at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT 4a7f4d9e ----------
I tried installing your mod manually, i can open the GUI, but game crashes when clicking on the cheatmode button.
All tests have been done with a fresh clean MC, with only modloader and clocktime.
I hope it will help you