ThatGravyBoat / Craftify

Craftify is a mod for Minecraft which allows you to display and control your spotify within the game rather than having to go to the app.
Other
74 stars 8 forks source link

Crash on startup #121

Closed Alexciao closed 3 months ago

Alexciao commented 3 months ago

The mod crashes on startup, seemingly as a result of a conflict with Essential. I've tried all compatible versions of the Craftify mod. I'm on Minecraft 1.20.1 with Fabric 0.15.6.

Here is the crash log.

The error only happens with Craftify installed. It looks like it's trying to access a "Essential Dependencies" file, but that is in use by another process. I don't know what the process is, I've tried investigating.

A mod crashed on startup!
net.fabricmc.loader.impl.FormattedException: java.lang.RuntimeException: Could not execute entrypoint stage 'preLaunch' due to errors, provided by 'essential-loader'!
    at net.fabricmc.loader.impl.FormattedException.ofLocalized(FormattedException.java:63)
    at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:162)
    at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:68)
    at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
Caused by: java.lang.RuntimeException: Could not execute entrypoint stage 'preLaunch' due to errors, provided by 'essential-loader'!
    at net.fabricmc.loader.impl.FabricLoaderImpl.lambda$invokeEntrypoints$2(FabricLoaderImpl.java:388)
    at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33)
    at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:386)
    at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:160)
    ... 2 more
Caused by: net.fabricmc.loader.api.EntrypointException: Exception while loading entries for entrypoint 'preLaunch' provided by 'essential-loader'
    at net.fabricmc.loader.impl.entrypoint.EntrypointContainerImpl.getEntrypoint(EntrypointContainerImpl.java:56)
    at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:384)
    ... 3 more
Caused by: net.fabricmc.loader.api.LanguageAdapterException: java.lang.reflect.InvocationTargetException
    at net.fabricmc.loader.impl.util.DefaultLanguageAdapter.create(DefaultLanguageAdapter.java:60)
    at net.fabricmc.loader.impl.entrypoint.EntrypointStorage$NewEntry.getOrCreate(EntrypointStorage.java:117)
    at net.fabricmc.loader.impl.entrypoint.EntrypointContainerImpl.getEntrypoint(EntrypointContainerImpl.java:53)
    ... 4 more
Caused by: java.lang.reflect.InvocationTargetException
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
    at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
    at net.fabricmc.loader.impl.util.DefaultLanguageAdapter.create(DefaultLanguageAdapter.java:58)
    ... 6 more
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
    at gg.essential.loader.stage0.EssentialSetupPreLaunch.<init>(EssentialSetupPreLaunch.java:22)
    ... 12 more
Caused by: java.lang.reflect.InvocationTargetException
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
    at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
    at gg.essential.loader.stage0.EssentialSetupPreLaunch.loadStage1(EssentialSetupPreLaunch.java:37)
    at gg.essential.loader.stage0.EssentialSetupPreLaunch.<init>(EssentialSetupPreLaunch.java:20)
    ... 12 more
Caused by: 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 gg.essential.loader.stage1.EssentialLoaderBase.load(EssentialLoaderBase.java:293)
    at gg.essential.loader.stage1.EssentialSetupPreLaunch.<init>(EssentialSetupPreLaunch.java:18)
    ... 19 more
Caused by: java.lang.RuntimeException: Error updating Essential Dependencies mod
    at gg.essential.loader.stage2.jij.JarInJarDependenciesHandler.complete(JarInJarDependenciesHandler.java:262)
    at gg.essential.loader.stage2.EssentialLoader.addToClasspath(EssentialLoader.java:119)
    at gg.essential.loader.stage2.EssentialLoaderBase.loadMod(EssentialLoaderBase.java:421)
    at gg.essential.loader.stage2.EssentialLoaderBase.load(EssentialLoaderBase.java:133)
    ... 25 more
Caused by: java.nio.file.FileSystemException: C:\Users\alexc\AppData\Roaming\com.modrinth.theseus\profiles\Yet Another Quality Of Life Modpack\mods\Essential Dependencies.jar: Impossibile accedere al file. Il file è utilizzato da un altro processo
    at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:92)
    at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
    at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
    at java.base/sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:275)
    at java.base/sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:105)
    at java.base/java.nio.file.Files.delete(Files.java:1152)
    at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.sync(ZipFileSystem.java:1857)
    at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.lambda$close$9(ZipFileSystem.java:484)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:569)
    at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.close(ZipFileSystem.java:483)
    at gg.essential.loader.stage2.jij.SyntheticModJar.close(SyntheticModJar.java:100)
    at gg.essential.loader.stage2.jij.JarInJarDependenciesHandler.updateSyntheticMod(JarInJarDependenciesHandler.java:370)
    at gg.essential.loader.stage2.jij.JarInJarDependenciesHandler.complete(JarInJarDependenciesHandler.java:260)
    ... 28 more
ThatGravyBoat commented 3 months ago

This is because essential does not support the standard JIJ of fabric mod loader