Bassebombecraft

Bassebombecraft

18.5k Downloads

1.14.3 fails with exception: NullPointerException at bassebombecraft.entity.ai.goal.CompanionAttack.doLongRangeAction(..)

Closed this issue ยท 2 comments

commented

Stacktrace:

[25Aug2019 20:38:26.042] [Server thread/ERROR] [net.minecraft.server.MinecraftServer/]: Encountered an unexpected exception
net.minecraft.crash.ReportedException: Ticking entity
	at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:850) ~[?:?]
	at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:781) ~[?:?]
	at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) ~[?:?]
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:630) [?:?]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_211]
Caused by: java.lang.NullPointerException
	at bassebombecraft.entity.ai.goal.CompanionAttack.doLongRangeAction(CompanionAttack.java:267) ~[?:?]
	at bassebombecraft.entity.ai.goal.CompanionAttack.tick(CompanionAttack.java:213) ~[?:?]
	at net.minecraft.entity.ai.goal.PrioritizedGoal.tick(PrioritizedGoal.java:62) ~[?:?]
	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) ~[?:1.8.0_211]
	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_211]
	at java.util.Iterator.forEachRemaining(Iterator.java:116) ~[?:1.8.0_211]
	at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) ~[?:1.8.0_211]
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) ~[?:1.8.0_211]
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) ~[?:1.8.0_211]
	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) ~[?:1.8.0_211]
	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) ~[?:1.8.0_211]
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_211]
	at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) ~[?:1.8.0_211]
	at net.minecraft.entity.ai.goal.GoalSelector.tick(GoalSelector.java:88) ~[?:?]
	at net.minecraft.entity.MobEntity.updateEntityActionState(MobEntity.java:643) ~[?:?]
	at net.minecraft.entity.LivingEntity.livingTick(LivingEntity.java:2337) ~[?:?]
	at net.minecraft.entity.MobEntity.livingTick(MobEntity.java:506) ~[?:?]
	at net.minecraft.entity.monster.MonsterEntity.livingTick(MonsterEntity.java:41) ~[?:?]
	at net.minecraft.entity.LivingEntity.tick(LivingEntity.java:2179) ~[?:?]
	at net.minecraft.entity.MobEntity.tick(MobEntity.java:310) ~[?:?]
	at net.minecraft.entity.monster.MonsterEntity.tick(MonsterEntity.java:56) ~[?:?]
	at net.minecraft.world.ServerWorld.updateEntity(ServerWorld.java:589) ~[?:?]
	at net.minecraft.world.World.func_217390_a(World.java:737) ~[?:?]
	at net.minecraft.world.ServerWorld.tick(ServerWorld.java:384) ~[?:?]
	at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:846) ~[?:?]
	... 4 more


commented

Happened during attempt to get team to attack nearest mob.

commented

Closed with commit db54faf.