-
-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug|Crash]: java.lang.NullPointerException: Cannot invoke "java.util.Map.containsKey(Object)" because "this.weaponAttackMotions" is null #1926
Comments
Same identical problem here, same error, same version, very similar log (java.lang.NullPointerException: Cannot invoke "java.util.Map.containsKey(Object)" because "this.weaponAttackMotions" is null) , same steps to reproduce! |
Show me your mods tuna, maybe I can find the coincidence |
Sure! Thanks: crash-2025-02-22_17.10.28-server.txt
|
same issue randomly pop ups |
Pls show me your mod list |
I've tried a few things: downgrading version, disabling WoM mod, remove shaders. For now the only think that worked is to set the world in Peaceful mod, so probably is something about an Entity/Mob. |
`
|
I think I started randomly getting this error after adding this group of mods: blueprint-1.20.1-7.1.1.jar So my guess is that one of these is the cause |
I've disabled Shifu mod, the server didn't crash in the last hour, i'll keep u updated! Thanks! |
Yeah, i haven't crashed since i uninstalled shifu, probably that was the problem! |
To confirm, reinstall Shifu and see if it starts crashing again |
Bro I never had that mod installed 😔 |
And nobody seems to help in this GitHub |
Please avoid posting issues that don't have anything to do with Epic Fight, this includes addons. Anything that regards addons we will not answer since that is up to the addon developer. If you want help regardless go to the Epic Fight Discord and post a community support thread there. |
Ghost I feel maybe it's because of framework and migamigos, it's the only coincidence I haven't try and my first crash report is from the day I downloaded those two, try it and tell me |
Didn't work at all we're cooked |
Like I said Don't expect proper community support from here, only post a GitHub issue here regarding Only Epic Fight and not Epic Fight +100 mods. |
Please check if a similar issue has already been reported.
Please check you're using proper versions.
Please check if this issue's from out of our area
The name of the mod
No response
After all of these, please check if you're just pressing the ok buttons to skip this process.
Minecraft Version
1.20.1
The Issue
For some time now I have been having a problem in which every few minutes and for no apparent reason the game crashes and always giving the same error (java.lang.NullPointerException: Cannot invoke "java.util.Map.containsKey(Object)" because "this.weaponAttackMotions" is null) and it says that it is due to epic fight.
at TRANSFORMER/[email protected]/yesman.epicfight.world.capabilities.entitypatch.HumanoidMobPatch.getHoldingItemWeaponMotionBuilder(HumanoidMobPatch.java:106)
Stacktrace:
at yesman.epicfight.world.capabilities.entitypatch.HumanoidMobPatch.getHoldingItemWeaponMotionBuilder(HumanoidMobPatch.java:106) ~[epicfight-forge-20.9.7-1.20.1.jar%23317!/:20.9.7] {re:classloading}
at yesman.epicfight.world.capabilities.entitypatch.CustomHumanoidMobPatch.setAIAsInfantry(CustomHumanoidMobPatch.java:51) ~[epicfight-forge-20.9.7-1.20.1.jar%23317!/:20.9.7] {re:mixin,re:classloading}
at yesman.epicfight.world.capabilities.entitypatch.HumanoidMobPatch.initAI(HumanoidMobPatch.java:68) ~[epicfight-forge-20.9.7-1.20.1.jar%23317!/:20.9.7] {re:classloading}
at yesman.epicfight.world.capabilities.entitypatch.MobPatch.onJoinWorld(MobPatch.java:56) ~[epicfight-forge-20.9.7-1.20.1.jar%23317!/:20.9.7] {re:mixin,re:classloading}
at yesman.epicfight.world.capabilities.entitypatch.MobPatch.onJoinWorld(MobPatch.java:40) ~[epicfight-forge-20.9.7-1.20.1.jar%23317!/:20.9.7] {re:mixin,re:classloading}
at yesman.epicfight.events.EntityEvents.spawnEvent(EntityEvents.java:94) ~[epicfight-forge-20.9.7-1.20.1.jar%23317!/:20.9.7] {re:classloading}
at yesman.epicfight.events.EntityEvents_spawnEvent_EntityJoinLevelEvent.invoke(.dynamic) ~[epicfight-forge-20.9.7-1.20.1.jar%23317!/:20.9.7] {re:classloading,pl:eventbus:B}
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.5.jar%2387!/:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.5.jar%2387!/:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.5.jar%2387!/:?] {}
at net.minecraft.world.level.entity.PersistentEntitySectionManager.m_157538(PersistentEntitySectionManager.java:79) ~[client-1.20.1-20230612.114412-srg.jar%23402!/:?] {re:mixin,re:classloading,pl:mixin:APP:smoothchunk.mixins.json:PersistentEntitySectionManagerMixin,pl:mixin:APP:lithium.mixins.json:chunk.entity_class_groups.ServerEntityManagerAccessor,pl:mixin:APP:lithium.mixins.json:util.entity_movement_tracking.ServerEntityManagerAccessor,pl:mixin:A}
at net.minecraft.world.level.entity.PersistentEntitySectionManager.m_157604(PersistentEntitySectionManager.java:121) ~[client-1.20.1-20230612.114412-srg.jar%23402!/:?] {re:mixin,re:classloading,pl:mixin:APP:smoothchunk.mixins.json:PersistentEntitySectionManagerMixin,pl:mixin:APP:lithium.mixins.json:chunk.entity_class_groups.ServerEntityManagerAccessor,pl:mixin:APP:lithium.mixins.json:util.entity_movement_tracking.ServerEntityManagerAccessor,pl:mixin:A}
at net.minecraft.world.entity.EntityType$1.m_147060_(EntityType.java:585) ~[client-1.20.1-20230612.114412-srg.jar%23402!/:?] {re:classloading}
at java.util.Optional.map(Optional.java:260) ~[?:?] {re:mixin}
at net.minecraft.world.entity.EntityType.m_20645_(EntityType.java:563) ~[client-1.20.1-20230612.114412-srg.jar%23402!/:?] {re:mixin,xf:fml:forge:forge_method_redirector,re:classloading,xf:fml:forge:forge_method_redirector,pl:mixin:APP:embeddiumplus.mixin.json:entitydistance.EntityTypeMixin,pl:mixin:APP:architectury-common.mixins.json:inject.MixinEntityType,pl:mixin:APP:forge-mca.mixin.json:MixinEntityType,pl:mixin:APP:flywheel.mixins.json:EntityTypeMixin,pl:mixin:A}
at net.minecraft.world.entity.EntityType$1.m_147056_(EntityType.java:584) ~[client-1.20.1-20230612.114412-srg.jar%23402!/:?] {re:classloading}
at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1602) ~[?:?] {}
at net.minecraft.world.entity.EntityType$1.tryAdvance(EntityType.java:583) ~[client-1.20.1-20230612.114412-srg.jar%23402!/:?] {re:classloading}
at java.util.Spliterator.forEachRemaining(Spliterator.java:332) ~[?:?] {re:mixin}
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) ~[?:?] {}
at net.minecraft.world.level.entity.PersistentEntitySectionManager.m_157559_(PersistentEntitySectionManager.java:120) ~[client-1.20.1-20230612.114412-srg.jar%23402!/:?] {re:mixin,re:classloading,pl:mixin:APP:smoothchunk.mixins.json:PersistentEntitySectionManagerMixin,pl:mixin:APP:lithium.mixins.json:chunk.entity_class_groups.ServerEntityManagerAccessor,pl:mixin:APP:lithium.mixins.json:util.entity_movement_tracking.ServerEntityManagerAccessor,pl:mixin:A}
at net.minecraft.server.level.ServerLevel.m_143327_(ServerLevel.java:1434) ~[client-1.20.1-20230612.114412-srg.jar%23402!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_serverlevel,re:classloading,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_serverlevel,pl:mixin:APP:cupboard.mixins.json:ServerAddEntityMixin,pl:mixin:APP:timeclock-common.mixins.json:server.ServerFreezeTickMixin$ServerLevelMixin,pl:mixin:APP:timeclock-common.mixins.json:server.ServerLevelMixin,pl:mixin:APP:mixins.hammerlib.json:ServerLevelMixin,pl:mixin:APP:modernfix-common.mixins.json:bugfix.chunk_deadlock.ServerLevelMixin,pl:mixin:APP:modernfix-common.mixins.json:perf.faster_structure_location.ServerLevelMixin,pl:mixin:APP:modernfix-common.mixins.json:perf.cache_strongholds.ServerLevelMixin,pl:mixin:APP:citadel.mixins.json:ServerLevelMixin,pl:mixin:APP:lithium.mixins.json:alloc.chunk_random.ServerWorldMixin,pl:mixin:APP:lithium.mixins.json:chunk.entity_class_groups.ServerWorldAccessor,pl:mixin:APP:lithium.mixins.json:entity.inactive_navigations.ServerWorldMixin,pl:mixin:APP:lithium.mixins.json:profiler.ServerWorldMixin,pl:mixin:APP:lithium.mixins.json:util.entity_movement_tracking.ServerWorldAccessor,pl:mixin:APP:forge-mca.mixin.json:MixinServerWorld,pl:mixin:APP:starlight.mixins.json:common.world.ServerWorldMixin,pl:mixin:APP:mixins.bosses_of_mass_destruction.json:ExplosionMixin,pl:mixin:A}
at net.minecraft.server.level.ChunkMap.m_143064_(ChunkMap.java:690) ~[client-1.20.1-20230612.114412-srg.jar%23402!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:betterchunkloading.mixins.json:ChunkMapViewDistanceFixedTwo,pl:mixin:APP:modernfix-common.mixins.json:bugfix.paper_chunk_patches.ChunkMapMixin,pl:mixin:APP:modernfix-forge.mixins.json:bugfix.chunk_deadlock.ChunkMapLoadMixin,pl:mixin:APP:lithium.mixins.json:world.player_chunk_tick.ThreadedAnvilChunkStorageMixin,pl:mixin:APP:smoothchunk.mixins.json:ChunkMapMixin,pl:mixin:A}
at net.minecraft.server.level.ChunkMap.m_214898_(ChunkMap.java:707) ~[client-1.20.1-20230612.114412-srg.jar%23402!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:betterchunkloading.mixins.json:ChunkMapViewDistanceFixedTwo,pl:mixin:APP:modernfix-common.mixins.json:bugfix.paper_chunk_patches.ChunkMapMixin,pl:mixin:APP:modernfix-forge.mixins.json:bugfix.chunk_deadlock.ChunkMapLoadMixin,pl:mixin:APP:lithium.mixins.json:world.player_chunk_tick.ThreadedAnvilChunkStorageMixin,pl:mixin:APP:smoothchunk.mixins.json:ChunkMapMixin,pl:mixin:A}
at net.minecraft.world.level.chunk.LevelChunk.m_62952_(LevelChunk.java:438) ~[client-1.20.1-20230612.114412-srg.jar%23402!/:?] {re:mixin,xf:fml:xaeroworldmap:xaero_wm_chunkclass,xf:fml:xaerominimap:xaero_chunkclass,re:classloading,xf:fml:xaeroworldmap:xaero_wm_chunkclass,xf:fml:xaerominimap:xaero_chunkclass,pl:mixin:APP:betterchunkloading.mixins.json:LevelChunkPostProcessMixin,pl:mixin:APP:lithium.mixins.json:world.inline_block_access.WorldChunkMixin,pl:mixin:APP:timeclock-common.mixins.json:common.FreezeTickMixin$LevelChunkMixin,pl:mixin:APP:mixins.hammerlib.json:LevelChunkMixin,pl:mixin:APP:connectivity.mixins.json:ChunkSectionReadSkipMixin,pl:mixin:APP:lithium.mixins.json:collections.block_entity_tickers.WorldChunkMixin,pl:mixin:APP:lithium.mixins.json:world.combined_heightmap_update.WorldChunkMixin,pl:mixin:APP:lithium.mixins.json:world.inline_height.WorldChunkMixin,pl:mixin:APP:starlight.mixins.json:common.chunk.LevelChunkMixin,pl:mixin:APP:flywheel.mixins.json:instancemanage.InstanceAddMixin,pl:mixin:A}
at net.minecraft.server.level.ChunkMap.mixinextras$bridge$m_62952_$142(ChunkMap.java) ~[client-1.20.1-20230612.114412-srg.jar%23402!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:betterchunkloading.mixins.json:ChunkMapViewDistanceFixedTwo,pl:mixin:APP:modernfix-common.mixins.json:bugfix.paper_chunk_patches.ChunkMapMixin,pl:mixin:APP:modernfix-forge.mixins.json:bugfix.chunk_deadlock.ChunkMapLoadMixin,pl:mixin:APP:lithium.mixins.json:world.player_chunk_tick.ThreadedAnvilChunkStorageMixin,pl:mixin:APP:smoothchunk.mixins.json:ChunkMapMixin,pl:mixin:A}
at net.minecraft.server.level.ChunkMap.wrapOperation$zjc000$setCurrentLoadingThenPostLoad(ChunkMap.java:2405) ~[client-1.20.1-20230612.114412-srg.jar%23402!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:betterchunkloading.mixins.json:ChunkMapViewDistanceFixedTwo,pl:mixin:APP:modernfix-common.mixins.json:bugfix.paper_chunk_patches.ChunkMapMixin,pl:mixin:APP:modernfix-forge.mixins.json:bugfix.chunk_deadlock.ChunkMapLoadMixin,pl:mixin:APP:lithium.mixins.json:world.player_chunk_tick.ThreadedAnvilChunkStorageMixin,pl:mixin:APP:smoothchunk.mixins.json:ChunkMapMixin,pl:mixin:A}
at net.minecraft.server.level.ChunkMap.m_214854_(ChunkMap.java:715) ~[client-1.20.1-20230612.114412-srg.jar%23402!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:betterchunkloading.mixins.json:ChunkMapViewDistanceFixedTwo,pl:mixin:APP:modernfix-common.mixins.json:bugfix.paper_chunk_patches.ChunkMapMixin,pl:mixin:APP:modernfix-forge.mixins.json:bugfix.chunk_deadlock.ChunkMapLoadMixin,pl:mixin:APP:lithium.mixins.json:world.player_chunk_tick.ThreadedAnvilChunkStorageMixin,pl:mixin:APP:smoothchunk.mixins.json:ChunkMapMixin,pl:mixin:A}
at com.mojang.datafixers.util.Either.lambda$mapLeft$0(Either.java:162) ~[datafixerupper-6.0.8.jar%23114!/:?] {re:mixin}
at com.mojang.datafixers.util.Either$Left.map(Either.java:38) ~[datafixerupper-6.0.8.jar%23114!/:?] {}
at com.mojang.datafixers.util.Either.mapLeft(Either.java:162) ~[datafixerupper-6.0.8.jar%23114!/:?] {re:mixin}
at net.minecraft.server.level.ChunkMap.m_287044_(ChunkMap.java:699) ~[client-1.20.1-20230612.114412-srg.jar%23402!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:betterchunkloading.mixins.json:ChunkMapViewDistanceFixedTwo,pl:mixin:APP:modernfix-common.mixins.json:bugfix.paper_chunk_patches.ChunkMapMixin,pl:mixin:APP:modernfix-forge.mixins.json:bugfix.chunk_deadlock.ChunkMapLoadMixin,pl:mixin:APP:lithium.mixins.json:world.player_chunk_tick.ThreadedAnvilChunkStorageMixin,pl:mixin:APP:smoothchunk.mixins.json:ChunkMapMixin,pl:mixin:A}
at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646) ~[?:?] {}
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?] {}
at net.minecraft.server.level.ChunkTaskPriorityQueueSorter.m_143188_(ChunkTaskPriorityQueueSorter.java:62) ~[client-1.20.1-20230612.114412-srg.jar%23402!/:?] {re:mixin,re:classloading,pl:mixin:APP:betterchunkloading.mixins.json:ChunkTaskPriorityQueueSorterMixin,pl:mixin:A}
at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:156) ~[client-1.20.1-20230612.114412-srg.jar%23402!/:?] {re:computing_frames,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:modernfix-common.mixins.json:perf.fix_loop_spin_waiting.BlockableEventLoopMixin,pl:mixin:A}
at net.minecraft.server.level.ServerChunkCache$MainThreadExecutor.m_6367_(ServerChunkCache.java:541) ~[client-1.20.1-20230612.114412-srg.jar%23402!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:130) ~[client-1.20.1-20230612.114412-srg.jar%23402!/:?] {re:computing_frames,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:modernfix-common.mixins.json:perf.fix_loop_spin_waiting.BlockableEventLoopMixin,pl:mixin:A}
at net.minecraft.server.level.ServerChunkCache$MainThreadExecutor.m_7245_(ServerChunkCache.java:549) ~[client-1.20.1-20230612.114412-srg.jar%23402!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
at net.minecraft.server.level.ServerChunkCache.m_8466_(ServerChunkCache.java:269) ~[client-1.20.1-20230612.114412-srg.jar%23402!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:cupboard.mixins.json:ChunkLoadDebug,pl:mixin:APP:betterchunkloading.mixins.json:ServerChunkCacheMixin,pl:mixin:APP:lithium.mixins.json:alloc.chunk_ticking.ServerChunkManagerMixin,pl:mixin:APP:lithium.mixins.json:world.chunk_access.ServerChunkManagerMixin,pl:mixin:APP:smoothchunk.mixins.json:ServerChunkCacheMixin,pl:mixin:APP:modernfix-forge.mixins.json:bugfix.chunk_deadlock.ServerChunkCache_CurrentLoadingMixin,pl:mixin:A}
at net.minecraft.server.MinecraftServer.m_129961_(MinecraftServer.java:758) ~[client-1.20.1-20230612.114412-srg.jar%23402!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_minecraftserver,xf:fml:xaerominimap:xaero_minecraftserver,re:classloading,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_minecraftserver,xf:fml:xaerominimap:xaero_minecraftserver,pl:mixin:A}
Steps to Reproduce
The steps for it to happen seem to be random, I could be using a weapon, or in or out of fighting mode and it crashes out of nowhere, it happens for no apparent reason that I haven't been able to get to the cause
The text was updated successfully, but these errors were encountered: