Fabric always fails with this
DivineSolar opened this issue ยท 21 comments
Fabric is preparing JARs on first launch, this may take a few seconds...
Failed to start Minecraft:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:196)
at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:231)
at org.multimc.EntryPoint.listen(EntryPoint.java:143)
at org.multimc.EntryPoint.main(EntryPoint.java:34)
Caused by: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.nio.file.ReadOnlyFileSystemException
at net.fabricmc.tinyremapper.TinyRemapper.waitForAll(TinyRemapper.java:917)
at net.fabricmc.tinyremapper.TinyRemapper.apply(TinyRemapper.java:742)
at net.fabricmc.tinyremapper.TinyRemapper.apply(TinyRemapper.java:706)
at net.fabricmc.loader.launch.common.FabricLauncherBase.deobfuscate(FabricLauncherBase.java:152)
at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:109)
at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:27)
... 8 more
Caused by: java.util.concurrent.ExecutionException: java.nio.file.ReadOnlyFileSystemException
at java.util.concurrent.FutureTask.report(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at net.fabricmc.tinyremapper.TinyRemapper.waitForAll(TinyRemapper.java:914)
... 13 more
Caused by: java.nio.file.ReadOnlyFileSystemException
at com.sun.nio.zipfs.ZipFileSystem.checkWritable(ZipFileSystem.java:155)
at com.sun.nio.zipfs.ZipFileSystem.createDirectory(ZipFileSystem.java:416)
at com.sun.nio.zipfs.ZipPath.createDirectory(ZipPath.java:634)
at com.sun.nio.zipfs.ZipFileSystemProvider.createDirectory(ZipFileSystemProvider.java:201)
at java.nio.file.Files.createDirectory(Unknown Source)
at java.nio.file.Files.createAndCheckIsDirectory(Unknown Source)
at java.nio.file.Files.createDirectories(Unknown Source)
at net.fabricmc.tinyremapper.OutputConsumerPath.createParentDirs(OutputConsumerPath.java:336)
at net.fabricmc.tinyremapper.OutputConsumerPath.accept(OutputConsumerPath.java:298)
at net.fabricmc.tinyremapper.OutputConsumerPath.accept(OutputConsumerPath.java:50)
at net.fabricmc.tinyremapper.TinyRemapper.lambda$apply$4(TinyRemapper.java:726)
at net.fabricmc.tinyremapper.TinyRemapper.lambda$apply$5(TinyRemapper.java:739)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exiting with -1
Process exited with code -1.
Hmm, seems your game directory is within a zip. This is too cursed; fabric loader cannot output its mappings in this case and you need to use regular directories for your game directory. Looks like you are using OneSixLauncher, so if you don't have a clue you can ask them for help too.
Are you running MultiMC from somewhere like Program Files where it might not have permission to create its own files?
I have tried a lot of things. I tried to use MultiMC and that's where this error is from. I just removed all minecraft files, reinstalled it and installed fabric again but all it does is close after launching and say an unexpected error has happened and the game has crashed. Exit code 0.
[12:08:34] [main/INFO]: Loading for game Minecraft 1.16.5
[12:08:34] [main/WARN]: Incomplete remapped file found! This means that the remapping process failed on the previous launch. If this persists, make sure to let us at Fabric know!
[12:08:34] [main/INFO]: Fabric is preparing JARs on first launch, this may take a few seconds...
It looks like the remapped file each time is corrupt. Perhaps post yours?
Hmm, try delete the .fabric
directory within your game directory, usually %appdata%\.minecraft
on windows for vanilla launcher or it's set in your launcher
I launched it once it crashes. Launched it a second time and get the same error
[12:41:42] [main/INFO]: Loading for game Minecraft 1.16.5
[12:41:42] [main/WARN]: Incomplete remapped file found! This means that the remapping process failed on the previous launch. If this persists, make sure to let us at Fabric know!
[12:41:42] [main/INFO]: Fabric is preparing JARs on first launch, this may take a few seconds...
Deleting the fabric folder again.
If you continue to fail, consider getting the fabric installer from https://fabricmc.net/use (Java required to run) and install the latest fabric loader on 1.16.5
HI, I am actually having the exact same issue now. I created a new install of fabric for my new computer but I am having this issue on the regular Minecraft launcher.
[11:00:08] [main/INFO]: Loading for game Minecraft 1.16.5
[11:00:08] [main/WARN]: Incomplete remapped file found! This means that the remapping process failed on the previous launch. If this persists, make sure to let us at Fabric know!
[11:00:08] [main/INFO]: Fabric is preparing JARs on first launch, this may take a few seconds...
Failed to start Minecraft:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:196)
at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:231)
at org.multimc.EntryPoint.listen(EntryPoint.java:143)
at org.multimc.EntryPoint.main(EntryPoint.java:34)
Caused by: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.nio.file.ReadOnlyFileSystemException
at net.fabricmc.tinyremapper.TinyRemapper.waitForAll(TinyRemapper.java:917)
at net.fabricmc.tinyremapper.TinyRemapper.apply(TinyRemapper.java:742)
at net.fabricmc.tinyremapper.TinyRemapper.apply(TinyRemapper.java:706)
at net.fabricmc.loader.launch.common.FabricLauncherBase.deobfuscate(FabricLauncherBase.java:152)
at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:136)
at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:27)
at me.deftware.client.framework.main.Main.main(Main.java:43)
... 8 more
Caused by: java.util.concurrent.ExecutionException: java.nio.file.ReadOnlyFileSystemException
at java.util.concurrent.FutureTask.report(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at net.fabricmc.tinyremapper.TinyRemapper.waitForAll(TinyRemapper.java:914)
... 14 more
Caused by: java.nio.file.ReadOnlyFileSystemException
at com.sun.nio.zipfs.ZipFileSystem.checkWritable(ZipFileSystem.java:155)
at com.sun.nio.zipfs.ZipFileSystem.createDirectory(ZipFileSystem.java:416)
at com.sun.nio.zipfs.ZipPath.createDirectory(ZipPath.java:634)
at com.sun.nio.zipfs.ZipFileSystemProvider.createDirectory(ZipFileSystemProvider.java:201)
at java.nio.file.Files.createDirectory(Unknown Source)
at java.nio.file.Files.createAndCheckIsDirectory(Unknown Source)
at java.nio.file.Files.createDirectories(Unknown Source)
at net.fabricmc.tinyremapper.OutputConsumerPath.createParentDirs(OutputConsumerPath.java:336)
at net.fabricmc.tinyremapper.OutputConsumerPath.accept(OutputConsumerPath.java:298)
at net.fabricmc.tinyremapper.OutputConsumerPath.accept(OutputConsumerPath.java:50)
at net.fabricmc.tinyremapper.TinyRemapper.lambda$apply$4(TinyRemapper.java:726)
at net.fabricmc.tinyremapper.TinyRemapper.lambda$apply$5(TinyRemapper.java:739)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exiting with -1
Process exited with code -1.
Booted up my old machine to see if it was broken there too but it seemed to launch fine there.
Are you on windows or mac? Do applications require special permissions to modify .minecraft folder on windows or minecraft on mac?
I am on Windows 10 and no none of my applications require special permissions.
Are you on windows or mac? Do applications require special permissions to modify .minecraft folder on windows or minecraft on mac?
that log above has 2 problems:
- you are using multimc still
- you are using deftware, which offers a patched fabric loader (usually for aristois hacked client).
try again using fabric installer and mojang's launcher
Okay so I just deleted my .minecraft folder and did a full restart! That seemed to have fixed the issue. Thanks for the help
MultiMC works just fine with Fabric (it even includes an install button by itself. But do not attempt to use the installer with it). However, you're apparently using a hacked client, not Fabric. I assume you installed both? That won't work, uninstall the hacked client first.
that log above has 2 problems:
- you are using multimc still
- you are using deftware, which offers a patched fabric loader (usually for aristois hacked client).
try again using fabric installer and mojang's launcher