Jump to content
  • 0

[3.0.3/3.0.4] Error Starting 3.0.4 Server


Charles9333

Question

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

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0
  • Forum Administrators

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/

Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...