SHARE
TWEET

Untitled

Mykeware Nov 28th, 2016 91 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [00:12:17] [Server thread/ERROR] [FML/]: SimpleChannelHandlerWrapper exception
  2. io.netty.handler.codec.EncoderException: java.lang.NullPointerException
  3.     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107) ~[MessageToMessageEncoder.class:?]
  4.     at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
  5.     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658) ~[AbstractChannelHandlerContext.class:?]
  6.     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716) ~[AbstractChannelHandlerContext.class:?]
  7.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706) ~[AbstractChannelHandlerContext.class:?]
  8.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741) ~[AbstractChannelHandlerContext.class:?]
  9.     at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895) ~[DefaultChannelPipeline.class:?]
  10.     at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) ~[AbstractChannel.class:?]
  11.     at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:254) [SimpleNetworkWrapper.class:?]
  12.     at com.pixelmonmod.pixelmon.battles.attacks.Attack.setDisabled(Attack.java:902) [Attack.class:?]
  13.     at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.resetOnSwitch(PixelmonWrapper.java:1001) [PixelmonWrapper.class:?]
  14.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:582) [BattleControllerBase.class:?]
  15.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkDefeated(BattleControllerBase.java:1050) [BattleControllerBase.class:?]
  16.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkPokemon(BattleControllerBase.java:979) [BattleControllerBase.class:?]
  17.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:317) [BattleControllerBase.class:?]
  18.     at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:138) [BattleRegistry.class:?]
  19.     at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:12) [BattleTickHandler.class:?]
  20.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_34_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic) [?:?]
  21.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?]
  22.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:125) [EventBus.class:?]
  23.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:94) [EventBus.class:?]
  24.     at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:269) [FMLCommonHandler.class:?]
  25.     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:718) [MinecraftServer.class:?]
  26.     at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
  27.     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
  28.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
  29.     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
  30. Caused by: java.lang.NullPointerException
  31. [00:12:17] [Server thread/ERROR] [FML/]: SimpleChannelHandlerWrapper exception
  32. io.netty.handler.codec.EncoderException: java.lang.NullPointerException
  33.     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107) ~[MessageToMessageEncoder.class:?]
  34.     at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
  35.     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658) ~[AbstractChannelHandlerContext.class:?]
  36.     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716) ~[AbstractChannelHandlerContext.class:?]
  37.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706) ~[AbstractChannelHandlerContext.class:?]
  38.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741) ~[AbstractChannelHandlerContext.class:?]
  39.     at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895) ~[DefaultChannelPipeline.class:?]
  40.     at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) ~[AbstractChannel.class:?]
  41.     at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:254) [SimpleNetworkWrapper.class:?]
  42.     at com.pixelmonmod.pixelmon.battles.attacks.Attack.setDisabled(Attack.java:902) [Attack.class:?]
  43.     at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.resetOnSwitch(PixelmonWrapper.java:1001) [PixelmonWrapper.class:?]
  44.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:582) [BattleControllerBase.class:?]
  45.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkDefeated(BattleControllerBase.java:1050) [BattleControllerBase.class:?]
  46.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkPokemon(BattleControllerBase.java:979) [BattleControllerBase.class:?]
  47.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:317) [BattleControllerBase.class:?]
  48.     at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:138) [BattleRegistry.class:?]
  49.     at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:12) [BattleTickHandler.class:?]
  50.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_34_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic) [?:?]
  51.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?]
  52.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:125) [EventBus.class:?]
  53.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:94) [EventBus.class:?]
  54.     at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:269) [FMLCommonHandler.class:?]
  55.     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:718) [MinecraftServer.class:?]
  56.     at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
  57.     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
  58.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
  59.     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
  60. Caused by: java.lang.NullPointerException
  61. [00:12:17] [Server thread/ERROR] [FML/]: SimpleChannelHandlerWrapper exception
  62. io.netty.handler.codec.EncoderException: java.lang.NullPointerException
  63.     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107) ~[MessageToMessageEncoder.class:?]
  64.     at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
  65.     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658) ~[AbstractChannelHandlerContext.class:?]
  66.     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716) ~[AbstractChannelHandlerContext.class:?]
  67.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706) ~[AbstractChannelHandlerContext.class:?]
  68.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741) ~[AbstractChannelHandlerContext.class:?]
  69.     at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895) ~[DefaultChannelPipeline.class:?]
  70.     at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) ~[AbstractChannel.class:?]
  71.     at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:254) [SimpleNetworkWrapper.class:?]
  72.     at com.pixelmonmod.pixelmon.battles.attacks.Attack.setDisabled(Attack.java:902) [Attack.class:?]
  73.     at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.resetOnSwitch(PixelmonWrapper.java:1001) [PixelmonWrapper.class:?]
  74.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:582) [BattleControllerBase.class:?]
  75.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkDefeated(BattleControllerBase.java:1050) [BattleControllerBase.class:?]
  76.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkPokemon(BattleControllerBase.java:979) [BattleControllerBase.class:?]
  77.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:317) [BattleControllerBase.class:?]
  78.     at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:138) [BattleRegistry.class:?]
  79.     at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:12) [BattleTickHandler.class:?]
  80.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_34_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic) [?:?]
  81.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?]
  82.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:125) [EventBus.class:?]
  83.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:94) [EventBus.class:?]
  84.     at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:269) [FMLCommonHandler.class:?]
  85.     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:718) [MinecraftServer.class:?]
  86.     at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
  87.     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
  88.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
  89.     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
  90. Caused by: java.lang.NullPointerException
  91. [00:12:17] [Server thread/ERROR] [FML/]: SimpleChannelHandlerWrapper exception
  92. io.netty.handler.codec.EncoderException: java.lang.NullPointerException
  93.     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107) ~[MessageToMessageEncoder.class:?]
  94.     at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
  95.     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658) ~[AbstractChannelHandlerContext.class:?]
  96.     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716) ~[AbstractChannelHandlerContext.class:?]
  97.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706) ~[AbstractChannelHandlerContext.class:?]
  98.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741) ~[AbstractChannelHandlerContext.class:?]
  99.     at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895) ~[DefaultChannelPipeline.class:?]
  100.     at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) ~[AbstractChannel.class:?]
  101.     at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:254) [SimpleNetworkWrapper.class:?]
  102.     at com.pixelmonmod.pixelmon.battles.attacks.Attack.setDisabled(Attack.java:902) [Attack.class:?]
  103.     at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.resetOnSwitch(PixelmonWrapper.java:1001) [PixelmonWrapper.class:?]
  104.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:582) [BattleControllerBase.class:?]
  105.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkDefeated(BattleControllerBase.java:1050) [BattleControllerBase.class:?]
  106.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkPokemon(BattleControllerBase.java:979) [BattleControllerBase.class:?]
  107.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:317) [BattleControllerBase.class:?]
  108.     at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:138) [BattleRegistry.class:?]
  109.     at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:12) [BattleTickHandler.class:?]
  110.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_34_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic) [?:?]
  111.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?]
  112.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:125) [EventBus.class:?]
  113.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:94) [EventBus.class:?]
  114.     at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:269) [FMLCommonHandler.class:?]
  115.     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:718) [MinecraftServer.class:?]
  116.     at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
  117.     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
  118.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
  119.     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
  120. Caused by: java.lang.NullPointerException
  121. [00:12:17] [Server thread/ERROR] [FML/]: SimpleChannelHandlerWrapper exception
  122. io.netty.handler.codec.EncoderException: java.lang.NullPointerException
  123.     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107) ~[MessageToMessageEncoder.class:?]
  124.     at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
  125.     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658) ~[AbstractChannelHandlerContext.class:?]
  126.     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716) ~[AbstractChannelHandlerContext.class:?]
  127.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706) ~[AbstractChannelHandlerContext.class:?]
  128.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741) ~[AbstractChannelHandlerContext.class:?]
  129.     at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895) ~[DefaultChannelPipeline.class:?]
  130.     at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) ~[AbstractChannel.class:?]
  131.     at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:254) [SimpleNetworkWrapper.class:?]
  132.     at com.pixelmonmod.pixelmon.battles.attacks.Attack.setDisabled(Attack.java:902) [Attack.class:?]
  133.     at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.resetOnSwitch(PixelmonWrapper.java:1001) [PixelmonWrapper.class:?]
  134.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:582) [BattleControllerBase.class:?]
  135.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkDefeated(BattleControllerBase.java:1050) [BattleControllerBase.class:?]
  136.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkPokemon(BattleControllerBase.java:979) [BattleControllerBase.class:?]
  137.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:317) [BattleControllerBase.class:?]
  138.     at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:138) [BattleRegistry.class:?]
  139.     at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:12) [BattleTickHandler.class:?]
  140.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_34_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic) [?:?]
  141.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?]
  142.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:125) [EventBus.class:?]
  143.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:94) [EventBus.class:?]
  144.     at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:269) [FMLCommonHandler.class:?]
  145.     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:718) [MinecraftServer.class:?]
  146.     at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
  147.     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
  148.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
  149.     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
  150. Caused by: java.lang.NullPointerException
  151. [00:12:17] [Server thread/ERROR] [FML/]: SimpleChannelHandlerWrapper exception
  152. io.netty.handler.codec.EncoderException: java.lang.NullPointerException
  153.     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107) ~[MessageToMessageEncoder.class:?]
  154.     at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
  155.     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658) ~[AbstractChannelHandlerContext.class:?]
  156.     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716) ~[AbstractChannelHandlerContext.class:?]
  157.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706) ~[AbstractChannelHandlerContext.class:?]
  158.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741) ~[AbstractChannelHandlerContext.class:?]
  159.     at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895) ~[DefaultChannelPipeline.class:?]
  160.     at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) ~[AbstractChannel.class:?]
  161.     at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:254) [SimpleNetworkWrapper.class:?]
  162.     at com.pixelmonmod.pixelmon.battles.attacks.Attack.setDisabled(Attack.java:902) [Attack.class:?]
  163.     at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.resetOnSwitch(PixelmonWrapper.java:1001) [PixelmonWrapper.class:?]
  164.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:582) [BattleControllerBase.class:?]
  165.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkDefeated(BattleControllerBase.java:1050) [BattleControllerBase.class:?]
  166.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkPokemon(BattleControllerBase.java:979) [BattleControllerBase.class:?]
  167.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:317) [BattleControllerBase.class:?]
  168.     at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:138) [BattleRegistry.class:?]
  169.     at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:12) [BattleTickHandler.class:?]
  170.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_34_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic) [?:?]
  171.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?]
  172.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:125) [EventBus.class:?]
  173.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:94) [EventBus.class:?]
  174.     at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:269) [FMLCommonHandler.class:?]
  175.     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:718) [MinecraftServer.class:?]
  176.     at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
  177.     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
  178.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
  179.     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
  180. Caused by: java.lang.NullPointerException
  181. [00:12:17] [Server thread/ERROR] [FML/]: SimpleChannelHandlerWrapper exception
  182. io.netty.handler.codec.EncoderException: java.lang.NullPointerException
  183.     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107) ~[MessageToMessageEncoder.class:?]
  184.     at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
  185.     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658) ~[AbstractChannelHandlerContext.class:?]
  186.     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716) ~[AbstractChannelHandlerContext.class:?]
  187.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706) ~[AbstractChannelHandlerContext.class:?]
  188.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741) ~[AbstractChannelHandlerContext.class:?]
  189.     at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895) ~[DefaultChannelPipeline.class:?]
  190.     at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) ~[AbstractChannel.class:?]
  191.     at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:254) [SimpleNetworkWrapper.class:?]
  192.     at com.pixelmonmod.pixelmon.battles.attacks.Attack.setDisabled(Attack.java:902) [Attack.class:?]
  193.     at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.resetOnSwitch(PixelmonWrapper.java:1001) [PixelmonWrapper.class:?]
  194.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:582) [BattleControllerBase.class:?]
  195.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkDefeated(BattleControllerBase.java:1050) [BattleControllerBase.class:?]
  196.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkPokemon(BattleControllerBase.java:979) [BattleControllerBase.class:?]
  197.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:317) [BattleControllerBase.class:?]
  198.     at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:138) [BattleRegistry.class:?]
  199.     at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:12) [BattleTickHandler.class:?]
  200.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_34_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic) [?:?]
  201.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?]
  202.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:125) [EventBus.class:?]
  203.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:94) [EventBus.class:?]
  204.     at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:269) [FMLCommonHandler.class:?]
  205.     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:718) [MinecraftServer.class:?]
  206.     at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
  207.     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
  208.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
  209.     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
  210. Caused by: java.lang.NullPointerException
  211. [00:12:17] [Server thread/ERROR] [FML/]: SimpleChannelHandlerWrapper exception
  212. io.netty.handler.codec.EncoderException: java.lang.NullPointerException
  213.     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107) ~[MessageToMessageEncoder.class:?]
  214.     at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
  215.     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658) ~[AbstractChannelHandlerContext.class:?]
  216.     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716) ~[AbstractChannelHandlerContext.class:?]
  217.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706) ~[AbstractChannelHandlerContext.class:?]
  218.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741) ~[AbstractChannelHandlerContext.class:?]
  219.     at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895) ~[DefaultChannelPipeline.class:?]
  220.     at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) ~[AbstractChannel.class:?]
  221.     at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:254) [SimpleNetworkWrapper.class:?]
  222.     at com.pixelmonmod.pixelmon.battles.attacks.Attack.setDisabled(Attack.java:902) [Attack.class:?]
  223.     at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.resetOnSwitch(PixelmonWrapper.java:1001) [PixelmonWrapper.class:?]
  224.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:582) [BattleControllerBase.class:?]
  225.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkDefeated(BattleControllerBase.java:1050) [BattleControllerBase.class:?]
  226.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkPokemon(BattleControllerBase.java:979) [BattleControllerBase.class:?]
  227.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:317) [BattleControllerBase.class:?]
  228.     at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:138) [BattleRegistry.class:?]
  229.     at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:12) [BattleTickHandler.class:?]
  230.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_34_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic) [?:?]
  231.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?]
  232.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:125) [EventBus.class:?]
  233.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:94) [EventBus.class:?]
  234.     at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:269) [FMLCommonHandler.class:?]
  235.     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:718) [MinecraftServer.class:?]
  236.     at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
  237.     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
  238.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
  239.     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
  240. Caused by: java.lang.NullPointerException
  241. [00:12:17] [Server thread/ERROR] [FML/]: SimpleChannelHandlerWrapper exception
  242. io.netty.handler.codec.EncoderException: java.lang.NullPointerException
  243.     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107) ~[MessageToMessageEncoder.class:?]
  244.     at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
  245.     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658) ~[AbstractChannelHandlerContext.class:?]
  246.     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716) ~[AbstractChannelHandlerContext.class:?]
  247.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706) ~[AbstractChannelHandlerContext.class:?]
  248.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741) ~[AbstractChannelHandlerContext.class:?]
  249.     at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895) ~[DefaultChannelPipeline.class:?]
  250.     at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) ~[AbstractChannel.class:?]
  251.     at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:254) [SimpleNetworkWrapper.class:?]
  252.     at com.pixelmonmod.pixelmon.battles.attacks.Attack.setDisabled(Attack.java:902) [Attack.class:?]
  253.     at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.resetOnSwitch(PixelmonWrapper.java:1001) [PixelmonWrapper.class:?]
  254.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:582) [BattleControllerBase.class:?]
  255.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkDefeated(BattleControllerBase.java:1050) [BattleControllerBase.class:?]
  256.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkPokemon(BattleControllerBase.java:979) [BattleControllerBase.class:?]
  257.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:317) [BattleControllerBase.class:?]
  258.     at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:138) [BattleRegistry.class:?]
  259.     at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:12) [BattleTickHandler.class:?]
  260.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_34_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic) [?:?]
  261.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?]
  262.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:125) [EventBus.class:?]
  263.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:94) [EventBus.class:?]
  264.     at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:269) [FMLCommonHandler.class:?]
  265.     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:718) [MinecraftServer.class:?]
  266.     at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
  267.     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
  268.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
  269.     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
  270. Caused by: java.lang.NullPointerException
  271. [00:12:17] [Server thread/ERROR] [FML/]: SimpleChannelHandlerWrapper exception
  272. io.netty.handler.codec.EncoderException: java.lang.NullPointerException
  273.     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107) ~[MessageToMessageEncoder.class:?]
  274.     at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
  275.     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658) ~[AbstractChannelHandlerContext.class:?]
  276.     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716) ~[AbstractChannelHandlerContext.class:?]
  277.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706) ~[AbstractChannelHandlerContext.class:?]
  278.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741) ~[AbstractChannelHandlerContext.class:?]
  279.     at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895) ~[DefaultChannelPipeline.class:?]
  280.     at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) ~[AbstractChannel.class:?]
  281.     at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:254) [SimpleNetworkWrapper.class:?]
  282.     at com.pixelmonmod.pixelmon.battles.attacks.Attack.setDisabled(Attack.java:902) [Attack.class:?]
  283.     at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.resetOnSwitch(PixelmonWrapper.java:1001) [PixelmonWrapper.class:?]
  284.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:582) [BattleControllerBase.class:?]
  285.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkDefeated(BattleControllerBase.java:1050) [BattleControllerBase.class:?]
  286.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkPokemon(BattleControllerBase.java:979) [BattleControllerBase.class:?]
  287.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:317) [BattleControllerBase.class:?]
  288.     at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:138) [BattleRegistry.class:?]
  289.     at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:12) [BattleTickHandler.class:?]
  290.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_34_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic) [?:?]
  291.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?]
  292.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:125) [EventBus.class:?]
  293.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:94) [EventBus.class:?]
  294.     at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:269) [FMLCommonHandler.class:?]
  295.     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:718) [MinecraftServer.class:?]
  296.     at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
  297.     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
  298.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
  299.     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
  300. Caused by: java.lang.NullPointerException
  301. [00:12:17] [Server thread/ERROR] [FML/]: SimpleChannelHandlerWrapper exception
  302. io.netty.handler.codec.EncoderException: java.lang.NullPointerException
  303.     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107) ~[MessageToMessageEncoder.class:?]
  304.     at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
  305.     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658) ~[AbstractChannelHandlerContext.class:?]
  306.     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716) ~[AbstractChannelHandlerContext.class:?]
  307.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706) ~[AbstractChannelHandlerContext.class:?]
  308.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741) ~[AbstractChannelHandlerContext.class:?]
  309.     at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895) ~[DefaultChannelPipeline.class:?]
  310.     at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) ~[AbstractChannel.class:?]
  311.     at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:254) [SimpleNetworkWrapper.class:?]
  312.     at com.pixelmonmod.pixelmon.battles.attacks.Attack.setDisabled(Attack.java:902) [Attack.class:?]
  313.     at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.resetOnSwitch(PixelmonWrapper.java:1001) [PixelmonWrapper.class:?]
  314.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:582) [BattleControllerBase.class:?]
  315.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkDefeated(BattleControllerBase.java:1050) [BattleControllerBase.class:?]
  316.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkPokemon(BattleControllerBase.java:979) [BattleControllerBase.class:?]
  317.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:317) [BattleControllerBase.class:?]
  318.     at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:138) [BattleRegistry.class:?]
  319.     at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:12) [BattleTickHandler.class:?]
  320.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_34_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic) [?:?]
  321.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?]
  322.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:125) [EventBus.class:?]
  323.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:94) [EventBus.class:?]
  324.     at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:269) [FMLCommonHandler.class:?]
  325.     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:718) [MinecraftServer.class:?]
  326.     at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
  327.     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
  328.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
  329.     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
  330. Caused by: java.lang.NullPointerException
  331. [00:12:17] [Server thread/ERROR] [FML/]: SimpleChannelHandlerWrapper exception
  332. io.netty.handler.codec.EncoderException: java.lang.NullPointerException
  333.     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107) ~[MessageToMessageEncoder.class:?]
  334.     at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
  335.     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658) ~[AbstractChannelHandlerContext.class:?]
  336.     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716) ~[AbstractChannelHandlerContext.class:?]
  337.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706) ~[AbstractChannelHandlerContext.class:?]
  338.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741) ~[AbstractChannelHandlerContext.class:?]
  339.     at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895) ~[DefaultChannelPipeline.class:?]
  340.     at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) ~[AbstractChannel.class:?]
  341.     at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:254) [SimpleNetworkWrapper.class:?]
  342.     at com.pixelmonmod.pixelmon.battles.attacks.Attack.setDisabled(Attack.java:902) [Attack.class:?]
  343.     at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.resetOnSwitch(PixelmonWrapper.java:1001) [PixelmonWrapper.class:?]
  344.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:582) [BattleControllerBase.class:?]
  345.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkDefeated(BattleControllerBase.java:1050) [BattleControllerBase.class:?]
  346.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkPokemon(BattleControllerBase.java:979) [BattleControllerBase.class:?]
  347.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:317) [BattleControllerBase.class:?]
  348.     at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:138) [BattleRegistry.class:?]
  349.     at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:12) [BattleTickHandler.class:?]
  350.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_34_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic) [?:?]
  351.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?]
  352.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:125) [EventBus.class:?]
  353.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:94) [EventBus.class:?]
  354.     at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:269) [FMLCommonHandler.class:?]
  355.     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:718) [MinecraftServer.class:?]
  356.     at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
  357.     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
  358.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
  359.     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
  360. Caused by: java.lang.NullPointerException
  361. [00:12:17] [Server thread/ERROR] [FML/]: SimpleChannelHandlerWrapper exception
  362. io.netty.handler.codec.EncoderException: java.lang.NullPointerException
  363.     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107) ~[MessageToMessageEncoder.class:?]
  364.     at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
  365.     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658) ~[AbstractChannelHandlerContext.class:?]
  366.     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716) ~[AbstractChannelHandlerContext.class:?]
  367.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706) ~[AbstractChannelHandlerContext.class:?]
  368.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741) ~[AbstractChannelHandlerContext.class:?]
  369.     at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895) ~[DefaultChannelPipeline.class:?]
  370.     at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) ~[AbstractChannel.class:?]
  371.     at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:254) [SimpleNetworkWrapper.class:?]
  372.     at com.pixelmonmod.pixelmon.battles.attacks.Attack.setDisabled(Attack.java:902) [Attack.class:?]
  373.     at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.resetOnSwitch(PixelmonWrapper.java:1001) [PixelmonWrapper.class:?]
  374.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:582) [BattleControllerBase.class:?]
  375.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkDefeated(BattleControllerBase.java:1050) [BattleControllerBase.class:?]
  376.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkPokemon(BattleControllerBase.java:979) [BattleControllerBase.class:?]
  377.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:317) [BattleControllerBase.class:?]
  378.     at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:138) [BattleRegistry.class:?]
  379.     at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:12) [BattleTickHandler.class:?]
  380.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_34_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic) [?:?]
  381.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?]
  382.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:125) [EventBus.class:?]
  383.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:94) [EventBus.class:?]
  384.     at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:269) [FMLCommonHandler.class:?]
  385.     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:718) [MinecraftServer.class:?]
  386.     at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
  387.     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
  388.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
  389.     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
  390. Caused by: java.lang.NullPointerException
  391. [00:12:17] [Server thread/ERROR] [FML/]: SimpleChannelHandlerWrapper exception
  392. io.netty.handler.codec.EncoderException: java.lang.NullPointerException
  393.     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107) ~[MessageToMessageEncoder.class:?]
  394.     at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
  395.     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658) ~[AbstractChannelHandlerContext.class:?]
  396.     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716) ~[AbstractChannelHandlerContext.class:?]
  397.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706) ~[AbstractChannelHandlerContext.class:?]
  398.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741) ~[AbstractChannelHandlerContext.class:?]
  399.     at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895) ~[DefaultChannelPipeline.class:?]
  400.     at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) ~[AbstractChannel.class:?]
  401.     at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:254) [SimpleNetworkWrapper.class:?]
  402.     at com.pixelmonmod.pixelmon.battles.attacks.Attack.setDisabled(Attack.java:902) [Attack.class:?]
  403.     at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.resetOnSwitch(PixelmonWrapper.java:1001) [PixelmonWrapper.class:?]
  404.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:582) [BattleControllerBase.class:?]
  405.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkDefeated(BattleControllerBase.java:1050) [BattleControllerBase.class:?]
  406.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkPokemon(BattleControllerBase.java:979) [BattleControllerBase.class:?]
  407.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:317) [BattleControllerBase.class:?]
  408.     at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:138) [BattleRegistry.class:?]
  409.     at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:12) [BattleTickHandler.class:?]
  410.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_34_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic) [?:?]
  411.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?]
  412.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:125) [EventBus.class:?]
  413.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:94) [EventBus.class:?]
  414.     at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:269) [FMLCommonHandler.class:?]
  415.     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:718) [MinecraftServer.class:?]
  416.     at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
  417.     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
  418.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
  419.     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
  420. Caused by: java.lang.NullPointerException
  421. [00:12:17] [Server thread/ERROR] [FML/]: SimpleChannelHandlerWrapper exception
  422. io.netty.handler.codec.EncoderException: java.lang.NullPointerException
  423.     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107) ~[MessageToMessageEncoder.class:?]
  424.     at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
  425.     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658) ~[AbstractChannelHandlerContext.class:?]
  426.     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716) ~[AbstractChannelHandlerContext.class:?]
  427.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706) ~[AbstractChannelHandlerContext.class:?]
  428.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741) ~[AbstractChannelHandlerContext.class:?]
  429.     at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895) ~[DefaultChannelPipeline.class:?]
  430.     at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) ~[AbstractChannel.class:?]
  431.     at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:254) [SimpleNetworkWrapper.class:?]
  432.     at com.pixelmonmod.pixelmon.battles.attacks.Attack.setDisabled(Attack.java:902) [Attack.class:?]
  433.     at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.resetOnSwitch(PixelmonWrapper.java:1001) [PixelmonWrapper.class:?]
  434.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:582) [BattleControllerBase.class:?]
  435.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkDefeated(BattleControllerBase.java:1050) [BattleControllerBase.class:?]
  436.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkPokemon(BattleControllerBase.java:979) [BattleControllerBase.class:?]
  437.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:317) [BattleControllerBase.class:?]
  438.     at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:138) [BattleRegistry.class:?]
  439.     at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:12) [BattleTickHandler.class:?]
  440.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_34_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic) [?:?]
  441.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?]
  442.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:125) [EventBus.class:?]
  443.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:94) [EventBus.class:?]
  444.     at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:269) [FMLCommonHandler.class:?]
  445.     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:718) [MinecraftServer.class:?]
  446.     at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
  447.     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
  448.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
  449.     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
  450. Caused by: java.lang.NullPointerException
  451. [00:12:17] [Server thread/ERROR] [FML/]: SimpleChannelHandlerWrapper exception
  452. io.netty.handler.codec.EncoderException: java.lang.NullPointerException
  453.     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107) ~[MessageToMessageEncoder.class:?]
  454.     at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
  455.     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658) ~[AbstractChannelHandlerContext.class:?]
  456.     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716) ~[AbstractChannelHandlerContext.class:?]
  457.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706) ~[AbstractChannelHandlerContext.class:?]
  458.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741) ~[AbstractChannelHandlerContext.class:?]
  459.     at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895) ~[DefaultChannelPipeline.class:?]
  460.     at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) ~[AbstractChannel.class:?]
  461.     at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:254) [SimpleNetworkWrapper.class:?]
  462.     at com.pixelmonmod.pixelmon.battles.attacks.Attack.setDisabled(Attack.java:902) [Attack.class:?]
  463.     at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.resetOnSwitch(PixelmonWrapper.java:1001) [PixelmonWrapper.class:?]
  464.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:582) [BattleControllerBase.class:?]
  465.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkDefeated(BattleControllerBase.java:1050) [BattleControllerBase.class:?]
  466.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkPokemon(BattleControllerBase.java:979) [BattleControllerBase.class:?]
  467.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:317) [BattleControllerBase.class:?]
  468.     at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:138) [BattleRegistry.class:?]
  469.     at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:12) [BattleTickHandler.class:?]
  470.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_34_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic) [?:?]
  471.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?]
  472.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:125) [EventBus.class:?]
  473.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:94) [EventBus.class:?]
  474.     at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:269) [FMLCommonHandler.class:?]
  475.     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:718) [MinecraftServer.class:?]
  476.     at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
  477.     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
  478.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
  479.     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
  480. Caused by: java.lang.NullPointerException
  481. [00:12:17] [Server thread/ERROR] [FML/]: SimpleChannelHandlerWrapper exception
  482. io.netty.handler.codec.EncoderException: java.lang.NullPointerException
  483.     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107) ~[MessageToMessageEncoder.class:?]
  484.     at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
  485.     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658) ~[AbstractChannelHandlerContext.class:?]
  486.     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716) ~[AbstractChannelHandlerContext.class:?]
  487.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706) ~[AbstractChannelHandlerContext.class:?]
  488.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741) ~[AbstractChannelHandlerContext.class:?]
  489.     at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895) ~[DefaultChannelPipeline.class:?]
  490.     at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) ~[AbstractChannel.class:?]
  491.     at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:254) [SimpleNetworkWrapper.class:?]
  492.     at com.pixelmonmod.pixelmon.battles.attacks.Attack.setDisabled(Attack.java:902) [Attack.class:?]
  493.     at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.resetOnSwitch(PixelmonWrapper.java:1001) [PixelmonWrapper.class:?]
  494.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:582) [BattleControllerBase.class:?]
  495.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkDefeated(BattleControllerBase.java:1050) [BattleControllerBase.class:?]
  496.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkPokemon(BattleControllerBase.java:979) [BattleControllerBase.class:?]
  497.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:317) [BattleControllerBase.class:?]
  498.     at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:138) [BattleRegistry.class:?]
  499.     at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:12) [BattleTickHandler.class:?]
  500.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_34_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic) [?:?]
  501.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?]
  502.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:125) [EventBus.class:?]
  503.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:94) [EventBus.class:?]
  504.     at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:269) [FMLCommonHandler.class:?]
  505.     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:718) [MinecraftServer.class:?]
  506.     at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
  507.     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
  508.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
  509.     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
  510. Caused by: java.lang.NullPointerException
  511. [00:12:17] [Server thread/ERROR] [FML/]: SimpleChannelHandlerWrapper exception
  512. io.netty.handler.codec.EncoderException: java.lang.NullPointerException
  513.     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107) ~[MessageToMessageEncoder.class:?]
  514.     at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
  515.     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658) ~[AbstractChannelHandlerContext.class:?]
  516.     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716) ~[AbstractChannelHandlerContext.class:?]
  517.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706) ~[AbstractChannelHandlerContext.class:?]
  518.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741) ~[AbstractChannelHandlerContext.class:?]
  519.     at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895) ~[DefaultChannelPipeline.class:?]
  520.     at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) ~[AbstractChannel.class:?]
  521.     at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:254) [SimpleNetworkWrapper.class:?]
  522.     at com.pixelmonmod.pixelmon.battles.attacks.Attack.setDisabled(Attack.java:902) [Attack.class:?]
  523.     at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.resetOnSwitch(PixelmonWrapper.java:1001) [PixelmonWrapper.class:?]
  524.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:582) [BattleControllerBase.class:?]
  525.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkDefeated(BattleControllerBase.java:1050) [BattleControllerBase.class:?]
  526.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkPokemon(BattleControllerBase.java:979) [BattleControllerBase.class:?]
  527.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:317) [BattleControllerBase.class:?]
  528.     at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:138) [BattleRegistry.class:?]
  529.     at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:12) [BattleTickHandler.class:?]
  530.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_34_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic) [?:?]
  531.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?]
  532.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:125) [EventBus.class:?]
  533.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:94) [EventBus.class:?]
  534.     at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:269) [FMLCommonHandler.class:?]
  535.     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:718) [MinecraftServer.class:?]
  536.     at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
  537.     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
  538.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
  539.     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
  540. Caused by: java.lang.NullPointerException
  541. [00:12:17] [Server thread/ERROR] [FML/]: SimpleChannelHandlerWrapper exception
  542. io.netty.handler.codec.EncoderException: java.lang.NullPointerException
  543.     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107) ~[MessageToMessageEncoder.class:?]
  544.     at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
  545.     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658) ~[AbstractChannelHandlerContext.class:?]
  546.     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716) ~[AbstractChannelHandlerContext.class:?]
  547.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706) ~[AbstractChannelHandlerContext.class:?]
  548.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741) ~[AbstractChannelHandlerContext.class:?]
  549.     at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895) ~[DefaultChannelPipeline.class:?]
  550.     at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) ~[AbstractChannel.class:?]
  551.     at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:254) [SimpleNetworkWrapper.class:?]
  552.     at com.pixelmonmod.pixelmon.battles.attacks.Attack.setDisabled(Attack.java:902) [Attack.class:?]
  553.     at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.resetOnSwitch(PixelmonWrapper.java:1001) [PixelmonWrapper.class:?]
  554.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:582) [BattleControllerBase.class:?]
  555.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkDefeated(BattleControllerBase.java:1050) [BattleControllerBase.class:?]
  556.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkPokemon(BattleControllerBase.java:979) [BattleControllerBase.class:?]
  557.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:317) [BattleControllerBase.class:?]
  558.     at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:138) [BattleRegistry.class:?]
  559.     at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:12) [BattleTickHandler.class:?]
  560.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_34_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic) [?:?]
  561.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?]
  562.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:125) [EventBus.class:?]
  563.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:94) [EventBus.class:?]
  564.     at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:269) [FMLCommonHandler.class:?]
  565.     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:718) [MinecraftServer.class:?]
  566.     at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
  567.     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
  568.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
  569.     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
  570. Caused by: java.lang.NullPointerException
  571. [00:12:17] [Server thread/ERROR] [FML/]: SimpleChannelHandlerWrapper exception
  572. io.netty.handler.codec.EncoderException: java.lang.NullPointerException
  573.     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107) ~[MessageToMessageEncoder.class:?]
  574.     at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
  575.     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658) ~[AbstractChannelHandlerContext.class:?]
  576.     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716) ~[AbstractChannelHandlerContext.class:?]
  577.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706) ~[AbstractChannelHandlerContext.class:?]
  578.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741) ~[AbstractChannelHandlerContext.class:?]
  579.     at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895) ~[DefaultChannelPipeline.class:?]
  580.     at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) ~[AbstractChannel.class:?]
  581.     at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:254) [SimpleNetworkWrapper.class:?]
  582.     at com.pixelmonmod.pixelmon.battles.attacks.Attack.setDisabled(Attack.java:902) [Attack.class:?]
  583.     at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.resetOnSwitch(PixelmonWrapper.java:1001) [PixelmonWrapper.class:?]
  584.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:582) [BattleControllerBase.class:?]
  585.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkDefeated(BattleControllerBase.java:1050) [BattleControllerBase.class:?]
  586.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkPokemon(BattleControllerBase.java:979) [BattleControllerBase.class:?]
  587.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:317) [BattleControllerBase.class:?]
  588.     at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:138) [BattleRegistry.class:?]
  589.     at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:12) [BattleTickHandler.class:?]
  590.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_34_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic) [?:?]
  591.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?]
  592.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:125) [EventBus.class:?]
  593.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:94) [EventBus.class:?]
  594.     at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:269) [FMLCommonHandler.class:?]
  595.     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:718) [MinecraftServer.class:?]
  596.     at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
  597.     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
  598.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
  599.     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
  600. Caused by: java.lang.NullPointerException
  601. [00:12:17] [Server thread/ERROR] [FML/]: SimpleChannelHandlerWrapper exception
  602. io.netty.handler.codec.EncoderException: java.lang.NullPointerException
  603.     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107) ~[MessageToMessageEncoder.class:?]
  604.     at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
  605.     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658) ~[AbstractChannelHandlerContext.class:?]
  606.     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716) ~[AbstractChannelHandlerContext.class:?]
  607.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706) ~[AbstractChannelHandlerContext.class:?]
  608.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741) ~[AbstractChannelHandlerContext.class:?]
  609.     at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895) ~[DefaultChannelPipeline.class:?]
  610.     at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) ~[AbstractChannel.class:?]
  611.     at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:254) [SimpleNetworkWrapper.class:?]
  612.     at com.pixelmonmod.pixelmon.battles.attacks.Attack.setDisabled(Attack.java:902) [Attack.class:?]
  613.     at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.resetOnSwitch(PixelmonWrapper.java:1001) [PixelmonWrapper.class:?]
  614.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:582) [BattleControllerBase.class:?]
  615.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkDefeated(BattleControllerBase.java:1050) [BattleControllerBase.class:?]
  616.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkPokemon(BattleControllerBase.java:979) [BattleControllerBase.class:?]
  617.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:317) [BattleControllerBase.class:?]
  618.     at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:138) [BattleRegistry.class:?]
  619.     at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:12) [BattleTickHandler.class:?]
  620.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_34_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic) [?:?]
  621.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?]
  622.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:125) [EventBus.class:?]
  623.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:94) [EventBus.class:?]
  624.     at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:269) [FMLCommonHandler.class:?]
  625.     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:718) [MinecraftServer.class:?]
  626.     at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
  627.     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
  628.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
  629.     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
  630. Caused by: java.lang.NullPointerException
  631. [00:12:17] [Server thread/ERROR] [FML/]: SimpleChannelHandlerWrapper exception
  632. io.netty.handler.codec.EncoderException: java.lang.NullPointerException
  633.     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107) ~[MessageToMessageEncoder.class:?]
  634.     at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
  635.     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658) ~[AbstractChannelHandlerContext.class:?]
  636.     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716) ~[AbstractChannelHandlerContext.class:?]
  637.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706) ~[AbstractChannelHandlerContext.class:?]
  638.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741) ~[AbstractChannelHandlerContext.class:?]
  639.     at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895) ~[DefaultChannelPipeline.class:?]
  640.     at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) ~[AbstractChannel.class:?]
  641.     at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:254) [SimpleNetworkWrapper.class:?]
  642.     at com.pixelmonmod.pixelmon.battles.attacks.Attack.setDisabled(Attack.java:902) [Attack.class:?]
  643.     at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.resetOnSwitch(PixelmonWrapper.java:1001) [PixelmonWrapper.class:?]
  644.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:582) [BattleControllerBase.class:?]
  645.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkDefeated(BattleControllerBase.java:1050) [BattleControllerBase.class:?]
  646.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkPokemon(BattleControllerBase.java:979) [BattleControllerBase.class:?]
  647.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:317) [BattleControllerBase.class:?]
  648.     at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:138) [BattleRegistry.class:?]
  649.     at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:12) [BattleTickHandler.class:?]
  650.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_34_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic) [?:?]
  651.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?]
  652.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:125) [EventBus.class:?]
  653.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:94) [EventBus.class:?]
  654.     at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:269) [FMLCommonHandler.class:?]
  655.     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:718) [MinecraftServer.class:?]
  656.     at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
  657.     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
  658.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
  659.     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
  660. Caused by: java.lang.NullPointerException
  661. [00:12:17] [Server thread/ERROR] [FML/]: SimpleChannelHandlerWrapper exception
  662. io.netty.handler.codec.EncoderException: java.lang.NullPointerException
  663.     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107) ~[MessageToMessageEncoder.class:?]
  664.     at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
  665.     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658) ~[AbstractChannelHandlerContext.class:?]
  666.     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716) ~[AbstractChannelHandlerContext.class:?]
  667.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706) ~[AbstractChannelHandlerContext.class:?]
  668.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741) ~[AbstractChannelHandlerContext.class:?]
  669.     at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895) ~[DefaultChannelPipeline.class:?]
  670.     at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) ~[AbstractChannel.class:?]
  671.     at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:254) [SimpleNetworkWrapper.class:?]
  672.     at com.pixelmonmod.pixelmon.battles.attacks.Attack.setDisabled(Attack.java:902) [Attack.class:?]
  673.     at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.resetOnSwitch(PixelmonWrapper.java:1001) [PixelmonWrapper.class:?]
  674.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:582) [BattleControllerBase.class:?]
  675.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkDefeated(BattleControllerBase.java:1050) [BattleControllerBase.class:?]
  676.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkPokemon(BattleControllerBase.java:979) [BattleControllerBase.class:?]
  677.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:317) [BattleControllerBase.class:?]
  678.     at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:138) [BattleRegistry.class:?]
  679.     at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:12) [BattleTickHandler.class:?]
  680.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_34_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic) [?:?]
  681.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?]
  682.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:125) [EventBus.class:?]
  683.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:94) [EventBus.class:?]
  684.     at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:269) [FMLCommonHandler.class:?]
  685.     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:718) [MinecraftServer.class:?]
  686.     at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
  687.     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
  688.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
  689.     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
  690. Caused by: java.lang.NullPointerException
  691. [00:12:17] [Server thread/ERROR] [FML/]: SimpleChannelHandlerWrapper exception
  692. io.netty.handler.codec.EncoderException: java.lang.NullPointerException
  693.     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107) ~[MessageToMessageEncoder.class:?]
  694.     at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
  695.     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658) ~[AbstractChannelHandlerContext.class:?]
  696.     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716) ~[AbstractChannelHandlerContext.class:?]
  697.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706) ~[AbstractChannelHandlerContext.class:?]
  698.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741) ~[AbstractChannelHandlerContext.class:?]
  699.     at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895) ~[DefaultChannelPipeline.class:?]
  700.     at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) ~[AbstractChannel.class:?]
  701.     at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:254) [SimpleNetworkWrapper.class:?]
  702.     at com.pixelmonmod.pixelmon.battles.attacks.Attack.setDisabled(Attack.java:902) [Attack.class:?]
  703.     at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.resetOnSwitch(PixelmonWrapper.java:1001) [PixelmonWrapper.class:?]
  704.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:582) [BattleControllerBase.class:?]
  705.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkDefeated(BattleControllerBase.java:1050) [BattleControllerBase.class:?]
  706.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkPokemon(BattleControllerBase.java:979) [BattleControllerBase.class:?]
  707.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:317) [BattleControllerBase.class:?]
  708.     at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:138) [BattleRegistry.class:?]
  709.     at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:12) [BattleTickHandler.class:?]
  710.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_34_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic) [?:?]
  711.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?]
  712.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:125) [EventBus.class:?]
  713.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:94) [EventBus.class:?]
  714.     at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:269) [FMLCommonHandler.class:?]
  715.     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:718) [MinecraftServer.class:?]
  716.     at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
  717.     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
  718.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
  719.     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
  720. Caused by: java.lang.NullPointerException
  721. [00:12:17] [Server thread/ERROR] [FML/]: SimpleChannelHandlerWrapper exception
  722. io.netty.handler.codec.EncoderException: java.lang.NullPointerException
  723.     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107) ~[MessageToMessageEncoder.class:?]
  724.     at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
  725.     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658) ~[AbstractChannelHandlerContext.class:?]
  726.     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716) ~[AbstractChannelHandlerContext.class:?]
  727.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706) ~[AbstractChannelHandlerContext.class:?]
  728.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741) ~[AbstractChannelHandlerContext.class:?]
  729.     at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895) ~[DefaultChannelPipeline.class:?]
  730.     at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) ~[AbstractChannel.class:?]
  731.     at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:254) [SimpleNetworkWrapper.class:?]
  732.     at com.pixelmonmod.pixelmon.battles.attacks.Attack.setDisabled(Attack.java:902) [Attack.class:?]
  733.     at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.resetOnSwitch(PixelmonWrapper.java:1001) [PixelmonWrapper.class:?]
  734.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:582) [BattleControllerBase.class:?]
  735.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkDefeated(BattleControllerBase.java:1050) [BattleControllerBase.class:?]
  736.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkPokemon(BattleControllerBase.java:979) [BattleControllerBase.class:?]
  737.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:317) [BattleControllerBase.class:?]
  738.     at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:138) [BattleRegistry.class:?]
  739.     at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:12) [BattleTickHandler.class:?]
  740.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_34_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic) [?:?]
  741.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?]
  742.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:125) [EventBus.class:?]
  743.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:94) [EventBus.class:?]
  744.     at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:269) [FMLCommonHandler.class:?]
  745.     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:718) [MinecraftServer.class:?]
  746.     at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
  747.     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
  748.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
  749.     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
  750. Caused by: java.lang.NullPointerException
  751. [00:12:17] [Server thread/ERROR] [FML/]: SimpleChannelHandlerWrapper exception
  752. io.netty.handler.codec.EncoderException: java.lang.NullPointerException
  753.     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107) ~[MessageToMessageEncoder.class:?]
  754.     at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
  755.     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658) ~[AbstractChannelHandlerContext.class:?]
  756.     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716) ~[AbstractChannelHandlerContext.class:?]
  757.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706) ~[AbstractChannelHandlerContext.class:?]
  758.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741) ~[AbstractChannelHandlerContext.class:?]
  759.     at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895) ~[DefaultChannelPipeline.class:?]
  760.     at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) ~[AbstractChannel.class:?]
  761.     at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:254) [SimpleNetworkWrapper.class:?]
  762.     at com.pixelmonmod.pixelmon.battles.attacks.Attack.setDisabled(Attack.java:902) [Attack.class:?]
  763.     at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.resetOnSwitch(PixelmonWrapper.java:1001) [PixelmonWrapper.class:?]
  764.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:582) [BattleControllerBase.class:?]
  765.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkDefeated(BattleControllerBase.java:1050) [BattleControllerBase.class:?]
  766.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkPokemon(BattleControllerBase.java:979) [BattleControllerBase.class:?]
  767.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:317) [BattleControllerBase.class:?]
  768.     at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:138) [BattleRegistry.class:?]
  769.     at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:12) [BattleTickHandler.class:?]
  770.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_34_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic) [?:?]
  771.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?]
  772.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:125) [EventBus.class:?]
  773.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:94) [EventBus.class:?]
  774.     at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:269) [FMLCommonHandler.class:?]
  775.     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:718) [MinecraftServer.class:?]
  776.     at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
  777.     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
  778.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
  779.     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
  780. Caused by: java.lang.NullPointerException
  781. [00:12:17] [Server thread/ERROR] [FML/]: SimpleChannelHandlerWrapper exception
  782. io.netty.handler.codec.EncoderException: java.lang.NullPointerException
  783.     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107) ~[MessageToMessageEncoder.class:?]
  784.     at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
  785.     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658) ~[AbstractChannelHandlerContext.class:?]
  786.     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716) ~[AbstractChannelHandlerContext.class:?]
  787.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706) ~[AbstractChannelHandlerContext.class:?]
  788.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741) ~[AbstractChannelHandlerContext.class:?]
  789.     at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895) ~[DefaultChannelPipeline.class:?]
  790.     at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) ~[AbstractChannel.class:?]
  791.     at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:254) [SimpleNetworkWrapper.class:?]
  792.     at com.pixelmonmod.pixelmon.battles.attacks.Attack.setDisabled(Attack.java:902) [Attack.class:?]
  793.     at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.resetOnSwitch(PixelmonWrapper.java:1001) [PixelmonWrapper.class:?]
  794.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:582) [BattleControllerBase.class:?]
  795.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkDefeated(BattleControllerBase.java:1050) [BattleControllerBase.class:?]
  796.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkPokemon(BattleControllerBase.java:979) [BattleControllerBase.class:?]
  797.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:317) [BattleControllerBase.class:?]
  798.     at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:138) [BattleRegistry.class:?]
  799.     at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:12) [BattleTickHandler.class:?]
  800.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_34_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic) [?:?]
  801.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?]
  802.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:125) [EventBus.class:?]
  803.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:94) [EventBus.class:?]
  804.     at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:269) [FMLCommonHandler.class:?]
  805.     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:718) [MinecraftServer.class:?]
  806.     at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
  807.     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
  808.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
  809.     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
  810. Caused by: java.lang.NullPointerException
  811. [00:12:17] [Server thread/ERROR] [FML/]: SimpleChannelHandlerWrapper exception
  812. io.netty.handler.codec.EncoderException: java.lang.NullPointerException
  813.     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107) ~[MessageToMessageEncoder.class:?]
  814.     at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
  815.     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658) ~[AbstractChannelHandlerContext.class:?]
  816.     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716) ~[AbstractChannelHandlerContext.class:?]
  817.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706) ~[AbstractChannelHandlerContext.class:?]
  818.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741) ~[AbstractChannelHandlerContext.class:?]
  819.     at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895) ~[DefaultChannelPipeline.class:?]
  820.     at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) ~[AbstractChannel.class:?]
  821.     at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:254) [SimpleNetworkWrapper.class:?]
  822.     at com.pixelmonmod.pixelmon.battles.attacks.Attack.setDisabled(Attack.java:902) [Attack.class:?]
  823.     at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.resetOnSwitch(PixelmonWrapper.java:1001) [PixelmonWrapper.class:?]
  824.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:582) [BattleControllerBase.class:?]
  825.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkDefeated(BattleControllerBase.java:1050) [BattleControllerBase.class:?]
  826.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkPokemon(BattleControllerBase.java:979) [BattleControllerBase.class:?]
  827.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:317) [BattleControllerBase.class:?]
  828.     at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:138) [BattleRegistry.class:?]
  829.     at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:12) [BattleTickHandler.class:?]
  830.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_34_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic) [?:?]
  831.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?]
  832.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:125) [EventBus.class:?]
  833.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:94) [EventBus.class:?]
  834.     at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:269) [FMLCommonHandler.class:?]
  835.     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:718) [MinecraftServer.class:?]
  836.     at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
  837.     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
  838.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
  839.     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
  840. Caused by: java.lang.NullPointerException
  841. [00:12:17] [Server thread/ERROR] [FML/]: SimpleChannelHandlerWrapper exception
  842. io.netty.handler.codec.EncoderException: java.lang.NullPointerException
  843.     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107) ~[MessageToMessageEncoder.class:?]
  844.     at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
  845.     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658) ~[AbstractChannelHandlerContext.class:?]
  846.     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716) ~[AbstractChannelHandlerContext.class:?]
  847.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706) ~[AbstractChannelHandlerContext.class:?]
  848.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741) ~[AbstractChannelHandlerContext.class:?]
  849.     at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895) ~[DefaultChannelPipeline.class:?]
  850.     at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) ~[AbstractChannel.class:?]
  851.     at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:254) [SimpleNetworkWrapper.class:?]
  852.     at com.pixelmonmod.pixelmon.battles.attacks.Attack.setDisabled(Attack.java:902) [Attack.class:?]
  853.     at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.resetOnSwitch(PixelmonWrapper.java:1001) [PixelmonWrapper.class:?]
  854.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:582) [BattleControllerBase.class:?]
  855.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkDefeated(BattleControllerBase.java:1050) [BattleControllerBase.class:?]
  856.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkPokemon(BattleControllerBase.java:979) [BattleControllerBase.class:?]
  857.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:317) [BattleControllerBase.class:?]
  858.     at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:138) [BattleRegistry.class:?]
  859.     at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:12) [BattleTickHandler.class:?]
  860.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_34_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic) [?:?]
  861.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?]
  862.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:125) [EventBus.class:?]
  863.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:94) [EventBus.class:?]
  864.     at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:269) [FMLCommonHandler.class:?]
  865.     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:718) [MinecraftServer.class:?]
  866.     at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
  867.     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
  868.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
  869.     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
  870. Caused by: java.lang.NullPointerException
  871. [00:12:17] [Server thread/ERROR] [FML/]: SimpleChannelHandlerWrapper exception
  872. io.netty.handler.codec.EncoderException: java.lang.NullPointerException
  873.     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107) ~[MessageToMessageEncoder.class:?]
  874.     at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
  875.     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658) ~[AbstractChannelHandlerContext.class:?]
  876.     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716) ~[AbstractChannelHandlerContext.class:?]
  877.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706) ~[AbstractChannelHandlerContext.class:?]
  878.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741) ~[AbstractChannelHandlerContext.class:?]
  879.     at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895) ~[DefaultChannelPipeline.class:?]
  880.     at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) ~[AbstractChannel.class:?]
  881.     at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:254) [SimpleNetworkWrapper.class:?]
  882.     at com.pixelmonmod.pixelmon.battles.attacks.Attack.setDisabled(Attack.java:902) [Attack.class:?]
  883.     at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.resetOnSwitch(PixelmonWrapper.java:1001) [PixelmonWrapper.class:?]
  884.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:582) [BattleControllerBase.class:?]
  885.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkDefeated(BattleControllerBase.java:1050) [BattleControllerBase.class:?]
  886.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkPokemon(BattleControllerBase.java:979) [BattleControllerBase.class:?]
  887.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:317) [BattleControllerBase.class:?]
  888.     at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:138) [BattleRegistry.class:?]
  889.     at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:12) [BattleTickHandler.class:?]
  890.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_34_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic) [?:?]
  891.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?]
  892.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:125) [EventBus.class:?]
  893.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:94) [EventBus.class:?]
  894.     at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:269) [FMLCommonHandler.class:?]
  895.     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:718) [MinecraftServer.class:?]
  896.     at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
  897.     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
  898.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
  899.     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
  900. Caused by: java.lang.NullPointerException
  901. [00:12:17] [Server thread/ERROR] [FML/]: SimpleChannelHandlerWrapper exception
  902. io.netty.handler.codec.EncoderException: java.lang.NullPointerException
  903.     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107) ~[MessageToMessageEncoder.class:?]
  904.     at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
  905.     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658) ~[AbstractChannelHandlerContext.class:?]
  906.     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716) ~[AbstractChannelHandlerContext.class:?]
  907.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706) ~[AbstractChannelHandlerContext.class:?]
  908.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741) ~[AbstractChannelHandlerContext.class:?]
  909.     at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895) ~[DefaultChannelPipeline.class:?]
  910.     at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) ~[AbstractChannel.class:?]
  911.     at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:254) [SimpleNetworkWrapper.class:?]
  912.     at com.pixelmonmod.pixelmon.battles.attacks.Attack.setDisabled(Attack.java:902) [Attack.class:?]
  913.     at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.resetOnSwitch(PixelmonWrapper.java:1001) [PixelmonWrapper.class:?]
  914.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:582) [BattleControllerBase.class:?]
  915.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkDefeated(BattleControllerBase.java:1050) [BattleControllerBase.class:?]
  916.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkPokemon(BattleControllerBase.java:979) [BattleControllerBase.class:?]
  917.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:317) [BattleControllerBase.class:?]
  918.     at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:138) [BattleRegistry.class:?]
  919.     at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:12) [BattleTickHandler.class:?]
  920.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_34_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic) [?:?]
  921.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?]
  922.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:125) [EventBus.class:?]
  923.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:94) [EventBus.class:?]
  924.     at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:269) [FMLCommonHandler.class:?]
  925.     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:718) [MinecraftServer.class:?]
  926.     at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
  927.     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
  928.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
  929.     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
  930. Caused by: java.lang.NullPointerException
  931. [00:12:17] [Server thread/ERROR] [FML/]: SimpleChannelHandlerWrapper exception
  932. io.netty.handler.codec.EncoderException: java.lang.NullPointerException
  933.     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107) ~[MessageToMessageEncoder.class:?]
  934.     at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
  935.     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658) ~[AbstractChannelHandlerContext.class:?]
  936.     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716) ~[AbstractChannelHandlerContext.class:?]
  937.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706) ~[AbstractChannelHandlerContext.class:?]
  938.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741) ~[AbstractChannelHandlerContext.class:?]
  939.     at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895) ~[DefaultChannelPipeline.class:?]
  940.     at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) ~[AbstractChannel.class:?]
  941.     at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:254) [SimpleNetworkWrapper.class:?]
  942.     at com.pixelmonmod.pixelmon.battles.attacks.Attack.setDisabled(Attack.java:902) [Attack.class:?]
  943.     at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.resetOnSwitch(PixelmonWrapper.java:1001) [PixelmonWrapper.class:?]
  944.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:582) [BattleControllerBase.class:?]
  945.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkDefeated(BattleControllerBase.java:1050) [BattleControllerBase.class:?]
  946.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkPokemon(BattleControllerBase.java:979) [BattleControllerBase.class:?]
  947.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:317) [BattleControllerBase.class:?]
  948.     at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:138) [BattleRegistry.class:?]
  949.     at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:12) [BattleTickHandler.class:?]
  950.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_34_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic) [?:?]
  951.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?]
  952.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:125) [EventBus.class:?]
  953.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:94) [EventBus.class:?]
  954.     at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:269) [FMLCommonHandler.class:?]
  955.     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:718) [MinecraftServer.class:?]
  956.     at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
  957.     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
  958.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
  959.     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
  960. Caused by: java.lang.NullPointerException
  961. [00:12:17] [Server thread/WARN] [io.netty.channel.embedded.EmbeddedChannel/]: More than one exception was raised. Will report only the first one and log others.
  962. io.netty.handler.codec.EncoderException: java.lang.NullPointerException
  963.     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107) ~[MessageToMessageEncoder.class:?]
  964.     at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
  965.     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658) ~[AbstractChannelHandlerContext.class:?]
  966.     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716) ~[AbstractChannelHandlerContext.class:?]
  967.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706) ~[AbstractChannelHandlerContext.class:?]
  968.     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741) ~[AbstractChannelHandlerContext.class:?]
  969.     at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895) ~[DefaultChannelPipeline.class:?]
  970.     at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) ~[AbstractChannel.class:?]
  971.     at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:254) [SimpleNetworkWrapper.class:?]
  972.     at com.pixelmonmod.pixelmon.battles.attacks.Attack.setDisabled(Attack.java:902) [Attack.class:?]
  973.     at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.resetOnSwitch(PixelmonWrapper.java:1001) [PixelmonWrapper.class:?]
  974.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:582) [BattleControllerBase.class:?]
  975.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkDefeated(BattleControllerBase.java:1050) [BattleControllerBase.class:?]
  976.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkPokemon(BattleControllerBase.java:979) [BattleControllerBase.class:?]
  977.     at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:317) [BattleControllerBase.class:?]
  978.     at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:138) [BattleRegistry.class:?]
  979.     at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:12) [BattleTickHandler.class:?]
  980.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_34_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic) [?:?]
  981.     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?]
  982.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:125) [EventBus.class:?]
  983.     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:94) [EventBus.class:?]
  984.     at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:269) [FMLCommonHandler.class:?]
  985.     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:718) [MinecraftServer.class:?]
  986.     at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
  987.     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
  988.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
  989.     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top