copygirl / BetterStorage

A Minecraft mod aimed at offering more storage options.
http://copy.mcft.net/mc/BetterStorage/
MIT License
57 stars 33 forks source link

Crashing with mod installed in a custom modpack #236

Closed Painstouch closed 10 years ago

Painstouch commented 10 years ago

The below is a result of a loading a world (either new or pregen one) and shortly crashing after a load. I have no issues without BetterStorage, so posting it here. The main part of the whole crash log is as follows;

java.lang.NoClassDefFoundError: net/mcft/copy/betterstorage/api/ICrateStorage at appeng.integration.modules.BetterStorage.isStorageCrate(BetterStorage.java:20) at appeng.util.InventoryAdaptor.getAdaptor(InventoryAdaptor.java:60) at appeng.helpers.MeteoritePlacer.placeMetor(MeteoritePlacer.java:637) at appeng.helpers.MeteoritePlacer.spawnMeteorite(MeteoritePlacer.java:552) at appeng.hooks.MeteoriteWorldGen.tryMetroite(MeteoriteWorldGen.java:109) at appeng.hooks.MeteoriteWorldGen.access$100(MeteoriteWorldGen.java:19) at appeng.hooks.MeteoriteWorldGen$MetoriteSpawn.call(MeteoriteWorldGen.java:94) at appeng.hooks.TickHandler.processQueue(TickHandler.java:263) at appeng.hooks.TickHandler.onTick(TickHandler.java:247) at cpw.mods.fml.common.eventhandler.ASMEventHandler_802_TickHandler_onTick_TickEvent.invoke(.dynamic) at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:52) at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:122) at cpw.mods.fml.common.FMLCommonHandler.onPreWorldTick(FMLCommonHandler.java:268) at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:620) at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547) at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:186) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685) Caused by: java.lang.ClassNotFoundException: net.mcft.copy.betterstorage.api.ICrateStorage at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 18 more Caused by: java.lang.NullPointerException

The below is big Wall'O'Text related to this crash:

https://gist.github.com/copygirl/dd5d3e6bf273a5cda54f

copygirl commented 10 years ago

Edited the issue description. Please use a service like Gist instead of including huge log files in the comment text.

The issue is from AE2 interfacing with BetterStorage's API, but ICrateStorage has been changed and moved somewhere else. This should be reported to AE2, though make sure it's not been fixed already! Please let me know and close the issue when it has been fixed.

You may use this release which does not have these changes.

Painstouch commented 10 years ago

Cheers for more gadgets to play with. Hopefully this will have a good ending.

Painstouch commented 10 years ago

UPDATE: to be included in future update. LINK: http://ae2.ae-mod.info/Tracker/1001/

Cheers all!

copygirl commented 10 years ago

Ouch. It seems like AlgorithmX2 doesn't approve. In my defense, I did tell him I wasn't sure if the API would stay this way, and he said it was okay! That was probably around a year ago though.