I am having a crash with the Skyfactory one mod pack, it works fine the first time you play but after that it breaks.
I can repair the mod pack and then it works again but breaks again the second time it is opened.
---- Minecraft Crash Report ----
// Hi. I'm Minecraft, and I'm a crashaholic.
Time: 11/7/22 11:53 PM
Description: Initializing game
com.electronwill.nightconfig.core.io.WritingException: An I/O error occured
at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:222) ~[core-3.6.3.jar:?] {}
at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:202) ~[core-3.6.3.jar:?] {}
at com.electronwill.nightconfig.core.file.WriteAsyncFileConfig.load(WriteAsyncFileConfig.java:138) ~[core-3.6.3.jar:?] {}
at com.electronwill.nightconfig.core.file.SimpleCommentedFileConfig.load(SimpleCommentedFileConfig.java:38) ~[core-3.6.3.jar:?] {}
at net.dark_roleplay.globaldataandresourcepacks.config.PackConfig.loadConfigs(PackConfig.java:22) ~[?:1.10.2] {re:classloading}
at net.dark_roleplay.globaldataandresourcepacks.config.PackConfig.getRequiredResourceacks(PackConfig.java:43) ~[?:1.10.2] {re:classloading}
at net.dark_roleplay.globaldataandresourcepacks.GlobalDataAndResourcepacks.getRepositorySource(GlobalDataAndResourcepacks.java:25) ~[?:1.10.2] {re:mixin,re:classloading}
at net.minecraft.client.Minecraft.modify$zfp000$addClientPackFinder(Minecraft.java:2504) ~[?:?] {re:mixin,pl:accesstransformer:B,xf:fml:topography:minecraftloadworld,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:topography:minecraftloadworld,pl:mixin:APP:globaldataandresourcepacks.mixins.json:ClientPackFinderMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.<init>(Minecraft.java:379) [?:?] {re:mixin,pl:accesstransformer:B,xf:fml:topography:minecraftloadworld,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:topography:minecraftloadworld,pl:mixin:APP:globaldataandresourcepacks.mixins.json:ClientPackFinderMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.main.Main.main(Main.java:149) [?:?] {re:classloading,pl:runtimedistcleaner:A}
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] {}
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51] {}
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] {}
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] {re:computing_frames}
at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) [forge-1.16.5-36.2.28.jar:36.2] {}
at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$495/1899640261.call(Unknown Source) [forge-1.16.5-36.2.28.jar:36.2] {}
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.1.3.jar:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.1.3.jar:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.1.3.jar:?] {}
at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.1.3.jar:?] {}
at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.1.3.jar:?] {}
Caused by: java.nio.file.NoSuchFileException: .\config\global_data_and_resourcepacks.toml
at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:79) ~[?:1.8.0_51] {}
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97) ~[?:1.8.0_51] {}
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102) ~[?:1.8.0_51] {}
at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:230) ~[?:1.8.0_51] {}
at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434) ~[?:1.8.0_51] {}
at java.nio.file.Files.newOutputStream(Files.java:216) ~[?:1.8.0_51] {}
at java.nio.file.Files.copy(Files.java:3016) ~[?:1.8.0_51] {}
at com.electronwill.nightconfig.core.file.FileNotFoundAction.lambda$copyData$3(FileNotFoundAction.java:51) ~[core-3.6.3.jar:?] {}
at com.electronwill.nightconfig.core.file.FileNotFoundAction$$Lambda$136/1297836716.run(Unknown Source) ~[?:?] {}
at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:215) ~[core-3.6.3.jar:?] {}
... 20 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Render thread
Stacktrace:
at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:222) ~[core-3.6.3.jar:?] {}
at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:202) ~[core-3.6.3.jar:?] {}
at com.electronwill.nightconfig.core.file.WriteAsyncFileConfig.load(WriteAsyncFileConfig.java:138) ~[core-3.6.3.jar:?] {}
at com.electronwill.nightconfig.core.file.SimpleCommentedFileConfig.load(SimpleCommentedFileConfig.java:38) ~[core-3.6.3.jar:?] {}
at net.dark_roleplay.globaldataandresourcepacks.config.PackConfig.loadConfigs(PackConfig.java:22) ~[?:1.10.2] {re:classloading}
at net.dark_roleplay.globaldataandresourcepacks.config.PackConfig.getRequiredResourceacks(PackConfig.java:43) ~[?:1.10.2] {re:classloading}
at net.dark_roleplay.globaldataandresourcepacks.GlobalDataAndResourcepacks.getRepositorySource(GlobalDataAndResourcepacks.java:25) ~[?:1.10.2] {re:mixin,re:classloading}
at net.minecraft.client.Minecraft.modify$zfp000$addClientPackFinder(Minecraft.java:2504) ~[?:?] {re:mixin,pl:accesstransformer:B,xf:fml:topography:minecraftloadworld,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:topography:minecraftloadworld,pl:mixin:APP:globaldataandresourcepacks.mixins.json:ClientPackFinderMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.<init>(Minecraft.java:379) ~[?:?] {re:mixin,pl:accesstransformer:B,xf:fml:topography:minecraftloadworld,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:topography:minecraftloadworld,pl:mixin:APP:globaldataandresourcepacks.mixins.json:ClientPackFinderMixin,pl:mixin:A,pl:runtimedistcleaner:A}
-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.main.Main.main(Main.java:149) [?:?] {re:classloading,pl:runtimedistcleaner:A}
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] {}
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51] {}
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] {}
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] {re:computing_frames}
at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) [forge-1.16.5-36.2.28.jar:36.2] {}
at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$495/1899640261.call(Unknown Source) [forge-1.16.5-36.2.28.jar:36.2] {}
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.1.3.jar:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.1.3.jar:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.1.3.jar:?] {}
at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.1.3.jar:?] {}
at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.1.3.jar:?] {}
-- System Details --
Details:
Minecraft Version: 1.16.5
Minecraft Version ID: 1.16.5
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_51, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 352700544 bytes (336 MB) / 1772617728 bytes (1690 MB) up to 3817865216 bytes (3641 MB)
CPUs: 8
JVM Flags: 4 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx4096m -Xms256m
Launched Version: forge-36.2.28
Backend library: LWJGL version 3.2.2 build 10
Backend API: NO CONTEXT
GL Caps:
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'forge'
Type: Client (map_client.txt)
CPU: <unknown>