Banjobeni Posted May 28, 2012 Share Posted May 28, 2012 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. Link to comment Share on other sites More sharing options...
kingck Posted May 28, 2012 Share Posted May 28, 2012 are you on multicraft? Link to comment Share on other sites More sharing options...
Banjobeni Posted May 28, 2012 Author Share Posted May 28, 2012 Nope, I run my own server. Link to comment Share on other sites More sharing options...
littleweseth Posted May 28, 2012 Share Posted May 28, 2012 What version of Java are you using? On my computer, I have: [tt] [email protected]:~$ 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] Link to comment Share on other sites More sharing options...
Arsenius Posted May 28, 2012 Share Posted May 28, 2012 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 Link to comment Share on other sites More sharing options...
Banjobeni Posted May 28, 2012 Author Share Posted May 28, 2012 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? Link to comment Share on other sites More sharing options...
CStrife Posted May 28, 2012 Share Posted May 28, 2012 same issue here. Link to comment Share on other sites More sharing options...
littleweseth Posted May 28, 2012 Share Posted May 28, 2012 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]!). Link to comment Share on other sites More sharing options...
Arsenius Posted May 28, 2012 Share Posted May 28, 2012 Ok but me and Banjobeni have installed java 1.7.0_04, but we get errors while starting the server, see my pastebin in previous post Link to comment Share on other sites More sharing options...
Banjobeni Posted May 28, 2012 Author Share Posted May 28, 2012 I just updated to jre1.7.0_04 but I keep having the same issue. Link to comment Share on other sites More sharing options...
CStrife Posted May 28, 2012 Share Posted May 28, 2012 yes have java7 too. Link to comment Share on other sites More sharing options...
TheWoody Posted May 28, 2012 Share Posted May 28, 2012 Have you tried un-installing Java and re-installing... Link to comment Share on other sites More sharing options...
Arsenius Posted May 28, 2012 Share Posted May 28, 2012 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? Link to comment Share on other sites More sharing options...
littleweseth Posted May 28, 2012 Share Posted May 28, 2012 Arsenius: It's worth noting that I'm testing this on a Windows 7 computer right now. I only have Ubuntu installed on a headless server machine right now. Link to comment Share on other sites More sharing options...
Banjobeni Posted May 28, 2012 Author Share Posted May 28, 2012 @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? Link to comment Share on other sites More sharing options...
LukeHandle Posted May 28, 2012 Share Posted May 28, 2012 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? Link to comment Share on other sites More sharing options...
Forum Administrators KakerMix Posted May 28, 2012 Forum Administrators Share Posted May 28, 2012 This doesn't belong here. Why did you put this here. Did you even look? Why do you guys constantly make work for everyone? http://forums.technicpack.net/index.php/board,5.0.html Link to comment Share on other sites More sharing options...
Recommended Posts