Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game Crashes on World Creation 1.20.1 #191

Open
AEROCIDE opened this issue Jan 7, 2025 · 2 comments
Open

Game Crashes on World Creation 1.20.1 #191

AEROCIDE opened this issue Jan 7, 2025 · 2 comments
Labels
minecraft_forge ⛏️ Reported by or related to MCForge or a Forge mod question ❔

Comments

@AEROCIDE
Copy link

AEROCIDE commented Jan 7, 2025

Hello, I was told by the Create Team to come here for my issue.
I am having difficulties installing create. I am using minecraft vers. 1.20.1, forge-1.20.1-47.3.22 and create-1.20.1-0.5.1.j. i am unsure what the issue is, but whenever i create a new world, the game freezes. I already went to the Create Discord to ask for an answer, and unfortunately we could not find the issue.
The moderators told me that another process was holding onto create-server.toml in my server config folder, and to kill that other process. When I used file locksmith to look for any processes that would be using create-server.toml, there was none shown. I have restarted my computer, reinstalled minecraft, reinstalled java 17, and I am still at a loss. Forge works on it's own, but once I use create my game crashes. Thank you
Here is also my log: https://mclo.gs/6xctmsH
400635914-a2240823-996b-4a1e-87c7-3d5f8e1f7679
Screenshot 2025-01-07 at 11 42 12 AM

@TheElectronWill
Copy link
Owner

Hello!
#184 may help, but is not part of forge 1.20.1.
The actual issue is probably that something is reading the file for a very short time but at a bad moment. Do you have an antivirus installed, or Windows Defender enabled? If Defender scans the file while NightConfig tries to read it, it will make NightConfig fail. Try to whitelist the folder that contains the configuration file.

@TheElectronWill TheElectronWill added question ❔ minecraft_forge ⛏️ Reported by or related to MCForge or a Forge mod labels Jan 8, 2025
@TheElectronWill
Copy link
Owner

I'm pasting the relevant part of the log here so that it's easier to work with:

[06Jan2025 20:29:02.795] [Server thread/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key recipes.enableShadowSteelRecipe was corrected from null to its default, true. 
[06Jan2025 20:29:02.797] [Server thread/ERROR] [net.minecraft.server.MinecraftServer/]: Encountered an unexpected exception
com.electronwill.nightconfig.core.io.WritingException: An I/O error occured
	at com.electronwill.nightconfig.core.io.ConfigWriter.write(ConfigWriter.java:90) ~[core-3.6.4.jar%2393!/:?]
	at com.electronwill.nightconfig.core.file.WriteSyncFileConfig.save(WriteSyncFileConfig.java:61) ~[core-3.6.4.jar%2393!/:?]
	at com.electronwill.nightconfig.core.file.AutosaveCommentedFileConfig.save(AutosaveCommentedFileConfig.java:80) ~[core-3.6.4.jar%2393!/:?]
	at com.electronwill.nightconfig.core.utils.ObservedMap.put(ObservedMap.java:48) ~[core-3.6.4.jar%2393!/:?]
	at net.minecraftforge.common.ForgeConfigSpec.correct(ForgeConfigSpec.java:196) ~[forge-1.20.1-47.3.22-universal.jar%23165!/:?]
	at net.minecraftforge.common.ForgeConfigSpec.correct(ForgeConfigSpec.java:158) ~[forge-1.20.1-47.3.22-universal.jar%23165!/:?]
	at net.minecraftforge.common.ForgeConfigSpec.setConfig(ForgeConfigSpec.java:84) ~[forge-1.20.1-47.3.22-universal.jar%23165!/:?]
	at net.minecraftforge.common.ForgeConfigSpec.acceptConfig(ForgeConfigSpec.java:99) ~[forge-1.20.1-47.3.22-universal.jar%23165!/:?]
	at net.minecraftforge.fml.config.ModConfig.setConfigData(ModConfig.java:73) ~[fmlcore-1.20.1-47.3.22.jar%23161!/:?]
	at net.minecraftforge.fml.config.ConfigTracker.openConfig(ConfigTracker.java:61) ~[fmlcore-1.20.1-47.3.22.jar%23161!/:?]
	at net.minecraftforge.fml.config.ConfigTracker.lambda$loadConfigs$1(ConfigTracker.java:50) ~[fmlcore-1.20.1-47.3.22.jar%23161!/:?]
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
	at java.util.Collections$SynchronizedCollection.forEach(Collections.java:2131) ~[?:?]
	at net.minecraftforge.fml.config.ConfigTracker.loadConfigs(ConfigTracker.java:50) ~[fmlcore-1.20.1-47.3.22.jar%23161!/:?]
	at net.minecraftforge.server.ServerLifecycleHooks.handleServerAboutToStart(ServerLifecycleHooks.java:96) ~[forge-1.20.1-47.3.22-universal.jar%23165!/:?]
	at net.minecraft.client.server.IntegratedServer.m_7038_(IntegratedServer.java:62) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?]
	at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:634) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?]
	at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:251) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?]
	at java.lang.Thread.run(Thread.java:842) ~[?:?]
Caused by: java.nio.file.FileSystemException: C:\Users\********\AppData\Roaming\.minecraft\saves\New World (1)\serverconfig\create-server.toml: The process cannot access the file because it is being used by another process
	at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:92) ~[?:?]
	at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103) ~[?:?]
	at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108) ~[?:?]
	at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:236) ~[?:?]
	at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:484) ~[?:?]
	at java.nio.file.Files.newOutputStream(Files.java:228) ~[?:?]
	at com.electronwill.nightconfig.core.io.ConfigWriter.write(ConfigWriter.java:87) ~[core-3.6.4.jar%2393!/:?]
	... 18 more
[06Jan2025 20:29:02.902] [Server thread/ERROR] [net.minecraft.server.MinecraftServer/]: This crash report has been saved to: C:\Users\********\AppData\Roaming\.minecraft\crash-reports\crash-2025-01-06_20.29.02-server.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minecraft_forge ⛏️ Reported by or related to MCForge or a Forge mod question ❔
Projects
None yet
Development

No branches or pull requests

2 participants