Astronius Posted October 29, 2013 Posted October 29, 2013 I recently made a server for tekkit 1.1.10 and it was running fine. After i restarted the server a couple hours later i got an error message and it keeps popping up whenever i hit launch.bat. The error is: ---- Minecraft Crash Report ---- // Shall we play a game? Time: 10/28/13 8:28 PM Description: Exception in server tick loop java.lang.RuntimeException: java.io.FileNotFoundException: C:\Users\Connor\Desktop\Everything\Minecraft\Tekkit Server\config\ChickenChunks.cfg (The requested operation cannot be performed on a file with a user-mapped section open) at codechicken.core.config.ConfigFile.saveConfig(ConfigFile.java:134) at codechicken.core.config.ConfigTag.saveConfig(ConfigTag.java:30) at codechicken.core.config.ConfigTagParent.setComment(ConfigTagParent.java:70) at codechicken.core.config.ConfigTag.setComment(ConfigTag.java:235) at codechicken.chunkloader.ChunkLoaderManager.initConfig(ChunkLoaderManager.java:674) at codechicken.chunkloader.ChunkLoaderProxy.load(ChunkLoaderProxy.java:36) at codechicken.chunkloader.ChickenChunks.initialize(ChickenChunks.java:49) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:494) at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:192) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:172) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:103) at cpw.mods.fml.common.Loader.initializeMods(Loader.java:691) at cpw.mods.fml.server.FMLServerHandler.finishServerLoading(FMLServerHandler.java:93) at cpw.mods.fml.common.FMLCommonHandler.onServerStarted(FMLCommonHandler.java:355) at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:141) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:431) at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573) Caused by: java.io.FileNotFoundException: C:\Users\Connor\Desktop\Everything\Minecraft\Tekkit Server\config\ChickenChunks.cfg (The requested operation cannot be performed on a file with a user-mapped section open) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(Unknown Source) at java.io.FileOutputStream.<init>(Unknown Source) at java.io.PrintWriter.<init>(Unknown Source) at codechicken.core.config.ConfigFile.saveConfig(ConfigFile.java:130) ... 37 more Can anyone help?
weirleader Posted October 29, 2013 Posted October 29, 2013 did you make manual changes to ChickenChunks.cfg? If not, try deleting the file and restarting.
Astronius Posted October 29, 2013 Author Posted October 29, 2013 did you make manual changes to ChickenChunks.cfg? If not, try deleting the file and restarting. I deleted the file but when i tried to restart it said to press any key and when i did the entire thing closed.
weirleader Posted October 29, 2013 Posted October 29, 2013 okay, my server handled the deletion of that file just fine, so I think it's larger than that. How attached are you to your current world? It's possible that deleting it and starting from scratch will resolve the issue (if it turns out to be world corruption of some kind); alternatively, if you had a backup perhaps you could restore that. I'd suggest copying the world folder elsewhere, deleting it from the server folder, and restarting... if everything loads fine then it's something in your world that's a problem. If everything doesn't load fine, well... then we've found another clue.
Astronius Posted October 29, 2013 Author Posted October 29, 2013 okay, my server handled the deletion of that file just fine, so I think it's larger than that. How attached are you to your current world? It's possible that deleting it and starting from scratch will resolve the issue (if it turns out to be world corruption of some kind); alternatively, if you had a backup perhaps you could restore that. I'd suggest copying the world folder elsewhere, deleting it from the server folder, and restarting... if everything loads fine then it's something in your world that's a problem. If everything doesn't load fine, well... then we've found another clue. I just re-downloaded the entire server file and now i'm getting a new error: ---- Minecraft Crash Report ---- // I'm sorry, Dave. Time: 10/29/13 12:01 AM Description: Exception in server tick loop java.lang.RuntimeException: java.io.FileNotFoundException: .\config\NEIServer.cfg (The requested operation cannot be performed on a file with a user-mapped section open) at codechicken.core.config.ConfigFile.saveConfig(ConfigFile.java:134) at codechicken.core.config.ConfigTag.saveConfig(ConfigTag.java:30) at codechicken.core.config.ConfigTagParent.setComment(ConfigTagParent.java:70) at codechicken.core.config.ConfigTag.setComment(ConfigTag.java:235) at codechicken.nei.NEIServerConfig.initDefaults(NEIServerConfig.java:87) at codechicken.nei.NEIServerConfig.load(NEIServerConfig.java:50) at codechicken.nei.ServerHandler.tickStart(ServerHandler.java:44) at cpw.mods.fml.common.SingleIntervalHandler.tickStart(SingleIntervalHandler.java:28) at cpw.mods.fml.common.FMLCommonHandler.tickStart(FMLCommonHandler.java:122) at cpw.mods.fml.common.FMLCommonHandler.onWorldLoadTick(FMLCommonHandler.java:303) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:437) at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573) Caused by: java.io.FileNotFoundException: .\config\NEIServer.cfg (The requested operation cannot be performed on a file with a user-mapped section open) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(Unknown Source) at java.io.FileOutputStream.<init>(Unknown Source) at java.io.PrintWriter.<init>(Unknown Source) at codechicken.core.config.ConfigFile.saveConfig(ConfigFile.java:130) ... 11 more
TehTub Posted October 29, 2013 Posted October 29, 2013 if you're using Windows 7/Vista be sure to run launch.bat as administrator. It may be an issue with config files not being written to properly/completely.
Astronius Posted October 29, 2013 Author Posted October 29, 2013 if you're using Windows 7/Vista be sure to run launch.bat as administrator. It may be an issue with config files not being written to properly/completely. I tried and it says it's unable to access the jarfile.
weirleader Posted October 29, 2013 Posted October 29, 2013 did some more digging and it looks like it might just be a "helpful" virus scanner; you don't happen to have one running, do you? if that doesn't do the trick, you might also make sure you're running the latest version of Java (in case you're not).
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now