Pixelmon Mod - Bug tracker

[9.1.3] Transform ends battle pending

Ticket description:
Ditto using Transform against raid den Groudon errored out followed by the raid revive error, kicked from battle:
'
Code: Select all[17Feb2023 17:26:54.189] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:91]: Error in applyEffect for class com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.Transform for attack Transform
[17Feb2023 17:26:54.189] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]: java.lang.NullPointerException
[17Feb2023 17:26:54.189] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at com.pixelmonmod.pixelmon.api.data.DataSync.set(DataSync.java:81)
[17Feb2023 17:26:54.189] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.Transform.applyEffectDuring(Transform.java:41)
[17Feb2023 17:26:54.189] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at com.pixelmonmod.pixelmon.battles.attacks.Attack.applySelfStatusMove(Attack.java:987)
[17Feb2023 17:26:54.189] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at com.pixelmonmod.pixelmon.battles.attacks.Attack.useSelfTargetingMoves(Attack.java:512)
[17Feb2023 17:26:54.190] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at com.pixelmonmod.pixelmon.battles.attacks.Attack.use(Attack.java:305)
[17Feb2023 17:26:54.190] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.useAttack(PixelmonWrapper.java:903)
[17Feb2023 17:26:54.190] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.useAttack(PixelmonWrapper.java:827)
[17Feb2023 17:26:54.190] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.takeTurn(PixelmonWrapper.java:1685)
[17Feb2023 17:26:54.190] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at com.pixelmonmod.pixelmon.battles.controller.BattleController.takeTurn(BattleController.java:1215)
[17Feb2023 17:26:54.190] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at com.pixelmonmod.pixelmon.battles.controller.BattleController.update(BattleController.java:491)
[17Feb2023 17:26:54.190] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:248)
[17Feb2023 17:26:54.190] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:13)
[17Feb2023 17:26:54.190] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at net.minecraftforge.eventbus.ASMEventHandler_178_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic)
[17Feb2023 17:26:54.190] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85)
[17Feb2023 17:26:54.190] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302)
[17Feb2023 17:26:54.190] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283)
[17Feb2023 17:26:54.190] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at net.minecraftforge.fml.hooks.BasicEventHooks.onPostWorldTick(BasicEventHooks.java:86)
[17Feb2023 17:26:54.190] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServerMixin.java:857)
[17Feb2023 17:26:54.190] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServerMixin.java:291)
[17Feb2023 17:26:54.190] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServerMixin.java:787)
[17Feb2023 17:26:54.190] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServerMixin.java:1917)
[17Feb2023 17:26:54.190] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServerMixin.java:232)
[17Feb2023 17:26:54.190] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at java.base/java.lang.Thread.run(Thread.java:829)
[17Feb2023 17:26:54.952] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:91]: Caught error in battle. Continuing...
[17Feb2023 17:26:54.952] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]: java.lang.NullPointerException
[17Feb2023 17:26:54.952] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at com.pixelmonmod.pixelmon.battles.controller.BattleController.reviveAfterDefeat(BattleController.java:861)
[17Feb2023 17:26:54.953] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at com.pixelmonmod.pixelmon.battles.controller.participants.RaidPixelmonParticipant.onEndTurn(RaidPixelmonParticipant.java:355)
[17Feb2023 17:26:54.953] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at com.pixelmonmod.pixelmon.battles.controller.BattleController.endTurn(BattleController.java:765)
[17Feb2023 17:26:54.953] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at com.pixelmonmod.pixelmon.battles.controller.BattleController.update(BattleController.java:515)
[17Feb2023 17:26:54.953] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:248)
[17Feb2023 17:26:54.953] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:13)
[17Feb2023 17:26:54.953] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at net.minecraftforge.eventbus.ASMEventHandler_178_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic)
[17Feb2023 17:26:54.953] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85)
[17Feb2023 17:26:54.953] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302)
[17Feb2023 17:26:54.953] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283)
[17Feb2023 17:26:54.953] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at net.minecraftforge.fml.hooks.BasicEventHooks.onPostWorldTick(BasicEventHooks.java:86)
[17Feb2023 17:26:54.953] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServerMixin.java:857)
[17Feb2023 17:26:54.953] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServerMixin.java:291)
[17Feb2023 17:26:54.953] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServerMixin.java:787)
[17Feb2023 17:26:54.953] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServerMixin.java:1917)
[17Feb2023 17:26:54.953] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServerMixin.java:232)
[17Feb2023 17:26:54.953] [Server thread/INFO] [STDERR/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]:    at java.base/java.lang.Thread.run(Thread.java:829)
[17Feb2023 17:26:54.953] [Server thread/INFO] [STDOUT/]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:96]: ===Too many errors detected in battle, force-ending===

Comments

#29271 Posted by RosaTheRad » 20 Feb 2023 19:01

Hi,

This issue has been forwarded to the internal tracker. I confirmed the bug in both singleplayer and multiplayer for version 9.1.3.

Thank you for submitting a bug report!

Ticket details

  • Ticket ID: 20099
  • Project: Pixelmon Mod
  • Status: Pending
  • Component: Battle
  • Project version: 1.16.5-9.x.x
  • Priority: Normal
  • Severity: Normal
  • Forge/Sponge: Arclight 1.16.5-1.0.25, Forge 36.2.39
  • What else would be useful to know?: (unknown)
  • Assigned to: RosaTheRad
  • Reported by: zThana (Send PM)
  • Reporter's tickets: (List all tickets)
  • Reported on: 17 Feb 2023 18:28
  • Ticket last visited by: LordSamosa on 07 Oct 2023 20:28
JOIN THE TEAM