Epic Fight

Epic Fight

13M Downloads

Husk Spawns Causing crash

Mr-Syntax opened this issue ยท 0 comments

commented

as the title states pretty simply, when the server runs the ZombieAdd join world or something it crashes the world

java.lang.NullPointerException
at maninhouse.epicfight.capabilities.entity.LivingData.initAttributes(LivingData.java:82)
at maninhouse.epicfight.capabilities.entity.mob.ZombieData.initAttributes(ZombieData.java:54)
at maninhouse.epicfight.capabilities.entity.LivingData.onEntityJoinWorld(LivingData.java:74)
at maninhouse.epicfight.capabilities.entity.MobData.onEntityJoinWorld(MobData.java:48)
at maninhouse.epicfight.capabilities.entity.mob.ZombieData.onEntityJoinWorld(ZombieData.java:29)
at maninhouse.epicfight.capabilities.entity.mob.ZombieData.onEntityJoinWorld(ZombieData.java:22)
at maninhouse.epicfight.events.EntityEvents.spawnEvent(EntityEvents.java:77)
at net.minecraftforge.eventbus.ASMEventHandler_1835_EntityEvents_spawnEvent_EntityJoinWorldEvent.invoke(.dynamic)
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85)
at net.minecraftforge.eventbus.EventBus$$Lambda$2608/1254243121.invoke(Unknown Source)
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302)
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283)
at net.minecraft.world.server.ServerWorld.func_72838_d(ServerWorld.java:813)
at net.minecraft.world.server.ServerWorld.func_217376_c(ServerWorld.java:754)
at com.natamus.collective.events.EntityEvents.onEntityJoinWorld(EntityEvents.java:153)
at net.minecraftforge.eventbus.ASMEventHandler_2500_EntityEvents_onEntityJoinWorld_EntityJoinWorldEvent.invoke(.dynamic)
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85)
at net.minecraftforge.eventbus.EventBus$$Lambda$2608/1254243121.invoke(Unknown Source)
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302)
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283)
at net.minecraft.world.server.ServerWorld.func_72838_d(ServerWorld.java:813)
at net.minecraft.world.server.ServerWorld.func_217376_c(ServerWorld.java:754)
at net.minecraft.world.IServerWorld$$Lambda$23004/1748586187.accept(Unknown Source)
at java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:419)
at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:742)
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
at net.minecraft.world.IServerWorld.func_242417_l(SourceFile:11)
at net.minecraft.world.spawner.WorldEntitySpawner.func_234966_a_(WorldEntitySpawner.java:178)
at net.minecraft.world.spawner.WorldEntitySpawner.func_234967_a_(WorldEntitySpawner.java:124)
at net.minecraft.world.spawner.WorldEntitySpawner.func_234979_a_(WorldEntitySpawner.java:110)
at net.minecraft.world.server.ServerChunkProvider.func_217220_m(ServerChunkProvider.java:666)
at net.minecraft.world.server.ServerChunkProvider.func_217207_a(ServerChunkProvider.java:321)
at net.minecraft.world.server.ServerWorld.func_72835_b(ServerWorld.java:333)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:851)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:787)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:118)
at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:642)
at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:232)
at net.minecraft.server.MinecraftServer$$Lambda$22183/2024965470.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)

[20:21:14] [Server thread/FATAL]: Preparing crash report with UUID 4f01daa7-184f-4f9a-ad8f-456ce2a65875
[20:21:14] [Server thread/ERROR]: Encountered an unexpected exception
net.minecraft.crash.ReportedException: Exception ticking world
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:855) ~[?:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:787) ~[?:?]
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:118) ~[?:?]
at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:642) [?:?]
at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:232) [?:?]
at net.minecraft.server.MinecraftServer$$Lambda$22183/2024965470.run(Unknown Source) [?:?]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51]
Caused by: java.lang.NullPointerException
at maninhouse.epicfight.capabilities.entity.LivingData.initAttributes(LivingData.java:82) ~[?:1.0]
at maninhouse.epicfight.capabilities.entity.mob.ZombieData.initAttributes(ZombieData.java:54) ~[?:1.0]
at maninhouse.epicfight.capabilities.entity.LivingData.onEntityJoinWorld(LivingData.java:74) ~[?:1.0]
at maninhouse.epicfight.capabilities.entity.MobData.onEntityJoinWorld(MobData.java:48) ~[?:1.0]
at maninhouse.epicfight.capabilities.entity.mob.ZombieData.onEntityJoinWorld(ZombieData.java:29) ~[?:1.0]
at maninhouse.epicfight.capabilities.entity.mob.ZombieData.onEntityJoinWorld(ZombieData.java:22) ~[?:1.0]
at maninhouse.epicfight.events.EntityEvents.spawnEvent(EntityEvents.java:77) ~[?:1.0]
at net.minecraftforge.eventbus.ASMEventHandler_1835_EntityEvents_spawnEvent_EntityJoinWorldEvent.invoke(.dynamic) ~[?:?]
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-4.0.0.jar:?]
at net.minecraftforge.eventbus.EventBus$$Lambda$2608/1254243121.invoke(Unknown Source) ~[?:?]
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-4.0.0.jar:?]
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-4.0.0.jar:?]
at net.minecraft.world.server.ServerWorld.func_72838_d(ServerWorld.java:813) ~[?:?]
at net.minecraft.world.server.ServerWorld.func_217376_c(ServerWorld.java:754) ~[?:?]
at com.natamus.collective.events.EntityEvents.onEntityJoinWorld(EntityEvents.java:153) ~[?:2.26]
at net.minecraftforge.eventbus.ASMEventHandler_2500_EntityEvents_onEntityJoinWorld_EntityJoinWorldEvent.invoke(.dynamic) ~[?:?]
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-4.0.0.jar:?]
at net.minecraftforge.eventbus.EventBus$$Lambda$2608/1254243121.invoke(Unknown Source) ~[?:?]
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-4.0.0.jar:?]
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-4.0.0.jar:?]
at net.minecraft.world.server.ServerWorld.func_72838_d(ServerWorld.java:813) ~[?:?]
at net.minecraft.world.server.ServerWorld.func_217376_c(ServerWorld.java:754) ~[?:?]
at net.minecraft.world.IServerWorld$$Lambda$23004/1748586187.accept(Unknown Source) ~[?:?]
at java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:419) ~[?:1.8.0_51]
at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:742) ~[?:1.8.0_51]
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) ~[?:1.8.0_51]
at net.minecraft.world.IServerWorld.func_242417_l(SourceFile:11) ~[?:?]
at net.minecraft.world.spawner.WorldEntitySpawner.func_234966_a_(WorldEntitySpawner.java:178) ~[?:?]
at net.minecraft.world.spawner.WorldEntitySpawner.func_234967_a_(WorldEntitySpawner.java:124) ~[?:?]
at net.minecraft.world.spawner.WorldEntitySpawner.func_234979_a_(WorldEntitySpawner.java:110) ~[?:?]
at net.minecraft.world.server.ServerChunkProvider.func_217220_m(ServerChunkProvider.java:666) ~[?:?]
at net.minecraft.world.server.ServerChunkProvider.func_217207_a(ServerChunkProvider.java:321) ~[?:?]
at net.minecraft.world.server.ServerWorld.func_72835_b(ServerWorld.java:333) ~[?:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:851) ~[?:?]

hope this is helpful to some people took me an hour to debug..