Jump to content
  • 0

Question

Posted

So i've been seeing people with crashes, and they are either only showing one segment of it, or this is could be a repost. However who do i fix on mac, here are the change of exceptions:




Initializing alchemy values for Equivalent Exchange..

>Mod Loaded: mod_EE EE2 v1.0.0

16:08:01 [iNFO] Mod Loaded: mod_EE EE2 v1.0.0

>Mod Loaded: mod_EnderChest 1.0.1

16:08:01 [iNFO] Mod Loaded: mod_EnderChest 1.0.1

>Failed to load mod from "mod_PowerConverters.class"

>java.lang.NoClassDefFoundError: buildcraft/energy/BlockEngine

	at net.minecraft.server.mod_PowerConverters.<init>(mod_PowerConverters.java:51)

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

	at java.lang.Class.newInstance0(Class.java:355)

	at java.lang.Class.newInstance(Class.java:308)

	at net.minecraft.server.ModLoader.addMod(ModLoader.java:179)

	at net.minecraft.server.ModLoader.readFromModFolder(ModLoader.java:929)

	at net.minecraft.server.ModLoader.init(ModLoader.java:683)

	at net.minecraft.server.ModLoader.Init(ModLoader.java:1357)

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

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

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

Caused by: java.lang.ClassNotFoundException: buildcraft.energy.BlockEngine

	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

	at java.security.AccessController.doPrivileged(Native Method)

	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

	... 14 more

16:08:01 [sEVERE] Unexpected exception

java.lang.NoClassDefFoundError: buildcraft/energy/BlockEngine

	at net.minecraft.server.mod_PowerConverters.<init>(mod_PowerConverters.java:51)

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

	at java.lang.Class.newInstance0(Class.java:355)

	at java.lang.Class.newInstance(Class.java:308)

	at net.minecraft.server.ModLoader.addMod(ModLoader.java:179)

	at net.minecraft.server.ModLoader.readFromModFolder(ModLoader.java:929)

	at net.minecraft.server.ModLoader.init(ModLoader.java:683)

	at net.minecraft.server.ModLoader.Init(ModLoader.java:1357)

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

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

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

Caused by: java.lang.ClassNotFoundException: buildcraft.energy.BlockEngine

	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

	at java.security.AccessController.doPrivileged(Native Method)

	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

	... 14 more

>java.lang.RuntimeException: Exception occured in ModLoader

	at net.minecraft.server.ModLoader.ThrowException(ModLoader.java:1292)

	at net.minecraft.server.ModLoader.ThrowException(ModLoader.java:1297)

	at net.minecraft.server.ModLoader.addMod(ModLoader.java:193)

	at net.minecraft.server.ModLoader.readFromModFolder(ModLoader.java:929)

	at net.minecraft.server.ModLoader.init(ModLoader.java:683)

	at net.minecraft.server.ModLoader.Init(ModLoader.java:1357)

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

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

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

Caused by: java.lang.NoClassDefFoundError: buildcraft/energy/BlockEngine

	at net.minecraft.server.mod_PowerConverters.<init>(mod_PowerConverters.java:51)

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

	at java.lang.Class.newInstance0(Class.java:355)

	at java.lang.Class.newInstance(Class.java:308)

	at net.minecraft.server.ModLoader.addMod(ModLoader.java:179)

	... 6 more

Caused by: java.lang.ClassNotFoundException: buildcraft.energy.BlockEngine

	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

	at java.security.AccessController.doPrivileged(Native Method)

	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

	... 14 more

16:08:01 [sEVERE] Unexpected exception

java.lang.RuntimeException: Exception occured in ModLoader

	at net.minecraft.server.ModLoader.ThrowException(ModLoader.java:1292)

	at net.minecraft.server.ModLoader.ThrowException(ModLoader.java:1297)

	at net.minecraft.server.ModLoader.addMod(ModLoader.java:193)

	at net.minecraft.server.ModLoader.readFromModFolder(ModLoader.java:929)

	at net.minecraft.server.ModLoader.init(ModLoader.java:683)

	at net.minecraft.server.ModLoader.Init(ModLoader.java:1357)

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

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

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

Caused by: java.lang.NoClassDefFoundError: buildcraft/energy/BlockEngine

	at net.minecraft.server.mod_PowerConverters.<init>(mod_PowerConverters.java:51)

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

	at java.lang.Class.newInstance0(Class.java:355)

	at java.lang.Class.newInstance(Class.java:308)

	at net.minecraft.server.ModLoader.addMod(ModLoader.java:179)

	... 6 more

Caused by: java.lang.ClassNotFoundException: buildcraft.energy.BlockEngine

	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

	at java.security.AccessController.doPrivileged(Native Method)

	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

	... 14 more

