Posted July 10, 201312 yr Hello everyone I just setup my development environment with a new version of Forge (789) and added all the Libraries from mcp/jar/libraries to my classpath and set the source folder to be mcp/src/minecraft. So when I launch Minecraft with the Start.java class I get the following NullPointer Exception: Exception in thread "main" java.lang.NullPointerException at java.util.logging.Logger.setParent(Logger.java:1406) at net.minecraft.logging.LogAgent.setupLogger(LogAgent.java:33) at net.minecraft.logging.LogAgent.<init>(LogAgent.java:25) at net.minecraft.client.Minecraft.<init>(Minecraft.java:308) at net.minecraft.client.main.Main.main(Main.java:77) at Start.main(Start.java:68) I have no clue, how I could fix that, because I didn't touch the source directory yet, it is like forges install.bat left it. BTW: I work with IntelliJ IDEA, but I don't think that matters I thank you in advance
July 10, 201312 yr You need to use the Launcher class as the main method now not Start class. Afaik it's needed to proxy the new minecraft loader
July 11, 201312 yr Author Thank you for your answer, but unfortunately this gives me another error: Jul 11, 2013 2:17:53 PM net.minecraft.launchwrapper.LogWrapper log INFO: Using tweak class name net.minecraft.launchwrapper.VanillaTweaker Jul 11, 2013 2:17:54 PM net.minecraft.launchwrapper.LogWrapper log SEVERE: Unable to launch java.lang.NoSuchMethodException: net.minecraft.client.Minecraft.main([Ljava.lang.String;) at java.lang.Class.getMethod(Class.java:1622) at net.minecraft.launchwrapper.Launch.launch(Launch.java:54) at net.minecraft.launchwrapper.Launch.main(Launch.java:18) When i look in the Minecraft class, i can't see a main method, should there be one?
July 11, 201312 yr Author That's what I was doing. But I got the error I posted above. The error is just, that there is no main method in net.minecraft.client.Minecraft, so obviously this gets called by the net.minecraft.launchwrapper.Launch class, but doesn't exist.
July 11, 201312 yr Do you have the program arguments --version 1.6 --tweakClass cpw.mods.fml.common.launcher.FMLTweaker
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.