When I try to battle wild pokemon in my Pixelmon server, spongeforge kind of flips out and spams Phase State error messages in the logs. someone please help. Im using the LuckPerms plugin.
[06Jan2025 20:26:48.972] [Server thread/ERROR] [sponge/]: Exception occurred during a PhaseState
[06Jan2025 20:26:48.973] [Server thread/ERROR] [sponge/]: ************************************************************************************************************************************************************************************************************************************************************************************
[06Jan2025 20:26:48.973] [Server thread/ERROR] [sponge/]: Sponge’s tracking system makes a best effort to not throw exceptions randomly but sometimes it is inevitable. In most cases, something else triggered this exception and Sponge prevented a crash by catching it. The following stacktrace can be used to help pinpoint the cause.
[06Jan2025 20:26:48.974] [Server thread/ERROR] [sponge/]: ************************************************************************************************************************************************************************************************************************************************************************************
[06Jan2025 20:26:48.974] [Server thread/ERROR] [sponge/]: The PhaseState having an exception: Tick{Entity}
[06Jan2025 20:26:48.974] [Server thread/ERROR] [sponge/]: The PhaseContext:
[06Jan2025 20:26:48.974] [Server thread/ERROR] [sponge/]: - Phase: Tick{World}
[06Jan2025 20:26:48.974] [Server thread/ERROR] [sponge/]: Context:
[06Jan2025 20:26:48.974] [Server thread/ERROR] [sponge/]: - Phase: Tick{Server}
[06Jan2025 20:26:48.975] [Server thread/ERROR] [sponge/]: Context:
[06Jan2025 20:26:48.975] [Server thread/ERROR] [sponge/]:
[06Jan2025 20:26:48.975] [Server thread/ERROR] [sponge/]: StackTrace :
[06Jan2025 20:26:48.975] [Server thread/ERROR] [sponge/]: java.util.ConcurrentModificationException: null
[06Jan2025 20:26:48.975] [Server thread/ERROR] [sponge/]: java.util.HashMap$HashIterator.nextNode(Unknown Source)
[06Jan2025 20:26:48.975] [Server thread/ERROR] [sponge/]: java.util.HashMap$KeyIterator.next(Unknown Source)
[06Jan2025 20:26:48.976] [Server thread/ERROR] [sponge/]: com.pixelmonmod.pixelmon.api.pokemon.PokemonBuilder.build(PokemonBuilder.java:1149)
[06Jan2025 20:26:48.976] [Server thread/ERROR] [sponge/]: com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.loadFromPokemon(PixelmonWrapper.java:572)
[06Jan2025 20:26:48.976] [Server thread/ERROR] [sponge/]: com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.(PixelmonWrapper.java:424)
[06Jan2025 20:26:48.976] [Server thread/ERROR] [sponge/]: com.pixelmonmod.pixelmon.battles.controller.participants.WildPixelmonParticipant.init(WildPixelmonParticipant.java:61)
[06Jan2025 20:26:48.976] [Server thread/ERROR] [sponge/]: com.pixelmonmod.pixelmon.battles.controller.participants.WildPixelmonParticipant.(WildPixelmonParticipant.java:46)
[06Jan2025 20:26:48.977] [Server thread/ERROR] [sponge/]: com.pixelmonmod.pixelmon.entities.pokeballs.OccupiedPokeBallEntity.func_70227_a(OccupiedPokeBallEntity.java:263)
[06Jan2025 20:26:48.977] [Server thread/ERROR] [sponge/]: net.minecraft.entity.projectile.ThrowableEntity.redirect$zkn000$impl$handleProjectileImpact(ThrowableEntity.java:1056)
[06Jan2025 20:26:48.977] [Server thread/ERROR] [sponge/]: net.minecraft.entity.projectile.ThrowableEntity.func_70071_h_(ThrowableEntity.java:67)
[06Jan2025 20:26:48.977] [Server thread/ERROR] [sponge/]: com.pixelmonmod.pixelmon.entities.pokeballs.PokeBallEntity.func_70071_h_(PokeBallEntity.java:227)
[06Jan2025 20:26:48.978] [Server thread/ERROR] [sponge/]: com.pixelmonmod.pixelmon.entities.pokeballs.OccupiedPokeBallEntity.func_70071_h_(OccupiedPokeBallEntity.java:132)
[06Jan2025 20:26:48.978] [Server thread/ERROR] [sponge/]: net.minecraft.world.server.ServerWorld.func_217479_a(ServerWorld.java:612)
[06Jan2025 20:26:48.978] [Server thread/ERROR] [sponge/]: net.minecraft.world.server.ServerWorld$$Lambda$12023/1661825536.accept(Unknown Source)
[06Jan2025 20:26:48.979] [Server thread/ERROR] [sponge/]: org.spongepowered.common.event.tracking.TrackingUtil.tickEntity(TrackingUtil.java:135)
[06Jan2025 20:26:48.979] [Server thread/ERROR] [sponge/]: net.minecraft.world.server.ServerWorld.redirect$zcf000$tracker$wrapNormalEntityTick(ServerWorld.java:3774)
[06Jan2025 20:26:48.980] [Server thread/ERROR] [sponge/]: net.minecraft.world.server.ServerWorld.func_72835_b(ServerWorld.java:405)
[06Jan2025 20:26:48.980] [Server thread/ERROR] [sponge/]: net.minecraft.server.MinecraftServer.redirect$zcc000$tracker$wrapWorldTick(MinecraftServer.java:4287)
[06Jan2025 20:26:48.980] [Server thread/ERROR] [sponge/]: net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:851)
[06Jan2025 20:26:48.980] [Server thread/ERROR] [sponge/]: net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:291)
[06Jan2025 20:26:48.981] [Server thread/ERROR] [sponge/]: net.minecraft.server.MinecraftServer.redirect$zcc000$tracker$wrapUpdateTimeLightAndEntities(MinecraftServer.java:4269)
[06Jan2025 20:26:48.981] [Server thread/ERROR] [sponge/]: net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:787)
[06Jan2025 20:26:48.981] [Server thread/ERROR] [sponge/]: net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:642)
[06Jan2025 20:26:48.981] [Server thread/ERROR] [sponge/]: net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:232)
[06Jan2025 20:26:48.982] [Server thread/ERROR] [sponge/]: net.minecraft.server.MinecraftServer$$Lambda$11600/619723945.run(Unknown Source)
[06Jan2025 20:26:48.982] [Server thread/ERROR] [sponge/]: java.lang.Thread.run(Unknown Source)
[06Jan2025 20:26:48.982] [Server thread/ERROR] [sponge/]:
[06Jan2025 20:26:48.982] [Server thread/ERROR] [sponge/]: Minecraft : 1.16.5
[06Jan2025 20:26:48.982] [Server thread/ERROR] [sponge/]: SpongeAPI : 8.0.0
[06Jan2025 20:26:48.983] [Server thread/ERROR] [sponge/]: Sponge : 8.0.0
[06Jan2025 20:26:48.983] [Server thread/ERROR] [sponge/]: SpongeForge : 1.16.5-36.2.5-8.2.0
[06Jan2025 20:26:48.983] [Server thread/ERROR] [sponge/]: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[06Jan2025 20:26:49.020] [Server thread/ERROR] [sponge/]: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[06Jan2025 20:26:49.020] [Server thread/ERROR] [sponge/]: Exception occurred during a PhaseState
[06Jan2025 20:26:49.021] [Server thread/ERROR] [sponge/]: ************************************************************************************************************************************************************************************************************************************************************************************
[06Jan2025 20:26:49.021] [Server thread/ERROR] [sponge/]: Sponge’s tracking system makes a best effort to not throw exceptions randomly but sometimes it is inevitable. In most cases, something else triggered this exception and Sponge prevented a crash by catching it. The following stacktrace can be used to help pinpoint the cause.
[06Jan2025 20:26:49.021] [Server thread/ERROR] [sponge/]: ************************************************************************************************************************************************************************************************************************************************************************************
[06Jan2025 20:26:49.021] [Server thread/ERROR] [sponge/]: The PhaseState having an exception: Tick{Entity}
[06Jan2025 20:26:49.021] [Server thread/ERROR] [sponge/]: The PhaseContext:
[06Jan2025 20:26:49.021] [Server thread/ERROR] [sponge/]: - Phase: Tick{World}
[06Jan2025 20:26:49.022] [Server thread/ERROR] [sponge/]: Context:
[06Jan2025 20:26:49.022] [Server thread/ERROR] [sponge/]: - Phase: Tick{Server}
[06Jan2025 20:26:49.022] [Server thread/ERROR] [sponge/]: Context:
[06Jan2025 20:26:49.022] [Server thread/ERROR] [sponge/]:
[06Jan2025 20:26:49.022] [Server thread/ERROR] [sponge/]: StackTrace :
[06Jan2025 20:26:49.022] [Server thread/ERROR] [sponge/]: java.util.ConcurrentModificationException: null
[06Jan2025 20:26:49.023] [Server thread/ERROR] [sponge/]: java.util.HashMap$HashIterator.nextNode(Unknown Source)
[06Jan2025 20:26:49.023] [Server thread/ERROR] [sponge/]: java.util.HashMap$KeyIterator.next(Unknown Source)
[06Jan2025 20:26:49.023] [Server thread/ERROR] [sponge/]: com.pixelmonmod.pixelmon.api.pokemon.PokemonBuilder.build(PokemonBuilder.java:1149)
[06Jan2025 20:26:49.023] [Server thread/ERROR] [sponge/]: com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.loadFromPokemon(PixelmonWrapper.java:572)
[06Jan2025 20:26:49.023] [Server thread/ERROR] [sponge/]: com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.(PixelmonWrapper.java:424)
[06Jan2025 20:26:49.023] [Server thread/ERROR] [sponge/]: com.pixelmonmod.pixelmon.battles.controller.participants.WildPixelmonParticipant.init(WildPixelmonParticipant.java:61)
[06Jan2025 20:26:49.024] [Server thread/ERROR] [sponge/]: com.pixelmonmod.pixelmon.battles.controller.participants.WildPixelmonParticipant.(WildPixelmonParticipant.java:46)
[06Jan2025 20:26:49.024] [Server thread/ERROR] [sponge/]: com.pixelmonmod.pixelmon.entities.pokeballs.OccupiedPokeBallEntity.func_70227_a(OccupiedPokeBallEntity.java:263)
[06Jan2025 20:26:49.024] [Server thread/ERROR] [sponge/]: net.minecraft.entity.projectile.ThrowableEntity.redirect$zkn000$impl$handleProjectileImpact(ThrowableEntity.java:1056)
[06Jan2025 20:26:49.024] [Server thread/ERROR] [sponge/]: net.minecraft.entity.projectile.ThrowableEntity.func_70071_h_(ThrowableEntity.java:67)
[06Jan2025 20:26:49.024] [Server thread/ERROR] [sponge/]: com.pixelmonmod.pixelmon.entities.pokeballs.PokeBallEntity.func_70071_h_(PokeBallEntity.java:227)
[06Jan2025 20:26:49.024] [Server thread/ERROR] [sponge/]: com.pixelmonmod.pixelmon.entities.pokeballs.OccupiedPokeBallEntity.func_70071_h_(OccupiedPokeBallEntity.java:132)
[06Jan2025 20:26:49.025] [Server thread/ERROR] [sponge/]: net.minecraft.world.server.ServerWorld.func_217479_a(ServerWorld.java:612)
[06Jan2025 20:26:49.025] [Server thread/ERROR] [sponge/]: net.minecraft.world.server.ServerWorld$$Lambda$12023/1661825536.accept(Unknown Source)
[06Jan2025 20:26:49.025] [Server thread/ERROR] [sponge/]: org.spongepowered.common.event.tracking.TrackingUtil.tickEntity(TrackingUtil.java:135)
[06Jan2025 20:26:49.025] [Server thread/ERROR] [sponge/]: net.minecraft.world.server.ServerWorld.redirect$zcf000$tracker$wrapNormalEntityTick(ServerWorld.java:3774)
[06Jan2025 20:26:49.025] [Server thread/ERROR] [sponge/]: net.minecraft.world.server.ServerWorld.func_72835_b(ServerWorld.java:405)
[06Jan2025 20:26:49.025] [Server thread/ERROR] [sponge/]: net.minecraft.server.MinecraftServer.redirect$zcc000$tracker$wrapWorldTick(MinecraftServer.java:4287)
[06Jan2025 20:26:49.026] [Server thread/ERROR] [sponge/]: net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:851)
[06Jan2025 20:26:49.026] [Server thread/ERROR] [sponge/]: net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:291)
[06Jan2025 20:26:49.026] [Server thread/ERROR] [sponge/]: net.minecraft.server.MinecraftServer.redirect$zcc000$tracker$wrapUpdateTimeLightAndEntities(MinecraftServer.java:4269)
[06Jan2025 20:26:49.026] [Server thread/ERROR] [sponge/]: net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:787)
[06Jan2025 20:26:49.026] [Server thread/ERROR] [sponge/]: net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:642)
[06Jan2025 20:26:49.027] [Server thread/ERROR] [sponge/]: net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:232)
[06Jan2025 20:26:49.027] [Server thread/ERROR] [sponge/]: net.minecraft.server.MinecraftServer$$Lambda$11600/619723945.run(Unknown Source)
[06Jan2025 20:26:49.027] [Server thread/ERROR] [sponge/]: java.lang.Thread.run(Unknown Source)
[06Jan2025 20:26:49.027] [Server thread/ERROR] [sponge/]:
[06Jan2025 20:26:49.027] [Server thread/ERROR] [sponge/]: Minecraft : 1.16.5
[06Jan2025 20:26:49.027] [Server thread/ERROR] [sponge/]: SpongeAPI : 8.0.0
[06Jan2025 20:26:49.028] [Server thread/ERROR] [sponge/]: Sponge : 8.0.0
[06Jan2025 20:26:49.028] [Server thread/ERROR] [sponge/]: SpongeForge : 1.16.5-36.2.5-8.2.0
[06Jan2025 20:26:49.028] [Server thread/ERROR] [sponge/]: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------