Skidamek / AutoModpack

Enjoy a seamless modpack installation process and effortless updates with a user-friendly solution that simplifies management, making your gaming experience a breeze.
https://modrinth.com/mod/automodpack
GNU Lesser General Public License v3.0
92 stars 28 forks source link

Failed to load class files and the zip file was signed improperly #60

Closed Toon2400 closed 1 year ago

Toon2400 commented 1 year ago

A mod crashed on startup! net.fabricmc.loader.impl.FormattedException: java.lang.RuntimeException: Could not execute entrypoint stage 'preLaunch' due to errors, provided by 'automodpack'! at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:164) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:68) at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) 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:214) at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:249) at org.multimc.EntryPoint.listen(EntryPoint.java:143) at org.multimc.EntryPoint.main(EntryPoint.java:34) Caused by: java.lang.RuntimeException: Could not execute entrypoint stage 'preLaunch' due to errors, provided by 'automodpack'! at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.lambda$invoke0$0(EntrypointUtils.java:51) at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33) at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:49) at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke(EntrypointUtils.java:35) at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:162) ... 10 more Caused by: java.lang.RuntimeException: Failed to load class file for 'pl.skidam.automodpack.client.modpack.DeleteMods'! at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPreMixinClassByteArray(KnotClassDelegate.java:449) at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:407) at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:323) at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:145) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520) at pl.skidam.automodpack.client.modpack.UnZip.(UnZip.java:52) at pl.skidam.automodpack.client.modpack.DownloadModpack.(DownloadModpack.java:191) at pl.skidam.automodpack.client.modpack.DownloadModpack$prepare.(DownloadModpack.java:228) at pl.skidam.automodpack.client.modpack.CheckModpack.(CheckModpack.java:55) at pl.skidam.automodpack.PreLoad.onPreLaunch(PreLoad.java:40) at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:47) ... 12 more Caused by: java.util.zip.ZipException: ZipFile invalid LOC header (bad signature) at java.base/java.util.zip.ZipFile$ZipFileInputStream.initDataOffset(ZipFile.java:920) at java.base/java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:931) at java.base/java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:448) at java.base/java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158) at java.base/java.io.FilterInputStream.read(FilterInputStream.java:132) at java.base/java.io.FilterInputStream.read(FilterInputStream.java:106) at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getRawClassByteArray(KnotClassDelegate.java:493) at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPreMixinClassByteArray(KnotClassDelegate.java:447) ... 23 more ^crash thing from the fabric popup

Skidamek commented 1 year ago

try reinstalling latest automodpack https://modrinth.com/mod/automodpack/versions

Skidamek commented 1 year ago

I guess its becouse you have in modpack.zip automodpack.jar, it shoudn't be there

Skidamek commented 1 year ago

So delete automodpack from modpack and it should works