Better Agriculture

Better Agriculture

858k Downloads

NullPointerException ItemStack

cap10zeus opened this issue ยท 15 comments

commented

FYI I got this crash updating pack.
http://pastebin.com/jz5R1bLJ

commented

This should fix this too f593564

commented

What version of BetterAgriculture are you using? And what version of Forge

commented

Wake up knox, it's in the crash report:

Forge 12.17.0.1976
UCHE betteragriculture{0.16} Better Agriculture

commented

Right -_-

commented

Idk what this registry is doing there: (GameRegistry.addSmelting(ModBlocks.nethercoalOre, new ItemStack(Blocks.COAL_ORE, 2), 1.0f);)

commented

It didn't crash on my end tho, we have been using on the public server.
Can you give more description about when does the crash happen?

commented

Looks like that particular line is a leftover from nether metals and can go.

commented

Found the mod it's conflicting with; RouterReborn. https://bitbucket.org/zyberwax/main/issues/54/nullpointer

commented

i cant see how it is conflicting, i add a recipe to smelting, for coal ore to coal, but that should not cause any issues with nethercoalOre

commented

im also able to load BetterAgriculture and RR together and im not getting a crash

commented

Well darn, I didn't try it by themselves. Guess i gotta do it again with both installed and see who else could be the culprit.

commented

Ok, so here are my findings, when I have both BA and RouterReborn installed, the game crashes on startup with the following mods as well:
AbyssalCraft
BaseMetals
Forestry
IC2

commented

this is only happening if RR is installed?

commented

when i tested BA + RR i noticed JEI is complaining there is a null item in the smelting recipes, this only happends when BA is installed, Does not cause a crash though.

Not sure how a null item ends up in there, but dont look like forge has any checks that prevent you from adding a null item, i need to test some more to make sure im not the one that add this null item, but i do check for null before i auto add recipes, so not sure what is going on here.

commented

Yes happening when RR and BA are installed together along with the mods stated above.