CrimsonCrips / AlexsMobsInteraction

MIT License
2 stars 2 forks source link

The console has the following warning, but it did not cause a crash #21

Closed ASHISK404 closed 4 months ago

ASHISK404 commented 4 months ago

1.20.1,alexsmobsinteraction-3.1, mohist server

[15:34:33 WARN]: Exception loading entity: java.lang.NullPointerException: Cannot invoke "Object.hashCode()" because "this.f25994" is null at net.minecraft.world.entity.ai.goal.WrappedGoal.hashCode(WrappedGoal.java:103) ~[server-1.20.1-20230612.114412-srg.jar%23514!/:?] at java.util.HashMap.hash(HashMap.java:338) ~[?:?] at java.util.HashMap.put(HashMap.java:610) ~[?:?] at java.util.HashSet.add(HashSet.java:221) ~[?:?] at net.minecraft.world.entity.ai.goal.GoalSelector.m25352(GoalSelector.java:48) ~[server-1.20.1-20230612.114412-srg.jar%23514!/:?] at com.github.alexthe666.alexsmobs.entity.EntitySoulVulture.handler$zeo000$alexsmobsinteraction$SoulVultureGoals(EntitySoulVulture.java:541) ~[alexsmobs-1.22.8.jar%23367!/:1.22.8] at com.github.alexthe666.alexsmobs.entity.EntitySoulVulture.m8099(EntitySoulVulture.java) ~[alexsmobs-1.22.8.jar%23367!/:1.22.8] at net.minecraft.world.entity.Mob.(Mob.java:145) ~[server-1.20.1-20230612.114412-srg.jar%23514!/:?] at net.minecraft.world.entity.PathfinderMob.(PathfinderMob.java:15) ~[server-1.20.1-20230612.114412-srg.jar%23514!/:?] at net.minecraft.world.entity.monster.Monster.(Monster.java:31) ~[server-1.20.1-20230612.114412-srg.jar%23514!/:?] at com.github.alexthe666.alexsmobs.entity.EntitySoulVulture.(EntitySoulVulture.java:70) ~[alexsmobs-1.22.8.jar%23367!/:1.22.8] at net.minecraft.world.entity.EntityType.m20615(EntityType.java:553) ~[server-1.20.1-20230612.114412-srg.jar%23514!/:?] at net.minecraft.world.entity.EntityType.m185996(EntityType.java:558) ~[server-1.20.1-20230612.114412-srg.jar%23514!/:?] at java.util.Optional.map(Optional.java:260) ~[?:?] at net.minecraft.world.entity.EntityType.m20642(EntityType.java:557) ~[server-1.20.1-20230612.114412-srg.jar%23514!/:?] at net.minecraft.world.entity.EntityType.m20669(EntityType.java:635) ~[server-1.20.1-20230612.114412-srg.jar%23514!/:?] at net.minecraft.world.entity.EntityType.m20645(EntityType.java:591) ~[server-1.20.1-20230612.114412-srg.jar%23514!/:?] at net.minecraft.world.entity.EntityType$1.m147056(EntityType.java:612) ~[server-1.20.1-20230612.114412-srg.jar%23514!/:?] at java.util.Spliterators$IteratorSpliterator.tryAdvance(Spliterators.java:1856) ~[?:?] at net.minecraft.world.entity.EntityType$1.tryAdvance(EntityType.java:611) ~[server-1.20.1-20230612.114412-srg.jar%23514!/:?] at java.util.Spliterator.forEachRemaining(Spliterator.java:332) ~[?:?] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?] at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) ~[?:?] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?] at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) ~[?:?] at net.minecraft.world.level.chunk.storage.EntityStorage.m223456(EntityStorage.java:53) ~[server-1.20.1-20230612.114412-srg.jar%23514!/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646) ~[?:?] at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?] at net.minecraft.util.thread.ProcessorMailbox.m18759(ProcessorMailbox.java:91) ~[server-1.20.1-20230612.114412-srg.jar%23514!/:?] at net.minecraft.util.thread.ProcessorMailbox.m18747(ProcessorMailbox.java:146) ~[server-1.20.1-20230612.114412-srg.jar%23514!/:?] at net.minecraft.util.thread.ProcessorMailbox.run(ProcessorMailbox.java:102) ~[server-1.20.1-20230612.114412-srg.jar%23514!/:?] at net.minecraft.server.TickTask.run(TickTask.java:18) ~[server-1.20.1-20230612.114412-srg.jar%23514!/:?] at net.minecraft.util.thread.BlockableEventLoop.m6367(BlockableEventLoop.java:151) ~[server-1.20.1-20230612.114412-srg.jar%23514!/:?] at net.minecraft.util.thread.ReentrantBlockableEventLoop.m6367(ReentrantBlockableEventLoop.java:23) ~[server-1.20.1-20230612.114412-srg.jar%23514!/:?] at net.minecraft.server.MinecraftServer.m6367(MinecraftServer.java:1029) ~[server-1.20.1-20230612.114412-srg.jar%23514!/:?] at net.minecraft.server.MinecraftServer.m6367(MinecraftServer.java:173) ~[server-1.20.1-20230612.114412-srg.jar%23514!/:?] at net.minecraft.util.thread.BlockableEventLoop.m7245(BlockableEventLoop.java:124) ~[server-1.20.1-20230612.114412-srg.jar%23514!/:?] at net.minecraft.server.MinecraftServer.m129961(MinecraftServer.java:1012) ~[server-1.20.1-20230612.114412-srg.jar%23514!/:?] at net.minecraft.server.MinecraftServer.m7245(MinecraftServer.java:1006) ~[server-1.20.1-20230612.114412-srg.jar%23514!/:?] at net.minecraft.util.thread.BlockableEventLoop.m18701(BlockableEventLoop.java:134) ~[server-1.20.1-20230612.114412-srg.jar%23514!/:?] at net.minecraft.server.MinecraftServer.m130012(MinecraftServer.java:992) ~[server-1.20.1-20230612.114412-srg.jar%23514!/:?] at net.minecraft.server.MinecraftServer.m130011(MinecraftServer.java:908) ~[server-1.20.1-20230612.114412-srg.jar%23514!/:?] at net.minecraft.server.MinecraftServer.m206580(MinecraftServer.java:281) ~[server-1.20.1-20230612.114412-srg.jar%23514!/:?] at java.lang.Thread.run(Thread.java:842) [?:?]

CrimsonCrips commented 4 months ago

This issue caused Soul Vultures to not spawn or can be spawned

this has been fixed in the upcoming 3.3 update