Charles9333 Posted June 8, 2012 Posted June 8, 2012 Title: Error Starting 3.0.4 Server Version: 3.0.3/3.0.4 OS: Ubuntu 11.10 Java Version: OpenJDK Runtime Environment (IcedTea7 2.0) (7~b147-2.0-0ubuntu0.11.10.1) OpenJDK 64-Bit Server VM (build 21.0-b17, mixed mode) Description of Problem: I cannot start the server at all it just spits this out and stops. Error Messages: Console spits out what's shown in the log, it wont start up fully Error Log: 2012-06-08 14:50:15 [FINER] Initializing mod_WirelessRedstoneCore 2012-06-08 14:50:15 [sEVERE] java.lang.ExceptionInInitializerError 2012-06-08 14:50:15 [sEVERE] at net.minecraft.server.WirelessRedstoneCore.initialize(WirelessRedstoneCore.java:49) 2012-06-08 14:50:15 [sEVERE] at net.minecraft.server.mod_WirelessRedstoneCore.load(mod_WirelessRedstoneCore.java:12) 2012-06-08 14:50:15 [sEVERE] at cpw.mods.fml.server.ModLoaderModContainer.init(ModLoaderModContainer.java:271) 2012-06-08 14:50:15 [sEVERE] at cpw.mods.fml.common.Loader.modInit(Loader.java:220) 2012-06-08 14:50:15 [sEVERE] at cpw.mods.fml.common.Loader.initializeMods(Loader.java:539) 2012-06-08 14:50:15 [sEVERE] at cpw.mods.fml.server.FMLBukkitHandler.onLoadComplete(FMLBukkitHandler.java:121) 2012-06-08 14:50:15 [sEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:159) 2012-06-08 14:50:15 [sEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426) 2012-06-08 14:50:15 [sEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) 2012-06-08 14:50:15 [sEVERE] Caused by: java.lang.ArrayIndexOutOfBoundsException: 1024 2012-06-08 14:50:15 [sEVERE] at codechicken.core.ConfigFile.readLine(ConfigFile.java:158) 2012-06-08 14:50:15 [sEVERE] at codechicken.core.ConfigFile.loadConfig(ConfigFile.java:68) 2012-06-08 14:50:15 [sEVERE] at codechicken.core.ConfigFile.<init>(ConfigFile.java:41) 2012-06-08 14:50:15 [sEVERE] at codechicken.wirelessredstone.core.SaveManager.<clinit>(SaveManager.java:25) 2012-06-08 14:50:15 [sEVERE] ... 9 more Quote
0 MajorKong Posted June 9, 2012 Posted June 9, 2012 I have this exact issue as well. Spent a few hours looking for a solution but could not fix. OS: CentoOS 5.0 x86 Java version: java version "1.7.0_04" Java SE Runtime Environment (build 1.7.0_04-b20) Java HotSpot Client VM (build 23.0-b21, mixed mode, sharing) Full Log: http://pastebin.com/TQnhkMNb Quote
0 Forum Administrators sct Posted June 9, 2012 Forum Administrators Posted June 9, 2012 This happens when the WirelessRedstone.cfg file is saved with just LF line endings instead of CRLF line endings. Usually a result of using an editor like VI to resave the config. You will need to convert the line endings back to CRLF. Check out this for help: http://www.cyberciti.biz/faq/howto-unix-linux-convert-dos-newlines-cr-lf-unix-text-format/ Quote
0 MajorKong Posted June 9, 2012 Posted June 9, 2012 Ah...good catch, thanks a bunch! I'll fix them up now. I actually went out of my way not to edit text files on windows because I've had similar issues before but I guess I either did by accident or it just came like this. Easy way to do it is with notepad++ CTR+F and replace "\r\n" with "\n" Edit: My .cfg file did have windows style CRLF however I still get the same error after converting them to LF. Edit2: Okay this does work. I was using an older version of winSCP to upload files to my server and sometimes this software will convert CRLF into LF. I updated and now it works. Quote
0 PyPKjE Posted June 10, 2012 Posted June 10, 2012 Make every attempt to understand but not to help me solve the problem :/ Quote
0 Forum Administrators sct Posted June 10, 2012 Forum Administrators Posted June 10, 2012 Make every attempt to understand but not to help me solve the problem :/ what the hell? Quote
0 Torezu Posted June 12, 2012 Posted June 12, 2012 what the hell? Looks like a bad translation. I think he's saying he tried to understand the solution but it didn't solve the problem (assuming he means he has the same problem). Quote
Question
Charles9333
Title: Error Starting 3.0.4 Server
Version: 3.0.3/3.0.4
OS: Ubuntu 11.10
Java Version: OpenJDK Runtime Environment (IcedTea7 2.0) (7~b147-2.0-0ubuntu0.11.10.1) OpenJDK 64-Bit Server VM (build 21.0-b17, mixed mode)
Description of Problem:
I cannot start the server at all it just spits this out and stops.
Error Messages:
Console spits out what's shown in the log, it wont start up fully
Error Log:
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.