Jump to content

[Solved] What causes my "crash" ?


ezres

Recommended Posts

Hi there, I'm trying to run forge 1.7.10 from command line. I've copied all of the required libraries to a single folder, and I'm using the following code to start it:

 

java -Xmx3000m -Djava.library.path=%APPDATA%\.minecraft\versions\1.7.10-Forge10.13.2.1291\1.7.10-Forge10.13.2.1291.jar -cp %APPDATA%\.ssmc\lib\* net.minecraft.launchwrapper.Launch --session (Default) --username testuser --tweakClass cpw.mods.fml.common.launcher.FMLTweaker --version 1.7.10 --assetsDir %APPDATA%\.minecraft\assets\ --gameDir %APPDATA%\.minecraft --accessToken (Default) --assetIndex 1.7.10 --uuid

 

However, it starts to load the tweak class, but I'm getting the following error:

 

[18:17:58] [main/DEBUG] [FML/]: Runtime patching class ahu (input size 0), found 1 patch

[18:17:58] [main/ERROR] [LaunchWrapper/]: Unable to launch

java.lang.RuntimeException: java.lang.NullPointerException

at cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper.injectIntoClassLoader(CoreModManager.java:130) ~[forge-1.7.10-10.13.2.1291.jar:?]

at net.minecraft.launchwrapper.Launch.launch(Launch.java:115) [launchwrapper-1.11.jar:?]

at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]

Caused by: java.lang.NullPointerException

at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:192) ~[guava-15.0.jar:?]

at com.google.common.hash.AbstractByteHasher.putBytes(AbstractByteHasher.java:69) ~[guava-15.0.jar:?]

at com.google.common.hash.AbstractStreamingHashFunction.hashBytes(AbstractStreamingHashFunction.java:65) ~[guava-15.0.jar:?]

at cpw.mods.fml.common.patcher.ClassPatchManager.applyPatch(ClassPatchManager.java:95) ~[forge-1.7.10-10.13.2.1291.jar:?]

at cpw.mods.fml.common.patcher.ClassPatchManager.getPatchedResource(ClassPatchManager.java:60) ~[forge-1.7.10-10.13.2.1291.jar:?]

at cpw.mods.fml.common.asm.transformers.deobf.FMLDeobfuscatingRemapper.getFieldType(FMLDeobfuscatingRemapper.java:193) ~[forge-1.7.10-10.13.2.1291.jar:?]

at cpw.mods.fml.common.asm.transformers.deobf.FMLDeobfuscatingRemapper.parseField(FMLDeobfuscatingRemapper.java:170) ~[forge-1.7.10-10.13.2.1291.jar:?]

at cpw.mods.fml.common.asm.transformers.deobf.FMLDeobfuscatingRemapper.setup(FMLDeobfuscatingRemapper.java:139) ~[forge-1.7.10-10.13.2.1291.jar:?]

at cpw.mods.fml.common.asm.FMLSanityChecker.injectData(FMLSanityChecker.java:182) ~[forge-1.7.10-10.13.2.1291.jar:?]

at cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper.injectIntoClassLoader(CoreModManager.java:125) ~[forge-1.7.10-10.13.2.1291.jar:?]

... 2 more

 

 

I've checked it on google, and also in the forum too, and found out that I should delete every mod unrelated to this version, but the problem is that it's a clean install, the mods folder is empty. I've tried it with java8 and java7 too, with legacy java fixer and without it, but I have no idea for now. Anyone can help?

 

 

EDIT: Fixed it. Cause of the problem was I messed up locations of libs and other paths.

Link to comment
Share on other sites

The way you are launching the game is atrocious.

Why are you doing it manually like that?

Use the installer and normal launchers. You're missing minecraft itself.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.