Closed Jtrim777 closed 2 years ago
Root issue in the relevant project repository is McModLauncher/securejarhandler#15, which was fixed by McModLauncher/securejarhandler#16, first published in securejarhandler 1.0.1
, which the dependency in Forge was bumped to such version by https://github.com/MinecraftForge/MinecraftForge/commit/00fafb07cee8aea39e09a4e8189c2fefcbed9eca, published as 39.0.44
.
Closing due to outdated Forge installation, as latest 1.18.1 already contains the updated dependenciy with the fix.
Also, please note that our support of 1.18.x extends only to 1.18.2 currently -- older minor versions (such as 1.18 and 1.18.1) are unsupported and will never receive bugfixes once Forge moves to a newer minor version (such as 1.18.2).
Minecraft Version: 1.18.1
Forge Version: 39.0.5
Logs: Log up until hang
Steps to Reproduce:
./gradlew runClient
Description of issue: Took a while to generate a stack trace since it doesn't actually crash, but at:
there's a while loop
It appears that when there are no entries in the JAR besides the
MANIFEST.MF
file,jis.getNextJarEntry();
has no effect, and thusSecureJarVerifier.isParsingMeta(jv)
always returns true, leading to an infinite loop. This occurs when the Classpath locator is being called on by ModDiscoverer, and it finds an empty JAR in the classpath (in my case downloaded by one of my dependencies). Freezing the loading process, deleting that JAR, and then releasing it causes the game to spin up just fine.