Crash On Startup

Trying to startup my new server with a new NeoForge modpack and it gives me this method whenever I try to start it up. No sure whatException in thread "main" java.lang.IllegalArgumentException: 1.0.5-mc1.21+: Empty pre-release really means. Whats causing the issue and is there a known fix?
Solution:
I tried installing a different modpack and it didnt work on install. So i figure its two things a.) The automautic installer for EnviroMC is bugged. It detects the modlist and downloads the latest version of each mod, even if its not the one in the actual modpack. b.) when using neoforge, it makes a server.jar file. Instead of using that server.jar file in -jar server.jar, I should've just done ./run.sh...
Jump to solution
15 Replies
Priority6
Priority6OP2mo ago
oh wait i think i figured it out
Priority6
Priority6OP2mo ago
It was a weird file name issue with a mod that had a "+" at the end of it. Now im running into this issue
Priority6
Priority6OP2mo ago
ok i figured it out. it didnt install neoforge for some reason automautically Just making sure it actually fully starts up now... Ok now im getting this
Priority6
Priority6OP2mo ago
maybe an issue with modernfix and kubejs??? Specifically towards the very end is where im getting that from
[01:43:46] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:673]: ... 21 more
[01:43:46] [main/INFO] [STDERR/]: [java.lang.Throwable:lockedPrintStackTrace:696]: Caused by: java.lang.NullPointerException
[01:43:46] [main/INFO] [STDERR/]: [java.lang.Throwable:lockedPrintStackTrace:696]: at java.base/java.util.Objects.requireNonNull(Objects.java:233)
[01:43:46] [main/INFO] [STDERR/]: [java.lang.Throwable:lockedPrintStackTrace:696]: at java.base/java.util.ImmutableCollections$SetN.contains(ImmutableCollections.java:944)
[01:43:46] [main/INFO] [STDERR/]: [java.lang.Throwable:lockedPrintStackTrace:696]: at TRANSFORMER/kubejs@2101.7.1-build.181/dev.latvian.mods.kubejs.registry.RegistryType$Scanner.scan(RegistryType.java:191)
[01:43:46] [main/INFO] [STDERR/]: [java.lang.Throwable:lockedPrintStackTrace:696]: at TRANSFORMER/minecraft@1.21.1/net.minecraft.resources.ResourceKey.handler$cek000$kubejs$kjs$getKeyStackTraces(ResourceKey.java:1037)
[...]
[01:43:46] [main/INFO] [STDERR/]: [java.lang.Throwable:lockedPrintStackTrace:696]: at TRANSFORMER/minecraft@1.21.1/net.minecraft.resources.ResourceKey.handler$zce000$modernfix$createEfficient(ResourceKey.java:522)
[01:43:46] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:673]: ... 21 more
[01:43:46] [main/INFO] [STDERR/]: [java.lang.Throwable:lockedPrintStackTrace:696]: Caused by: java.lang.NullPointerException
[01:43:46] [main/INFO] [STDERR/]: [java.lang.Throwable:lockedPrintStackTrace:696]: at java.base/java.util.Objects.requireNonNull(Objects.java:233)
[01:43:46] [main/INFO] [STDERR/]: [java.lang.Throwable:lockedPrintStackTrace:696]: at java.base/java.util.ImmutableCollections$SetN.contains(ImmutableCollections.java:944)
[01:43:46] [main/INFO] [STDERR/]: [java.lang.Throwable:lockedPrintStackTrace:696]: at TRANSFORMER/kubejs@2101.7.1-build.181/dev.latvian.mods.kubejs.registry.RegistryType$Scanner.scan(RegistryType.java:191)
[01:43:46] [main/INFO] [STDERR/]: [java.lang.Throwable:lockedPrintStackTrace:696]: at TRANSFORMER/minecraft@1.21.1/net.minecraft.resources.ResourceKey.handler$cek000$kubejs$kjs$getKeyStackTraces(ResourceKey.java:1037)
[...]
[01:43:46] [main/INFO] [STDERR/]: [java.lang.Throwable:lockedPrintStackTrace:696]: at TRANSFORMER/minecraft@1.21.1/net.minecraft.resources.ResourceKey.handler$zce000$modernfix$createEfficient(ResourceKey.java:522)
`
Priority6
Priority6OP2mo ago
here is the entire latest.log
Priority6
Priority6OP2mo ago
Removing modernfix causes a different, tho seemingly similar, crash
Priority6
Priority6OP2mo ago
i am genuinely so lost lmao I tried a different modpack. Crashes on startup as well. Im beginning to think its my provider thats the issue
Lunaiskey
Lunaiskey2mo ago
last time i saw an InvocationTargetException when running a minecraft server was back when people tried running more then java 11 on forge 1.16.5 and below very odd
Priority6
Priority6OP2mo ago
I think I mightve found the issue
Solution
Priority6
Priority62mo ago
I tried installing a different modpack and it didnt work on install. So i figure its two things a.) The automautic installer for EnviroMC is bugged. It detects the modlist and downloads the latest version of each mod, even if its not the one in the actual modpack. b.) when using neoforge, it makes a server.jar file. Instead of using that server.jar file in -jar server.jar, I should've just done ./run.sh
Priority6
Priority6OP2mo ago
At least at the very moment, I got it working on the second modpack. Probably won't switch back cause I really don't want to deal with manual installation again through SFTP lol
Lunaiskey
Lunaiskey2mo ago
for future reference, download the version of the pack you want on your own pc, then upload it through ftp rather then using a host's installer
Priority6
Priority6OP2mo ago
Ya I figure that now. Even on the first modpack i tried did it manually eventually (the crashes didnt stop tho) happy i got something working now tho

Did you find this page helpful?