Open Parties and Claims

Open Parties and Claims

39M Downloads

Server crashes

Closed this issue · 4 comments

commented

I updated my server to 1.21.6 and all my mods. now open parties crashes and i get this: [22:13:11] [Server thread/ERROR]: Encountered an unexpected exception
com.electronwill.nightconfig.core.io.WritingException: Failed to write (REPLACE_ATOMIC) the config to: .\config\openpartiesandclaims-server.toml
at knot/com.electronwill.nightconfig.core.io.ConfigWriter.write(ConfigWriter.java:98) ~[com_electronwill_night-config_core-3.8.2-8003ac503a67602d.jar:?]
at knot/com.electronwill.nightconfig.core.io.ConfigWriter.write(ConfigWriter.java:77) ~[com_electronwill_night-config_core-3.8.2-8003ac503a67602d.jar:?]
at knot/net.neoforged.fml.config.ConfigTracker.writeConfig(ConfigTracker.java:303) ~[ForgeConfigAPIPort-v21.6.2-1.21.6-Fabric.jar:?]
at knot/net.neoforged.fml.config.ConfigTracker.setupConfigFile(ConfigTracker.java:288) ~[ForgeConfigAPIPort-v21.6.2-1.21.6-Fabric.jar:?]
at knot/net.neoforged.fml.config.ConfigTracker.loadConfig(ConfigTracker.java:203) ~[ForgeConfigAPIPort-v21.6.2-1.21.6-Fabric.jar:?]
at knot/net.neoforged.fml.config.ConfigTracker.openConfig(ConfigTracker.java:165) ~[ForgeConfigAPIPort-v21.6.2-1.21.6-Fabric.jar:?]
at knot/net.neoforged.fml.config.ConfigTracker.lambda$loadConfigs$4(ConfigTracker.java:148) ~[ForgeConfigAPIPort-v21.6.2-1.21.6-Fabric.jar:?]
at java.base/java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
at java.base/java.util.Collections$SynchronizedCollection.forEach(Collections.java:2352) ~[?:?]
at knot/net.neoforged.fml.config.ConfigTracker.loadConfigs(ConfigTracker.java:148) ~[ForgeConfigAPIPort-v21.6.2-1.21.6-Fabric.jar:?]
at knot/fuzs.forgeconfigapiport.fabric.impl.handler.ServerLifecycleHandler.onServerStarting(ServerLifecycleHandler.java:24) ~[ForgeConfigAPIPort-v21.6.2-1.21.6-Fabric.jar:?]
at knot/net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents.lambda$static$0(ServerLifecycleEvents.java:38) ~[fabric-lifecycle-events-v1-2.6.2+db4dfd8596-809215d4b0711e1f.jar:?]
at knot/net.minecraft.server.MinecraftServer.handler$zhh000$fabric-lifecycle-events-v1$beforeSetupServer(MinecraftServer.java:2697) ~[server-intermediary.jar:?]
at knot/net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:672) [server-intermediary.jar:?]
at knot/net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:291) [server-intermediary.jar:?]
at java.base/java.lang.Thread.run(Thread.java:1447) [?:?]
Caused by: java.nio.file.NoSuchFileException: .\config.\config\openpartiesandclaims-server.new.tmp.toml
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85) ~[?:?]
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103) ~[?:?]
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108) ~[?:?]
at java.base/sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:231) ~[?:?]
at java.base/java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:426) ~[?:?]
at java.base/java.nio.file.Files.newOutputStream(Files.java:215) ~[?:?]
at knot/com.electronwill.nightconfig.core.io.ConfigWriter.write(ConfigWriter.java:92) ~[com_electronwill_night-config_core-3.8.2-8003ac503a67602d.jar:?]
... 15 more

I honestly don't know what to do

commented

For some reason it's trying to save the config to ".\config.\config" instead of just ".\config". That's not something I control on my end, so it's probably a bug on the forgeconfigapiport's end. Or more likely a problem with how you have forgeconfigapiport configured.

commented

Okay, I’ll try reinstalling it and try to contact them about it

commented

@Fuzss Thanks for looking into this!