BuildCraft|Core

BuildCraft|Core

7M Downloads

6.1.5 crash when using Dragon API

helswake opened this issue ยท 8 comments

commented

When using the new BC version with Dragon API V2, the launcher crashes with this error:

---- Minecraft Crash Report ----
// Why did you do that?

Time: 11/2/14 12:35 PM
Description: There was a severe problem during mod loading that has caused the game to fail

cpw.mods.fml.common.LoaderException: java.lang.NoSuchMethodError: buildcraft.api.recipes.IRefineryRecipeManager.addRecipe(Ljava/lang/String;Lnet/minecraftforge/fluids/FluidStack;Lnet/minecraftforge/fluids/FluidStack;II)V
    at cpw.mods.fml.common.LoadController.transition(LoadController.java:162)
    at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:515)
    at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:239)
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:867)
    at net.minecraft.client.main.Main.main(SourceFile:148)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:286)
    at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:376)
    at org.multimc.EntryPoint.listen(EntryPoint.java:165)
    at org.multimc.EntryPoint.main(EntryPoint.java:54)
Caused by: java.lang.NoSuchMethodError: buildcraft.api.recipes.IRefineryRecipeManager.addRecipe(Ljava/lang/String;Lnet/minecraftforge/fluids/FluidStack;Lnet/minecraftforge/fluids/FluidStack;II)V
    at buildcraft.BuildCraftEnergy.preInit(BuildCraftEnergy.java:253)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513)
    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
    at com.google.common.eventbus.EventBus.post(EventBus.java:275)
    at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)
    at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
    at com.google.common.eventbus.EventBus.post(EventBus.java:275)
    at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
    at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:513)
    ... 18 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
    Minecraft Version: 1.7.10
    Operating System: Windows 7 (amd64) version 6.1
    Java Version: 1.7.0_67, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 293762304 bytes (280 MB) / 594018304 bytes (566 MB) up to 954728448 bytes (910 MB)
    JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xms512m -Xmx1024m
    AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP v9.05 FML v7.10.85.1231 Minecraft Forge 10.13.2.1231 11 mods loaded, 11 mods active
    mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized
    FML{7.10.85.1231} [Forge Mod Loader] (forge-1.7.10-10.13.2.1231-universal.jar) Unloaded->Constructed->Pre-initialized
    Forge{10.13.2.1231} [Minecraft Forge] (forge-1.7.10-10.13.2.1231-universal.jar) Unloaded->Constructed->Pre-initialized
    <DragonAPI ASM>{0} [DragonAPI ASM Data Initialization] (minecraft.jar) Unloaded->Constructed->Pre-initialized
    BuildCraft|Core{6.1.5} [BuildCraft] (buildcraft-6.1.5.jar) Unloaded->Constructed->Pre-initialized
    BuildCraft|Builders{6.1.5} [BC Builders] (buildcraft-6.1.5.jar) Unloaded->Constructed->Pre-initialized
    BuildCraft|Transport{6.1.5} [BC Transport] (buildcraft-6.1.5.jar) Unloaded->Constructed->Pre-initialized
    BuildCraft|Silicon{6.1.5} [BC Silicon] (buildcraft-6.1.5.jar) Unloaded->Constructed->Pre-initialized
    BuildCraft|Factory{6.1.5} [BC Factory] (buildcraft-6.1.5.jar) Unloaded->Constructed->Pre-initialized
    BuildCraft|Energy{6.1.5} [BC Energy] (buildcraft-6.1.5.jar) Unloaded->Constructed->Errored
    DragonAPI{1.0} [DragonAPI] (DragonAPI 1.7.10 V2.jar) Unloaded->Constructed->Pre-initialized
commented

I had the same problem and i deleted the Buildcraft API in the DragonAPI.jar but it is still crashing

cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: buildcraft/api/power/IPowerReceptor
at cpw.mods.fml.common.LoadController.transition(LoadController.java:162)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:692)
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:288)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:541)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:867)
at net.minecraft.client.main.Main.main(SourceFile:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
Caused by: java.lang.NoClassDefFoundError: buildcraft/api/power/IPowerReceptor
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:274)
at Reika.DragonAPI.Libraries.Java.ReikaJavaLibrary.initClass(ReikaJavaLibrary.java:197)
at Reika.RotaryCraft.RotaryRegistration.addTileEntities(RotaryRegistration.java:51)
at Reika.RotaryCraft.RotaryCraft.load(RotaryCraft.java:271)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:691)
... 10 more
Caused by: java.lang.ClassNotFoundException: buildcraft.api.power.IPowerReceptor
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:101)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 41 more

A detailed walkthrough of the error, its code path and all known details is as follows:

-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Linux (amd64) version 3.16.0-4-amd64
Java Version: 1.7.0_65, Oracle Corporation
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 151416840 bytes (144 MB) / 283639808 bytes (270 MB) up to 1060372480 bytes (1011 MB)
JVM Flags: 5 total; -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.05 FML v7.10.85.1230 Minecraft Forge 10.13.2.1230 18 mods loaded, 18 mods active
mcp{9.05} Minecraft Coder Pack Unloaded->Constructed->Pre-initialized->Initialized
FML{7.10.85.1230} Forge Mod Loader Unloaded->Constructed->Pre-initialized->Initialized
Forge{10.13.2.1230} Minecraft Forge Unloaded->Constructed->Pre-initialized->Initialized
{000} CoFH ASM Data Initialization Unloaded->Constructed->Pre-initialized->Initialized
{0} DragonAPI ASM Data Initialization Unloaded->Constructed->Pre-initialized->Initialized
CoFHCore{1.7.10R3.0.0B8} CoFH Core Unloaded->Constructed->Pre-initialized->Initialized
BuildCraft|Core{6.2.4} BuildCraft Unloaded->Constructed->Pre-initialized->Initialized
BuildCraft|Transport{6.2.4} BC Transport Unloaded->Constructed->Pre-initialized->Initialized
BuildCraft|Silicon{6.2.4} BC Silicon Unloaded->Constructed->Pre-initialized->Initialized
BuildCraft|Builders{6.2.4} BC Builders Unloaded->Constructed->Pre-initialized->Initialized
BuildCraft|Energy{6.2.4} BC Energy Unloaded->Constructed->Pre-initialized->Initialized
BuildCraft|Factory{6.2.4} BC Factory Unloaded->Constructed->Pre-initialized->Initialized
ThermalFoundation{1.7.10R1.0.0B3} Thermal Foundation Unloaded->Constructed->Pre-initialized->Initialized
ThermalExpansion{1.7.10R4.0.0B6} Thermal Expansion Unloaded->Constructed->Pre-initialized->Initialized
DragonAPI{1.0} [DragonAPI](DragonAPI 1.7.10 V2.jar) Unloaded->Constructed->Pre-initialized->Initialized
RotaryCraft{Gamma} [RotaryCraft](RotaryCraft 1.7.10 V2.jar) Unloaded->Constructed->Pre-initialized->Errored
ElectriCraft{beta} [ElectriCraft](ElectriCraft 1.7.10 V2.jar) Unloaded->Constructed->Pre-initialized->Errored
ReactorCraft{beta} [ReactorCraft](ReactorCraft 1.7.10 V2.jar) Unloaded->Constructed->Pre-initialized->Errored

commented

RotaryCraft{Gamma} RotaryCraft Unloaded->Constructed->Pre-initialized->Errored
ElectriCraft{beta} ElectriCraft Unloaded->Constructed->Pre-initialized->Errored
ReactorCraft{beta} ReactorCraft Unloaded->Constructed->Pre-initialized->Errored

what versions do you have?

commented

Known problem, delete Buildcraft API folder in DragonAPI.jar

commented

Nice, but what are the consequences ?

commented

@kane-thornwyrd Reika must update his mods.

commented

@kane-thornwyrd nothing as there is a BuildCraft in classpath. It is only required when there is no BC insalled.

commented

Yeah, I know, my question were more in a "what happen in-game when buildcraft is missing inside the Dragon API ?" manner.

commented

thanks