Jump to content
  • 0

Error's with linux: Ubuntu Server 12.04


Question

Posted

Title: [FIXED]Error's with linux: Ubuntu Server 12.04

Version: 3.0.3/3.0.4

OS: Ubuntu Server edition 12.04 LTS

Java Version: java version "1.7.0_03" OpenJDK Runtime Environment (IcedTea7 2.1.1pre) (7~u3-2.1.1~pre1-1ubuntu3)

Description of Problem:

I have created a linux machine which is completely remote manged form my windows machine. I copied over a WORKING tekkit server onto that machine and it returned errors, but the exact same server files don't return errors on windows. This is most likely a problem with my java however i have used both the latest java from the ppa repositories from oracle and i have used the latest open jdk. Both version 7. Im just hoping someone out there knows a 'fix' of some sort to my problem. This is my first bug report so please excuse any errors i have made.

Thanks in advance =)

http://dl.dropbox.com/u/8564789/log.png - console screenshot

Error Messages:

java.lang.ExceptionInInitializerError

Error Log:


01:10:32 [iNFO] Initializing alchemy values for Equivalent Exchange (FTB special edition)..

01:10:32 [iNFO] Adding Material: 30031:X30031

01:10:32 [iNFO] Adding Material: 135:X135

01:10:32 [iNFO] NetherOres: loaded Macerator Recipes

01:10:32 [iNFO] Loading properties

01:10:32 [iNFO] Starting Minecraft server on *:25565

01:10:34 [iNFO] Loaded codechicken.wirelessredstone.core.CommandFreq

01:10:34 [sEVERE] java.lang.ExceptionInInitializerError

01:10:34 [sEVERE]      at net.minecraft.server.WirelessRedstoneCore.initialize(WirelessRedstoneCore.java:49)

01:10:34 [sEVERE]      at net.minecraft.server.mod_WirelessRedstoneCore.load(mod_WirelessRedstoneCore.java:12)

01:10:34 [sEVERE]      at cpw.mods.fml.server.ModLoaderModContainer.init(ModLoaderModContainer.java:271)

01:10:34 [sEVERE]      at cpw.mods.fml.common.Loader.modInit(Loader.java:220)

01:10:34 [sEVERE]      at cpw.mods.fml.common.Loader.initializeMods(Loader.java:539)

01:10:34 [sEVERE]      at cpw.mods.fml.server.FMLBukkitHandler.onLoadComplete(FMLBukkitHandler.java:121)

01:10:34 [sEVERE]      at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:159)

01:10:34 [sEVERE]      at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426)

01:10:34 [sEVERE]      at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

01:10:34 [sEVERE] Caused by: java.lang.ArrayIndexOutOfBoundsException: 1024

01:10:34 [sEVERE]      at codechicken.core.ConfigFile.readLine(ConfigFile.java:158)

01:10:34 [sEVERE]      at codechicken.core.ConfigFile.loadConfig(ConfigFile.java:68)

01:10:34 [sEVERE]      at codechicken.core.ConfigFile.<init>(ConfigFile.java:41)

01:10:34 [sEVERE]      at codechicken.wirelessredstone.core.SaveManager.<clinit>(SaveManager.java:25)

01:10:34 [sEVERE]      ... 9 more

01:10:34 [sEVERE] Unexpected exception

java.lang.ExceptionInInitializerError

        at net.minecraft.server.WirelessRedstoneCore.initialize(WirelessRedstoneCore.java:49)

        at net.minecraft.server.mod_WirelessRedstoneCore.load(mod_WirelessRedstoneCore.java:12)

        at cpw.mods.fml.server.ModLoaderModContainer.init(ModLoaderModContainer.java:271)

        at cpw.mods.fml.common.Loader.modInit(Loader.java:220)

        at cpw.mods.fml.common.Loader.initializeMods(Loader.java:539)

        at cpw.mods.fml.server.FMLBukkitHandler.onLoadComplete(FMLBukkitHandler.java:121)

        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:159)

        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426)

        at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

Caused by: java.lang.ArrayIndexOutOfBoundsException: 1024

        at codechicken.core.ConfigFile.readLine(ConfigFile.java:158)

        at codechicken.core.ConfigFile.loadConfig(ConfigFile.java:68)

        at codechicken.core.ConfigFile.<init>(ConfigFile.java:41)

        at codechicken.wirelessredstone.core.SaveManager.<clinit>(SaveManager.java:25)

        ... 9 more

7 answers to this question

Recommended Posts

  • 0
Posted

Well i just tried removing all traces of java with

sudo apt-get purge java*

seems like it did something and i then installed

java version "1.7.0_05"

Java SE Runtime Environment (build 1.7.0_05-b05)

Java HotSpot Client VM (build 23.1-b03, mixed mode)

using

sudo add-apt-repository ppa:webupd8team/java

sudo apt-get update

sudo apt-get install oracle-jdk7-installer

but i still get the same errors. Could this be a problem with the operating system?

  • 0
Posted

after doing some digging around i found that deleting the config/WirelessRedstone.cfg is broken? deleted it and then started the server. all seems to work.

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...