>java.lang.RuntimeException: ModLoader has failed to initialize.

	at net.minecraft.server.ModLoader.ThrowException(ModLoader.java:1292)

	at net.minecraft.server.ModLoader.init(ModLoader.java:715)

	at net.minecraft.server.ModLoader.Init(ModLoader.java:1357)

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

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

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

Caused by: java.lang.RuntimeException: Exception occured in ModLoader

	at net.minecraft.server.ModLoader.ThrowException(ModLoader.java:1292)

	at net.minecraft.server.ModLoader.ThrowException(ModLoader.java:1297)

	at net.minecraft.server.ModLoader.addMod(ModLoader.java:193)

	at net.minecraft.server.ModLoader.readFromModFolder(ModLoader.java:929)

	at net.minecraft.server.ModLoader.init(ModLoader.java:683)

	... 4 more

Caused by: java.lang.NoClassDefFoundError: buildcraft/energy/BlockEngine

	at net.minecraft.server.mod_PowerConverters.<init>(mod_PowerConverters.java:51)

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

	at java.lang.Class.newInstance0(Class.java:355)

	at java.lang.Class.newInstance(Class.java:308)

	at net.minecraft.server.ModLoader.addMod(ModLoader.java:179)

	... 6 more

Caused by: java.lang.ClassNotFoundException: buildcraft.energy.BlockEngine

	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

	at java.security.AccessController.doPrivileged(Native Method)

	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

	... 14 more

16:08:01 [sEVERE] Unexpected exception

java.lang.RuntimeException: ModLoader has failed to initialize.

	at net.minecraft.server.ModLoader.ThrowException(ModLoader.java:1292)

	at net.minecraft.server.ModLoader.init(ModLoader.java:715)

	at net.minecraft.server.ModLoader.Init(ModLoader.java:1357)

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

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

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

Caused by: java.lang.RuntimeException: Exception occured in ModLoader

	at net.minecraft.server.ModLoader.ThrowException(ModLoader.java:1292)

	at net.minecraft.server.ModLoader.ThrowException(ModLoader.java:1297)

	at net.minecraft.server.ModLoader.addMod(ModLoader.java:193)

	at net.minecraft.server.ModLoader.readFromModFolder(ModLoader.java:929)

	at net.minecraft.server.ModLoader.init(ModLoader.java:683)

	... 4 more

Caused by: java.lang.NoClassDefFoundError: buildcraft/energy/BlockEngine

	at net.minecraft.server.mod_PowerConverters.<init>(mod_PowerConverters.java:51)

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

	at java.lang.Class.newInstance0(Class.java:355)

	at java.lang.Class.newInstance(Class.java:308)

	at net.minecraft.server.ModLoader.addMod(ModLoader.java:179)

	... 6 more

Caused by: java.lang.ClassNotFoundException: buildcraft.energy.BlockEngine

	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

	at java.security.AccessController.doPrivileged(Native Method)

	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

	... 14 more

>



And then it get stuck here forever, press any key and get 


16:11:06 [iNFO] Stopping server

>java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

	at java.util.ArrayList.RangeCheck(ArrayList.java:547)

	at java.util.ArrayList.get(ArrayList.java:322)

	at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:397)

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

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

16:11:06 [iNFO] Stopping server

>Exception in thread "Thread-4" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

	at java.util.ArrayList.RangeCheck(ArrayList.java:547)

	at java.util.ArrayList.get(ArrayList.java:322)

	at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:397)

	at org.bukkit.craftbukkit.util.ServerShutdownThread.run(ServerShutdownThread.java:14)

how do one go about fixing this?

Thanks in advance,

3 answers to this question

Recommended Posts

  • 0
Posted

I also ran into this in a quick test and it looks like the age-old problem of the mod load order being unreliable on non-Windows platforms. Traditionally one fix has been to merge the mods into the server .jar file, but I haven't had a chance to try that with 2.1 yet.

  • 0
Posted

I was able to get past the NoClassDefFoundError exception by taking all of the .zip files in the 'mods' directory and merging them into a single .zip, though then it stops with a different exception:

2012-03-05 09:51:52 [sEVERE] Unexpected exception

java.lang.NullPointerException

    at net.minecraft.server.CraftingManager.registerShapedRecipe(CraftingManager.java:147)

    at net.minecraft.server.ModLoader.AddRecipe(ModLoader.java:344)

    at net.minecraft.server.mod_IC2_ChargingBench.load(mod_IC2_ChargingBench.java:42)

    at net.minecraft.server.ModLoader.init(ModLoader.java:692)

    at net.minecraft.server.ModLoader.Init(ModLoader.java:1357)

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

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

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

Disabling the charging benches in ModLoader.cfg gets the server successfully started. This is just a quick kludge though, and maybe more fiddling will get the charging benches working.

Edit: Okay, putting all of the mods *except* the charging benches into a single zip and leaving Charging Benches as a separate zip seems to get it all working.

Edit edit: Looks like nipoq has an even better solution here, just renaming some of the mod files.

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