Jump to content

Recommended Posts

Posted

Hi,

I tried to run the new Tekkit 3.0.3 server (fresh install) the same way as I used to run 2.1.1. It runs fine on Win7, but this is what I get somewhere in the logs when running it on Ubuntu Server:

11:09:34 [sEVERE] java.lang.ExceptionInInitializerError

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

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

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

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

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

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

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

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

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

11:09:34 [sEVERE] Caused by: java.lang.ArrayIndexOutOfBoundsException: 1024

11:09:34 [sEVERE]    at codechicken.core.ConfigFile.readLine(ConfigFile.java:158)

11:09:34 [sEVERE]    at codechicken.core.ConfigFile.loadConfig(ConfigFile.java:68)

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

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

11:09:34 [sEVERE]    ... 9 more

11:09: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

>

11:17:46 [iNFO] Stopping server

11:17:46 [sEVERE] java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

11:17:46 [sEVERE]    at java.util.ArrayList.rangeCheck(Unknown Source)

11:17:46 [sEVERE]    at java.util.ArrayList.get(Unknown Source)

11:17:46 [sEVERE]    at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:412)

11:17:46 [sEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:483)

11:17:46 [sEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

11:17:46 [iNFO] Stopping server

11:17:46 [sEVERE] Exception in thread "Thread-3"

11:17:46 [sEVERE] java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

11:17:46 [sEVERE]    at java.util.ArrayList.rangeCheck(Unknown Source)

11:17:46 [sEVERE]    at java.util.ArrayList.get(Unknown Source)

11:17:46 [sEVERE]    at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:412)

11:17:46 [sEVERE]    at org.bukkit.craftbukkit.util.ServerShutdownThread.run(ServerShutdownThread.java:14)

So it seems to be WirelessRedstone-related. Any Ideas as to how to fix this?

What struggles me most is that it runs fine on Win7.

Posted

What version of Java are you using?

On my computer, I have:

[tt]

lws@helios:~$ java -version

java version "1.6.0_30"

Java SE Runtime Environment (build 1.6.0_30-b12)

Java HotSpot 64-Bit Server VM (build 20.5-b03, mixed mode)

[/tt]

Posted

i might have the same problem. only difference is i got java 1.7

server log: http://pastebin.com/ygaVL4MQ

java -version:

java version "1.7.0_04"

Java SE Runtime Environment (build 1.7.0_04-b20)

Java HotSpot 64-Bit Server VM (build 23.0-b21, mixed mode)

OS: centos6.2 64bit,

startup script:

#!/bin/bash

#

# This script starts minecraft using screen so that server commands

# can still be issued

#

sudo -u minecraft -i screen -d -m /usr/bin/java -Xmx2048M -Xms1024M -jar /home/minecraft/Tekkit.jar nogui

Posted

I also installed Java 7 as it seemed to be necessary at some point for 2.1.1.

~$ java -version

java version "1.7.0_03"

Java SE Runtime Environment (build 1.7.0_03-b04)

Java HotSpot 64-Bit Server VM (build 22.1-b02, mixed mode)

Do you think that might be the problem?

Posted

Java 7 is a prerequisite for Tekkit 3.

Using Java 6u31, the Tekkit (server) launcher won't go at all:

[tt]PS C:\Users\lws> java -version

java version "1.6.0_31"

Java SE Runtime Environment (build 1.6.0_31-b05)

Java HotSpot Client VM (build 20.6-b01, mixed mode, sharing)[/tt]

Using Java 7u4, it works fine.

[tt]PS C:\Users\lws> java -version

java version "1.7.0_04"

Java SE Runtime Environment (build 1.7.0_04-b22)

Java HotSpot 64-Bit Server VM (build 23.0-b21, mixed mode)[/tt]

So a good first step is to use the most recent version of the official Sun Java (no [tt]openjdk[/tt]!).

Posted

i did that a few min ago,

i wanted to see if i could get build 22 that littleweseth has but again i got b20 from the java site.

i am running centos6.2 on a vmxi server, doubt it would be a issue but could it be a issue that it is a virtual machine?

Posted

@Arsenius: I am also running in a VM. Host is a VMWare vSphere, client is a headless ubuntu server.

Is there anyone who also exhibits this problem but does NOT run in a VM?

Posted

Could this be a problem with the load order of the plugins?

I think I remember previous issues on linux/unix based where the name based load order is ignored?

Guest
This topic is now closed to further replies.
×
×
  • Create New...