Jump to content

Forge can't open config becaused it's 'opened in a other process' (com.electronwill.nightconfig.core.io.WritingException)


Raft08

Recommended Posts

Hello! I'm making a modpack with Forge 40.1.80-1.18.2.

I already searched a solution on the forum but none of the solution worked for me. I tried restarting my computer, Disable windows defender, deleting the config folder, but none of this solution worked for me.

Here is my latest.log file : https://mclo.gs/YvWGjeW

No debug.log file is created. I'm using performance mods found on the useful mod repo but I already used these mods on other modpacks but never this error. It's only on that one :/

Edited by Raft08
Typo's fixed
Link to comment
Share on other sites

Quote

Caused by: java.nio.file.FileSystemException: C:\Users\********\Documents\mods\minecraft\curseforge\Instances\Crafted\config\jei-client.toml: Le processus ne peut pas acc�der au fichier car ce fichier est utilis� par un autre processus

 

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

Well, you need to find out what the other process is.

Maybe something like this will help you find it? https://learn.microsoft.com/en-gb/sysinternals/downloads/handle

 

Or maybe there is some other problem, e.g. with the file system/disk, and java is misreporting the error as a file lock?

 

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

Nothing is using the file I already searched. I Think that java throws the wrong exception or something I know the error I already coded in Java just I think there is a mod that messes that up or something because everytime I delete the config file it shows the error but with another file.

Link to comment
Share on other sites

What it is trying to do is open for the file for writes. In case it needs to add new config options added recently by the mod.

It's likely something with your file system is stopping this happening which java is interpreting as a file lock.

 

Try moving your curseforge installation to a different folder or even a new partition/disk. 

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

After removing all with only forge enabled the error occured again! I never had a problem before that, I installed rain meter yesterday and it begon happening at this moment, I will reinstall my computer on the last restore point I made and check if it works

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.