View Issue Details

IDProjectCategoryView StatusLast Update
0000437Industrial-Craft²crossmod-compatibility / submodules / APIpublic2013-06-19 01:09
Reportersparkywaffles Assigned ToPlayer  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionno change required 
Summary0000437: IC2 might not be properly using ore dictionary.
DescriptionWhen using another mod, like one I've been working on, that adds ores to the dictionary that IC2 uses, the game crashes.

From the crash report below, it appears that a part of IC2's ore dictionary entry returns null.
Additional InformationHere's a report below:

...
    IC2{1.115.341-lf} [IndustrialCraft 2] (industrialcraft-2_1.115.341-lf.jar) Unloaded->Constructed->Pre-initialized->Initialized
    sparkysMod{Beta 0.1} [Sparky's Mod] (Sparky's Mod v0.5.zip) Unloaded->Constructed->Pre-initialized->Errored
    Thaumcraft{3.0.5e} [Thaumcraft] (Thaumcraft3.0.5e.zip) Unloaded->Constructed->Pre-initialized->Initialized
    LWJGL: 2.4.2
    OpenGL: Intel(R) HD Graphics 3000 GL version 3.1.0 - Build 8.15.10.2712, Intel
    Is Modded: Definitely; Client brand changed to 'fml,forge'
    Type: Client (map_client.txt)
    Texture Pack: Default
    Profiler Position: N/A (disabled)
    Vec3 Pool Size: ~~ERROR~~ NullPointerException: null

java.lang.NullPointerException
    at net.minecraft.item.ItemStack.func_77960_j(ItemStack.java:268)
    at ic2.core.IC2.registerOre(IC2.java:1832)
    at net.minecraftforge.event.ASMEventHandler_55_IC2_registerOre_OreRegisterEvent.invoke(.dynamic)
    at net.minecraftforge.event.ASMEventHandler.invoke(ASMEventHandler.java:35)
    at net.minecraftforge.event.EventBus.post(EventBus.java:103)
    at net.minecraftforge.oredict.OreDictionary.registerOre(OreDictionary.java:303)
    at net.minecraftforge.oredict.OreDictionary.registerOre(OreDictionary.java:285)
    at sparky.SparkysMod.oreRegistration(SparkysMod.java:546)
    at sparky.SparkysMod.load(SparkysMod.java:289)
    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:494)
    at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
    at com.google.common.eventbus.EventBus.post(EventBus.java:267)
    at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165)
    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.EventHandler.handleEvent(EventHandler.java:74)
    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
    at com.google.common.eventbus.EventBus.post(EventBus.java:267)
    at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98)
    at cpw.mods.fml.common.Loader.initializeMods(Loader.java:690)
    at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:206)
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:447)
    at net.minecraft.client.MinecraftAppletImpl.func_71384_a(SourceFile:56)
    at net.minecraft.client.Minecraft.run(Minecraft.java:732)
    at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT 33b5357a ----------
TagsNo tags attached.
Minecraft Version

Activities

sparkywaffles

2013-06-09 19:52

reporter   ~0001047

If this isn't an IC2 problem, just remove this.

Player

2013-06-10 09:01

administrator   ~0001050

The item stack you're passing to the ore dictionary seems to be invalid, there's most likely no Item registered with the id you specified. You'd have to instantiate the items/blocks first

sparkywaffles

2013-06-14 08:33

reporter   ~0001065

Okay, I've reworked the crafting recipes in my mod and it was fixed. The reason why I posted this here was because many of the people I've shown this to said it looked like an IC2 problem. This also seemed to be the only mod I had problems with. Everything is fine, now. This can be closed.

Issue History

Date Modified Username Field Change
2013-06-08 01:51 sparkywaffles New Issue
2013-06-09 19:52 sparkywaffles Note Added: 0001047
2013-06-10 09:01 Player Note Added: 0001050
2013-06-10 09:01 Player Assigned To => Player
2013-06-10 09:01 Player Status new => feedback
2013-06-14 08:33 sparkywaffles Note Added: 0001065
2013-06-14 08:33 sparkywaffles Status feedback => assigned
2013-06-19 01:09 Player Status assigned => closed
2013-06-19 01:09 Player Resolution open => no change required