I was a battling an NPC, and got a battle Error. The NPC had a Togekiss which used Ancient Power, got the boost, then used Baton Pass and the battle ended. Here's the Report
06.07 01:04:14 [Multicraft] Skipped 18 lines due to rate limit (30/s)
06.07 01:04:06 [Server] Server thread/INFO [STDERR]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:150]: at com.pixelmonmod.pixelmon.battles.attacks.Attack.use(Attack.java:273)
06.07 01:04:06 [Server] Server thread/INFO [STDERR]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:150]: at com.pixelmonmod.pixelmon.battles.attacks.Attack.applySelfStatusMove(Attack.java:734)
06.07 01:04:06 [Server] Server thread/INFO [STDERR]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:150]: java.lang.NullPointerException
06.07 01:04:06 [Server] Server thread/INFO [STDOUT]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:149]: Caught error in battle. Continuing...
06.07 01:04:06 [Server] Server thread/INFO [STDERR]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:150]: at java.lang.Thread.run(Unknown Source)
06.07 01:04:06 [Server] Server thread/INFO [STDERR]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:150]: at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)
06.07 01:04:06 [Server] Server thread/INFO [STDERR]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:150]: at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613)
06.07 01:04:06 [Server] Server thread/INFO [STDERR]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:150]: at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387)
06.07 01:04:06 [Server] Server thread/INFO [STDERR]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:150]: at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:694)
06.07 01:04:06 [Server] Server thread/INFO [STDERR]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:150]: at net.minecraftforge.fml.common.FMLCommonHandler.onPreWorldTick(FMLCommonHandler.java:282)
06.07 01:04:06 [Server] Server thread/INFO [STDERR]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:150]: at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:591)
06.07 01:04:06 [Server] Server thread/INFO [STDERR]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:150]: at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:635)
06.07 01:04:06 [Server] Server thread/INFO [STDERR]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:150]: at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
06.07 01:04:06 [Server] Server thread/INFO [STDERR]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:150]: at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_44_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic)
06.07 01:04:06 [Server] Server thread/INFO [STDERR]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:150]: at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:12)
06.07 01:04:06 [Server] Server thread/INFO [STDERR]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:150]: at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:151)
06.07 01:04:06 [Server] Server thread/INFO [STDERR]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:150]: at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:352)
06.07 01:04:06 [Server] Server thread/INFO [STDERR]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:150]: at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.takeTurn(BattleControllerBase.java:920)
06.07 01:04:06 [Server] Server thread/INFO [STDERR]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:150]: at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.takeTurn(PixelmonWrapper.java:1114)
06.07 01:04:06 [Server] Server thread/INFO [STDERR]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:150]: at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.useAttack(PixelmonWrapper.java:615)
06.07 01:04:06 [Server] Server thread/INFO [STDERR]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:150]: at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.useAttack(PixelmonWrapper.java:678)
06.07 01:04:06 [Server] Server thread/INFO [STDERR]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:150]: at com.pixelmonmod.pixelmon.battles.attacks.Attack.use(Attack.java:273)
06.07 01:04:06 [Server] Server thread/INFO [STDERR]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:150]: at com.pixelmonmod.pixelmon.battles.attacks.Attack.applySelfStatusMove(Attack.java:714)
06.07 01:04:06 [Server] Server thread/INFO [STDERR]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:150]: at com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.BatonPass.applyEffectDuring(BatonPass.java:43)
06.07 01:04:06 [Server] Server thread/INFO [STDERR]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:150]: at com.pixelmonmod.pixelmon.battles.controller.ai.AggressiveAI.getNextSwitch(AggressiveAI.java:116)
06.07 01:04:06 [Server] Server thread/INFO [STDERR]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:150]: at com.pixelmonmod.pixelmon.battles.controller.ai.AggressiveAI.resetSwitchSimulation(AggressiveAI.java:142)
06.07 01:04:06 [Server] Server thread/INFO [STDERR]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:150]: at java.util.ArrayList.set(Unknown Source)
06.07 01:04:06 [Server] Server thread/INFO [STDERR]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:150]: at java.util.ArrayList.elementData(Unknown Source)
06.07 01:04:06 [Server] Server thread/INFO [STDERR]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:150]: java.lang.ArrayIndexOutOfBoundsException: -1
06.07 01:04:06 [Server] Server thread/INFO [STDOUT]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:149]: Error in applyEffect for class com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.BatonPass for attack Baton Pass
06.07 01:04:04 [Server] Server thread/INFO [STDERR]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:150]: at java.lang.Thread.run(Unknown Source)
06.07 01:04:04 [Server] Server thread/INFO [STDERR]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:150]: at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)
06.07 01:04:04 [Server] Server thread/INFO [STDERR]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:150]: at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613)
06.07 01:04:04 [Server] Server thread/INFO [STDERR]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:150]: at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387)
06.07 01:04:04 [Server] Server thread/INFO [STDERR]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:150]: at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:718)
06.07 01:04:04 [Server] Server thread/INFO [STDERR]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:150]: at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:269)
06.07 01:04:04 [Server] Server thread/INFO [STDERR]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:150]: at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:591)
06.07 01:04:04 [Server] Server thread/INFO [STDERR]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:150]: at net.m..