OptiFabric

OptiFabric

9M Downloads

Failed to load optifine 1.18.1

apsiocxh opened this issue ยท 2 comments

commented

stack-trace
java.lang.RuntimeException: Failed to remap jar
at me.modmuss50.optifabric.mod.OptifineSetup.remapOptifine(OptifineSetup.java:226)
at me.modmuss50.optifabric.mod.OptifineSetup.remapOptifine(OptifineSetup.java:211)
at me.modmuss50.optifabric.mod.OptifineSetup.getRuntime(OptifineSetup.java:165)
at me.modmuss50.optifabric.mod.OptifabricSetup.run(OptifabricSetup.java:43)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at com.chocohead.mm.Plugin.getMixins(Plugin.java:340)
at org.spongepowered.asm.mixin.transformer.PluginHandle.getMixins(PluginHandle.java:128)
at org.spongepowered.asm.mixin.transformer.MixinConfig.postInitialise(MixinConfig.java:796)
at org.spongepowered.asm.mixin.transformer.MixinProcessor.prepareConfigs(MixinProcessor.java:568)
at org.spongepowered.asm.mixin.transformer.MixinProcessor.select(MixinProcessor.java:462)
at org.spongepowered.asm.mixin.transformer.MixinProcessor.checkSelect(MixinProcessor.java:438)
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:290)
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:234)
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:202)
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:247)
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:150)
at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:155)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at net.fabricmc.loader.impl.util.DefaultLanguageAdapter.create(DefaultLanguageAdapter.java:50)
at net.fabricmc.loader.impl.entrypoint.EntrypointStorage$NewEntry.getOrCreate(EntrypointStorage.java:117)
at net.fabricmc.loader.impl.entrypoint.EntrypointContainerImpl.getEntrypoint(EntrypointContainerImpl.java:53)
at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:47)
at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke(EntrypointUtils.java:35)
at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:157)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:71)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
Caused by: java.nio.file.AccessDeniedException: C:\WINDOWS\TEMP\optifabric52275952522757659\Optifine-remapped.jar
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:89)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:96)
at java.base/sun.nio.fs.WindowsLinkSupport.getRealPath(WindowsLinkSupport.java:258)
at java.base/sun.nio.fs.WindowsPath.toRealPath(WindowsPath.java:933)
at java.base/sun.nio.fs.WindowsPath.toRealPath(WindowsPath.java:42)
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:108)
at java.base/java.nio.file.FileSystems.newFileSystem(FileSystems.java:339)
at java.base/java.nio.file.FileSystems.newFileSystem(FileSystems.java:288)
at net.fabricmc.tinyremapper.OutputConsumerPath.(OutputConsumerPath.java:113)
at net.fabricmc.tinyremapper.OutputConsumerPath.(OutputConsumerPath.java:47)
at net.fabricmc.tinyremapper.OutputConsumerPath$Builder.build(OutputConsumerPath.java:76)
at me.modmuss50.optifabric.mod.OptifineSetup.remapOptifine(OptifineSetup.java:219)
... 27 more
2022-05-29_17-36-00

commented

Access denied to the file? That's weird - try stopping antivirus software (but before doing that, make sure there isn't any malicious software)?

commented

Access denied to the file? That's weird - try stopping antivirus software (but before doing that, make sure there isn't any malicious software)?

I tried to stop antivirus and to check for malicious software, but neither of them helped. But thanks for help.