SolidMercury Posted January 16, 2023 Share Posted January 16, 2023 I am making a custom mod pack for me and some friends but it's crashing and i have no idea why. when preparing for world generation it will go to "saving world" for a few second before crashing and giving this error: The game crashed whilst mouseclicked event handler Error: com.electronwill.nightconfig.core.io.WritingException: An I/O error occured https://pastebin.com/W2tP4HJY the full chash report Quote Link to comment Share on other sites More sharing options...
warjort Posted January 16, 2023 Share Posted January 16, 2023 (edited) Quote Caused by: java.nio.file.FileSystemException: C:\Users\Ewan\curseforge\minecraft\Instances\Cozy Pack\config\sophisticatedcore-common.toml: The process cannot access the file because it is being used by another process Looks like something is locking that file. e.g. you are editing it, or an instance of minecraft is still running. Edited January 16, 2023 by warjort Quote Boilerplate: If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one. If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install Large files should be posted to a file sharing site like https://gist.github.com You should also read the support forum sticky post. Link to comment Share on other sites More sharing options...
SolidMercury Posted January 16, 2023 Author Share Posted January 16, 2023 I was sure i had no instances of MC open but just to be safe i restarted mt pc and only opened forge to launch the modpack, same crash as before... any idea as to what would cause it otherwise ? Quote Link to comment Share on other sites More sharing options...
warjort Posted January 16, 2023 Share Posted January 16, 2023 Could be a mod doing something weird (a bug) with its configuration file. Check you have the latest version then contact the mod author. Also in the past, errors like that file lock are sometimes misinterpreted by the java virtual machine. e.g. It could be an issue with the operating system permissions of the file stopping it opening the file. But java misreports the error as it being locked. Or it would probably be more accurate to say Windows is telling java the wrong error code? Try deleting the file. Minecraft/Forge will recreate it with default values. Quote Boilerplate: If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one. If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install Large files should be posted to a file sharing site like https://gist.github.com You should also read the support forum sticky post. Link to comment Share on other sites More sharing options...
SolidMercury Posted January 16, 2023 Author Share Posted January 16, 2023 is there a simple way to figure out what mod is causing it or am i gonna have to try them 1 by 1 ? Quote Link to comment Share on other sites More sharing options...
warjort Posted January 16, 2023 Share Posted January 16, 2023 The file is for sophisticated core which is used by sophisticated backpacks. Maybe others? https://www.curseforge.com/minecraft/mc-mods/sophisticated-core/relations/dependents?filter-related-dependents=3 Quote Boilerplate: If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one. If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install Large files should be posted to a file sharing site like https://gist.github.com You should also read the support forum sticky post. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.