latvian-dev / emc-condenser

EMC Condenser mod
http://minecraft.curseforge.com/projects/emc-condenser
3 stars 2 forks source link

Tool Tip Exception (Maybe NEI Related) #3

Closed Zarkazm closed 10 years ago

Zarkazm commented 10 years ago

Using NEI 1.0.3.68, LatCore 1.3.5, and EMCC 1.3.5, I receive this exception every time I open my inventory:

[13:15:10] [NEI Item Loading/ERROR] [FML]: Exception caught during firing event net.minecraftforge.event.entity.player.ItemTooltipEvent@3c3aad06: java.lang.NullPointerException at latmod.emcc.EMCCEventHandler.onItemTooltip(EMCCEventHandler.java:38) ~[EMCCEventHandler.class:?] at cpw.mods.fml.common.eventhandler.ASMEventHandler_291_EMCCEventHandler_onItemTooltip_ItemTooltipEvent.invoke(.dynamic) ~[?:?] at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) ~[ASMEventHandler.class:?] at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:138) [EventBus.class:?] at net.minecraftforge.event.ForgeEventFactory.onItemTooltip(ForgeEventFactory.java:153) [ForgeEventFactory.class:?] at net.minecraft.item.ItemStack.func_82840_a(ItemStack.java:626) [add.class:?] at codechicken.nei.guihook.GuiContainerManager.itemDisplayNameMultiline(GuiContainerManager.java:119) [GuiContainerManager.class:?] at codechicken.nei.guihook.GuiContainerManager.concatenatedDisplayName(GuiContainerManager.java:162) [GuiContainerManager.class:?] at codechicken.nei.ItemList$1.damageSearch(ItemList.java:103) [ItemList$1.class:?] at codechicken.nei.ItemList$1.execute(ItemList.java:142) [ItemList$1.class:?] at codechicken.nei.RestartableTask$1.run(RestartableTask.java:24) [RestartableTask$1.class:?] [13:15:10] [NEI Item Loading/ERROR] [FML]: Index: 7 Listeners: [13:15:10] [NEI Item Loading/ERROR] [FML]: 0: HIGHEST [13:15:10] [NEI Item Loading/ERROR] [FML]: 1: ASM: vazkii.botania.client.core.handler.TooltipHandler@452a1a4 onTooltipEvent(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [13:15:10] [NEI Item Loading/ERROR] [FML]: 2: HIGH [13:15:10] [NEI Item Loading/ERROR] [FML]: 3: ASM: com.nemock.ShowDurability2.core.handler.HUDRenderEventHandler@1872a299 handleItemTooltip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [13:15:10] [NEI Item Loading/ERROR] [FML]: 4: NORMAL [13:15:10] [NEI Item Loading/ERROR] [FML]: 5: ASM: latmod.core.mod.LCEventHandler@39e0ec3 onTooltip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [13:15:10] [NEI Item Loading/ERROR] [FML]: 6: ASM: thaumcraft.common.lib.events.EventHandlerRunic@f6d54aa tooltipEvent(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [13:15:10] [NEI Item Loading/ERROR] [FML]: 7: ASM: latmod.emcc.EMCCEventHandler@2124aaa3 onItemTooltip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [13:15:10] [NEI Item Loading/ERROR] [FML]: 8: ASM: crazypants.enderio.machine.painter.BlockPaintedGlowstone$PainterTemplate@7fc6b255 onTooltip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [13:15:10] [NEI Item Loading/ERROR] [FML]: 9: ASM: mcp.mobius.betterbarrels.bspace.BBEventHandler@70fe482b onItemTooltip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [13:15:10] [NEI Item Loading/ERROR] [FML]: 10: ASM: minetweaker.mc1710.ForgeEventHandler@4acb1d99 onItemTooltip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [13:15:10] [NEI Item Loading/ERROR] [FML]: 11: ASM: net.darkhax.moreswords.handler.EnchantmentBookHandler@469f372b onInfoDisplayed(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [13:15:10] [NEI Item Loading/ERROR] [FML]: 12: ASM: pneumaticCraft.client.ClientEventHandler@58a54a8e onItemTooltip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [13:15:10] [NEI Item Loading/ERROR] [FML]: 13: ASM: lumien.randomthings.Handler.RTEventHandler@2c988934 toolTip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [13:15:10] [NEI Item Loading/ERROR] [FML]: 14: ASM: com.pahimar.ee3.client.handler.ItemTooltipEventHandler@5211c779 handleItemTooltipEvent(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [13:15:10] [NEI Item Loading/ERROR] [FML]: 15: ASM: crazypants.enderio.conduit.item.filter.ClearFilterRecipe@7fc0a0cb onTooltip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [13:15:10] [NEI Item Loading/ERROR] [FML]: 16: ASM: crazypants.enderio.machine.ClearConfigRecipe@326cfb5d onTooltip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [13:15:10] [NEI Item Loading/ERROR] [FML]: 17: ASM: crazypants.enderio.gui.TooltipAddera@ff922f addTooltip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [13:15:10] [NEI Item Loading/ERROR] [FML]: 18: ASM: com.rwtema.extrautils.EventHandlerClient@38289a72 generatorTooltip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [13:15:10] [NEI Item Loading/ERROR] [FML]: 19: ASM: tonius.fluxedfeederunit.FluxedFeederUnit@55f4509b onTooltip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [13:15:10] [NEI Item Loading/ERROR] [FML]: 20: ASM: fox.spiteful.forbidden.FMEventHandler@5e55bfb7 onTooltip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [13:15:10] [NEI Item Loading/ERROR] [FML]: 21: ASM: invtweaks.forge.ClientProxy@20ba0c73 onItemTooltip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [13:15:10] [NEI Item Loading/ERROR] [FML]: 22: ASM: tterrag.core.common.handlers.OreDictTooltipHandler@71a63317 onItemTooltip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [13:15:10] [NEI Item Loading/ERROR] [FML]: 23: ASM: squeek.tictooltips.TooltipHandler@26fc71d6 onItemTooltip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [13:15:10] [NEI Item Loading/ERROR] [FML]: 24: ASM: am2.AMClientEventHandler@4c2e42a3 onItemTooltip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [13:15:10] [NEI Item Loading/ERROR] [FML]: 25: ASM: thut.world.common.corehandlers.WorldEventHandler@4840de9e onLivingUpdate(Lnet/minecraftforge/event/entity/living/LivingEvent;)V [13:15:10] [NEI Item Loading/ERROR] [FML]: 26: LOWEST [13:15:10] [NEI Item Loading/ERROR] [FML]: 27: ASM: com.dynious.refinedrelocation.event.EventHandlerClient@725eb312 tooltipEvent(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V

LatvianModder commented 10 years ago

I'm not updating EMCC for 1.6.4 anymore, but does this crash occur in any world / server or only on your current one? If it's only on that specific world, then:

It could be related with EnderIO crazypants.enderio.machine.painter.BlockPaintedGlowstone$PainterTemplate

That means, Painted Glowstone / something that comes from EIO Machine (I'm not an EIO expert :P) Possible solution is to remove EIO from modpack or delete your inventory file (don't forget to backup the world first tho)

Let me know, if anything helps

Zarkazm commented 10 years ago

This is for 1.7.10. Am I using the wrong EMCC version? And it doesn't cause a crash, it just spams the console. This is in any single player world and on my private server.

Also, I can try deleting EnderIO, but judging from the log it looks like that line is from the list of active listeners and not part of the exception message. It's like Forge is showing the exception then the list of active listeners at that moment.

LatvianModder commented 10 years ago

Then I'm left with a mystery. And I can't do anything about it now, you can try to clear your inventory and see if the bug is still there. But this will be fixed in next version (Build #6) (will be moved to CurseForge)