Blood Magic

Blood Magic

90M Downloads

Internal Server Error - Sanguine Armor & Repair Enchant with Osmotic Enchanter

psychofad opened this issue ยท 2 comments

commented

So I have used the Osmotic Enchanter from Thaumic Tinkerer 2.5 build 158 and applied the Repair II enchant from Thaumcraft 4.2.0.1 onto my Sanguine Armor from Blood Magic Beta 18 on 1.7.10. Whenever I take damage and the Repair enchant tries to repair the damaged armor I am disconnected from my private server and it say Internal Server Error. Any attempt to rejoin the server results in my being disconnected again with the Internal Server Error. None of this shows up in the log for the client, however, the server displays this error before the disconnect:

[18:34:58] [Server thread/WARN]: Failed to handle packet for /10.0.0.6:57414
net.minecraft.util.ReportedException: Ticking player
at net.minecraft.entity.player.EntityPlayerMP.func_71127_g(EntityPlayerMP.java:349) ~[mw.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147347_a(NetHandlerPlayServer.java:303) ~[nh.class:?]
at net.minecraft.network.play.client.C03PacketPlayer.func_148833_a(SourceFile:137) ~[jd.class:?]
at net.minecraft.network.play.client.C03PacketPlayer.func_148833_a(SourceFile:8) ~[jd.class:?]
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212) ~[ej.class:?]
at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:165) [nc.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:659) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:335) [lt.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685) [li.class:?]
Caused by: java.lang.NullPointerException
at thaumcraft.common.items.wands.ItemWandCasting.getVis(ItemWandCasting.java:221) ~[ItemWandCasting.class:?]
at thaumcraft.common.items.wands.ItemWandCasting.consumeAllVis(ItemWandCasting.java:302) ~[ItemWandCasting.class:?]
at thaumcraft.common.items.wands.WandManager.consumeVisFromInventory(WandManager.java:93) ~[WandManager.class:?]
at thaumcraft.common.lib.events.EventHandlerEntity.doRepair(EventHandlerEntity.java:173) ~[EventHandlerEntity.class:?]
at thaumcraft.common.lib.events.EventHandlerEntity.livingTick(EventHandlerEntity.java:223) ~[EventHandlerEntity.class:?]
at cpw.mods.fml.common.eventhandler.ASMEventHandler_59_EventHandlerEntity_livingTick_LivingUpdateEvent.invoke(.dynamic) ~[?:?]
at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:51) ~[ASMEventHandler.class:?]
at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:122) ~[EventBus.class:?]
at net.minecraftforge.common.ForgeHooks.onLivingUpdate(ForgeHooks.java:275) ~[ForgeHooks.class:?]
at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:1558) ~[sv.class:?]
at net.minecraft.entity.player.EntityPlayer.func_70071_h_(EntityPlayer.java:288) ~[yz.class:?]
at net.minecraft.entity.player.EntityPlayerMP.func_71127_g(EntityPlayerMP.java:295) ~[mw.class:?]
... 10 more

The only way I was able to rejoin the server was to NBT edit my player.dat file and remove the Repair enchant from the armor. As I am unsure whose issue this is I will attempt to post it on all 3 mods issue trackers if available. Perhaps some checks should be made to ensure that the armor is compatible with the enchant before allowing it to be applied or something.