Adding Mod to Forge server causes crash.
banney99 opened this issue ยท 4 comments
This is the crash report information. I am NOT a programmer, and so it is gibberish to me. Happened multiple times. Please help me?
---- Minecraft Crash Report ----
// Hi. I'm Minecraft, and I'm a crashaholic.
Time: 11/23/14 4:38 PM
Description: Exception in server tick loop
java.lang.RuntimeException: java.io.FileNotFoundException: C:\Users\Brad\Desktop\Forge Server\config\multipart.cfg (The requested operation cannot be performed on a file with a user-mapped section open)
at codechicken.lib.config.ConfigFile.saveConfig(ConfigFile.java:98)
at codechicken.lib.config.ConfigTagParent.getTag(ConfigTagParent.java:125)
at codechicken.lib.config.ConfigTagParent.getTag(ConfigTagParent.java:135)
at codechicken.microblock.handler.MicroblockProxy_serverImpl.createSaw(proxies.scala:56)
at codechicken.microblock.handler.MicroblockProxy_serverImpl.preInit(proxies.scala:46)
at codechicken.microblock.handler.MicroblockMod$.preInit(MicroblockMod.scala:20)
at codechicken.microblock.handler.MicroblockMod.preInit(MicroblockMod.scala)
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:513)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
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.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:513)
at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:88)
at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:314)
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:117)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:387)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)
Caused by: java.io.FileNotFoundException: C:\Users\Brad\Desktop\Forge Server\config\multipart.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.(Unknown Source)
at java.io.FileOutputStream.(Unknown Source)
at java.io.PrintWriter.(Unknown Source)
at codechicken.lib.config.ConfigFile.saveConfig(ConfigFile.java:96)
... 37 more
A detailed walkthrough of the error, its code path and all known details is as follows:
-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Windows 7 (x86) version 6.1
Java Version: 1.8.0_25, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode, sharing), Oracle Corporation
Memory: 69669056 bytes (66 MB) / 124403712 bytes (118 MB) up to 259522560 bytes (247 MB)
JVM Flags: 0 total;
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.05 FML v7.10.85.1230 Minecraft Forge 10.13.2.1230 9 mods loaded, 9 mods active
mcp{9.05} Minecraft Coder Pack Unloaded->Constructed->Pre-initialized
FML{7.10.85.1230} Forge Mod Loader Unloaded->Constructed->Pre-initialized
Forge{10.13.2.1230} Minecraft Forge Unloaded->Constructed->Pre-initialized
bspkrsCore{6.12} bspkrsCore Unloaded->Constructed->Pre-initialized
Treecapitator{1.7.2} Treecapitator Unloaded->Constructed->Pre-initialized
ForgeMultipart{1.1.0.297} Forge Multipart Unloaded->Constructed->Pre-initialized
Mekanism{7.1.0} Mekanism Unloaded->Constructed->Pre-initialized
McMultipart{1.1.0.297} Minecraft Multipart Plugin Unloaded->Constructed->Pre-initialized
ForgeMicroblock{1.1.0.297} Forge Microblocks Unloaded->Constructed->Errored
Profiler Position: N/A (disabled)
Is Modded: Definitely; Server brand changed to 'fml,forge'
Type: Dedicated Server (map_server.txt)
This isn't a mekanism crash, it looks like something is locking the forge multipart config file. Try closing anything that has that file open.
Try to remove config folder in Minecraft Dir and try to start a Minecraft.
If Minecraft won't start try another fix:
Remove all mods from mods folder, remove config folder, download latest CodeChickenCore, CodeChickenLib and ForgeMultipart, put them to the mods folder and start Minecraft. :)
Try to remove config folder in Minecraft Dir and try to start a Minecraft.
If Minecraft won't start try another fix:
Remove all mods from mods folder, remove config folder, download latest CodeChickenCore, CodeChickenLib and ForgeMultipart, put them to the mods folder and start Minecraft. :)
When you say this, do you mean in the forge server folder; or in my minecraft game folder? I tried both fixes, and now my server isn't loading at all; but no crash report is being generated. Thanks for the help...I'm a noob at this, and I'm just kind of blundering along blindly.
This is what the log said--mind you, it wasn't a crash log, just the log which was created when I attempted to start the server:
Running coremod plugin CCCDeobfPlugin
[10:28:23] [main/ERROR] [LaunchWrapper/]: Unable to launch
java.lang.RuntimeException: java.io.FileNotFoundException: .\config\CodeChickenCore.cfg (The requested operation cannot be performed on a file with a user-mapped section open)
at codechicken.lib.config.ConfigFile.saveConfig(ConfigFile.java:98) ~[CodeChickenLib-1.7.10-1.1.1.106-universal.jar:?]
at codechicken.lib.config.ConfigTag.saveConfig(ConfigTag.java:29) ~[CodeChickenLib-1.7.10-1.1.1.106-universal.jar:?]
at codechicken.lib.config.ConfigTag.saveConfig(ConfigTag.java:29) ~[CodeChickenLib-1.7.10-1.1.1.106-universal.jar:?]
at codechicken.lib.config.ConfigTagParent.setComment(ConfigTagParent.java:61) ~[CodeChickenLib-1.7.10-1.1.1.106-universal.jar:?]
at codechicken.lib.config.ConfigTag.setComment(ConfigTag.java:174) ~[CodeChickenLib-1.7.10-1.1.1.106-universal.jar:?]
at codechicken.core.asm.MCPDeobfuscationTransformer.load(MCPDeobfuscationTransformer.java:124) ~[CodeChickenCore-1.7.10-1.0.1.8-universal.jar:?]
at codechicken.core.asm.MCPDeobfuscationTransformer$LoadPlugin.injectData(MCPDeobfuscationTransformer.java:61) ~[CodeChickenCore-1.7.10-1.0.1.8-universal.jar:?]
at cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper.injectIntoClassLoader(CoreModManager.java:112) ~[forge-1.7.10-10.13.2.1230-universal.jar:?]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:115) [launchwrapper-1.11.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25]
at cpw.mods.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:43) [forge-1.7.10-10.13.2.1230-universal.jar:?]
at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:12) [forge-1.7.10-10.13.2.1230-universal.jar:?]
Caused by: java.io.FileNotFoundException: .\config\CodeChickenCore.cfg (The requested operation cannot be performed on a file with a user-mapped section open)
at java.io.FileOutputStream.open(Native Method) ~[?:1.8.0_25]
at java.io.FileOutputStream.(Unknown Source) ~[?:1.8.0_25]
at java.io.FileOutputStream.(Unknown Source) ~[?:1.8.0_25]
at java.io.PrintWriter.(Unknown Source) ~[?:1.8.0_25]
at codechicken.lib.config.ConfigFile.saveConfig(ConfigFile.java:96) ~[CodeChickenLib-1.7.10-1.1.1.106-universal.jar:?]
... 15 more
Of course this is just the point when it said "unable to launch"