Galacticraft Legacy

Galacticraft Legacy

2M Downloads

Nodami installed crashes when players attack each other.

Ironnoob73 opened this issue ยท 5 comments

commented

Forge Version

14.23.5.2860

Galacticraft Version

4.0.4

Log or Crash Report

https://gist.github.com/Ironnoob73/508d8a26f6aff96bc53d04265ba54f0c
Error message in the latest.log:

[16:03:15] [Server thread/FATAL] [net.minecraft.server.MinecraftServer]: Error executing task
java.util.concurrent.ExecutionException: java.lang.NullPointerException
	at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_251]
	at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_251]
	at net.minecraft.util.Util.func_181617_a(Util.java:48) [h.class:?]
	at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:723) [MinecraftServer.class:?]
	at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) [MinecraftServer.class:?]
	at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:279) [chd.class:?]
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_251]
Caused by: java.lang.NullPointerException
	at profhugo.nodami.handlers.EntityHandler.onEntityHurt(EntityHandler.java:30) ~[EntityHandler.class:?]
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_3806_EntityHandler_onEntityHurt_LivingHurtEvent.invoke(.dynamic) ~[?:?]
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:?]
	at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182) ~[EventBus.class:?]
	at net.minecraftforge.common.ForgeHooks.onLivingHurt(ForgeHooks.java:604) ~[ForgeHooks.class:14.23.5.2860]
	at net.minecraft.entity.player.EntityPlayer.func_70665_d(EntityPlayer.java:1120) ~[aed.class:?]
	at net.minecraft.entity.EntityLivingBase.func_70097_a(EntityLivingBase.java:926) ~[vp.class:?]
	at net.minecraft.entity.player.EntityPlayer.func_70097_a(EntityPlayer.java:1038) ~[aed.class:?]
	at net.minecraft.entity.player.EntityPlayerMP.func_70097_a(EntityPlayerMP.java:645) ~[oq.class:?]
	at micdoodle8.mods.galacticraft.core.entities.player.GCEntityPlayerMP.func_70097_a(GCEntityPlayerMP.java:75) ~[GCEntityPlayerMP.class:4.0.4]
	at net.minecraft.entity.player.EntityPlayer.func_71059_n(EntityPlayer.java:1328) ~[aed.class:?]
	at net.minecraft.entity.player.EntityPlayerMP.func_71059_n(EntityPlayerMP.java:1425) ~[oq.class:?]
	at com.tmtravlr.potioncore.network.PacketHandlerServer.useEntity(PacketHandlerServer.java:113) ~[PacketHandlerServer.class:?]
	at com.tmtravlr.potioncore.network.PacketHandlerServer.lambda$onMessage$1(PacketHandlerServer.java:66) ~[PacketHandlerServer.class:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_251]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_251]
	at net.minecraft.util.Util.func_181617_a(Util.java:47) ~[h.class:?]
	... 5 more

Reproduction steps

  1. Melee attack players.Does not cause the game to crash, but the attack is ineffective and produces error logs.
  2. Attack players from a distance. will cause the game to crash.
commented

@Ironnoob73 can you please test this without galacticraft installed and let me know if the output is the same

commented

After uninstalling GC, the game no longer crashes.

commented

I'll take a look into might what be happening when I have time, but since the problem seems to arise when this, imo, inherently niche mod that is not really widly used, is installed. This will not be the highest of priorities. I apprecaite the report though none the less.

commented

Try disabling debug mode in the Nodami config.

commented

Try disabling debug mode in the Nodami config.

Sorry, it doesn't look like it's a problem with GC...