All the Mods 7 - ATM7

All the Mods 7 - ATM7

3M Downloads

Fails to start (Process exited error code -1)

JadeKaiser opened this issue ยท 2 comments

commented

Trying to install a fresh instance in the latest release version. When I try to start, it fails, giving the Java error code -1. The problem isn't the Java version, as I've manually set it to Java 1.17 and that would give a different error code anyways. Error log below:

java.lang.reflect.InvocationTargetException
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:210)
	at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:245)
	at org.multimc.EntryPoint.listen(EntryPoint.java:143)
	at org.multimc.EntryPoint.main(EntryPoint.java:34)
Caused by: java.lang.NoClassDefFoundError: cpw/mods/modlauncher/Launcher
	at io.github.zekerzhayard.forgewrapper.installer.detector.IFileDetector.getLibraryDir(IFileDetector.java:55)
	at io.github.zekerzhayard.forgewrapper.installer.detector.MultiMCFileDetector.getLibraryDir(MultiMCFileDetector.java:24)
	at io.github.zekerzhayard.forgewrapper.installer.detector.MultiMCFileDetector.getInstallerJar(MultiMCFileDetector.java:33)
	at io.github.zekerzhayard.forgewrapper.installer.detector.IFileDetector.getDataFromInstaller(IFileDetector.java:120)
	at io.github.zekerzhayard.forgewrapper.installer.detector.IFileDetector.getInstallProfileExtraData(IFileDetector.java:115)
	at io.github.zekerzhayard.forgewrapper.installer.detector.IFileDetector.checkExtraFiles(IFileDetector.java:147)
	at io.github.zekerzhayard.forgewrapper.installer.Main.main(Main.java:29)
	... 8 more
Caused by: java.lang.ClassNotFoundException: cpw.mods.modlauncher.Launcher
	... 15 more
Exiting with -1
Process exited with code -1.

I'm not the greatest at reading such error codes, but as best I can tell it looks like it's failing to find the Github library to finish downloading some of the mod files?

This is on the latest release of ATM-7, that is ATM 7-0.2.45, dowloaded from Curseforge here:
https://www.curseforge.com/minecraft/modpacks/all-the-mods-7/files/3666955

commented

As an additional datapoint, I've now tried loading a new instance of a different 1.18 modpack and it also failed to start in the same way. However, starting an instance I had previously installed of another (third) 1.18 modpack went off without a hitch. Perhaps one or more of the more commonly used mods really is missing from where it's supposed to be here on Github? Otherwise, it could be an issue with MultiMC in which case it's really not your problem, though that doesn't help me much.

commented

Alright, third datapoint and one that has me baffled: I tried again, without having the instance editor/error log open to watch and see it go wrong. ATM-7 started with no issue. I have no idea why it would work if I can't see it fail, and fail every time I try if I can, but it does probably mean that it's a MultiMC problem whatever it is. Sorry for any bother this might have been.