SKCraft / Launcher

🚀 Distribute your Minecraft modpacks with a custom launcher
Other
624 stars 437 forks source link

After update launcher to newest commit (Gradle 7) my packs wont start #465

Closed Bartixxx32 closed 2 years ago

Bartixxx32 commented 2 years ago

Hello, as in topic, i saw there was repo update and i have downloaded it, now as i see my packs wont start, ofc i can revert to piervous builds, but thats not point of that

Version 1.7.10, wont start 1.16.5 seems fine

And what i saw as far, when builded with older version of Modpack creator it started fine

To report this error, please provide:

java.lang.NullPointerException
    at com.skcraft.launcher.launch.Runner.addJvmArgs(Runner.java:278)
    at com.skcraft.launcher.launch.Runner.call(Runner.java:143)
    at com.skcraft.launcher.launch.Runner.call(Runner.java:47)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:750)

image

hedgehog1029 commented 2 years ago

Hah, I did some dependency upgrades but didn't test too far past "it builds" - I will take a look.

The main branch can be a little unstable - I don't really have a proper release system in place. It's been on the TODO list for a while.

Bartixxx32 commented 2 years ago

sorry, i was wrong, i compared the _upload folder from new build and old, theres no changes except build date, then i guess launcher has issue

Bartixxx32 commented 2 years ago

Rn, im lost, im gonna try to reproduce it agin, becouse now all works, but tbh i tested on only 1 of 3 packs, maybe there was some kind of json bug or so

hedgehog1029 commented 2 years ago

I couldn't immediately reproduce it locally. Seems to be some kind of issue with the manifest? I would've thought the parser would throw before it got to that point though.

Bartixxx32 commented 2 years ago

yeah, im still working on it, now in modpack creator i have same error and will try use same workspace, but older (working) commit revision before gradle update

Bartixxx32 commented 2 years ago

And, on commit 8e1337d603c4c66501b0a7bb34e31c154e9c7d86 is working

Gonna diff the _upload folder between new and old creator, but i guess that not the point

Bartixxx32 commented 2 years ago

If you want, i can share with my workspace to you, whih is not working on latest commit for some reason

Bartixxx32 commented 2 years ago

I think i found an issue, Left - broken Right - older ver image

hedgehog1029 commented 2 years ago

Oh yeah that's definitely a problem. I guess 1.7.10 doesn't really have jvm arguments? Hang on, I have a test pack for that locally...

hedgehog1029 commented 2 years ago

OK yup I can reproduce this with a 1.7.10 pack locally

Bartixxx32 commented 2 years ago

Thats nice to hear!

Bartixxx32 commented 2 years ago

Is 0a5abee9561df3c9b278c82ade2edaec329a6b0b with fixed issue i mentioned? or not yet?

Bartixxx32 commented 2 years ago

closed by mistake :P

hedgehog1029 commented 2 years ago

Should be fixed in 2fe96e443567dbf503d060d480e842c7aed2e6fb :)

Bartixxx32 commented 2 years ago

Thanks a lot gonna test for sure!