When attempting to spawn Necrozma with /pokespawn Necrozma boss:1 in singleplayer or in servers, an unknown error occurs.
[01:02:24] [Server thread/WARN] [net.minecraft.command.CommandHandler]: Couldn't process command: pokespawn Necrozma boss:1
java.lang.NullPointerException: null
at com.pixelmonmod.pixelmon.entities.pixelmon.Entity3HasStats.setBoss(Entity3HasStats.java:81) ~[Entity3HasStats.class:?]
at com.pixelmonmod.pixelmon.api.pokemon.PokemonSpec.create(PokemonSpec.java:532) ~[PokemonSpec.class:?]
at com.pixelmonmod.pixelmon.commands.SpawnCommand.execute(SpawnCommand.java:30) ~[SpawnCommand.class:?]
at com.pixelmonmod.pixelmon.api.command.PixelmonCommand.func_184881_a(PixelmonCommand.java:87) ~[PixelmonCommand.class:?]
at net.minecraft.command.CommandHandler.func_175786_a(CommandHandler.java:119) [bj.class:?]
at net.minecraft.command.CommandHandler.func_71556_a(CommandHandler.java:91) [bj.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:962) [pa.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:941) [pa.class:?]
at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:37) [la.class:?]
at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:9) [la.class:?]
at net.minecraft.network.PacketThreadUtil$1.run(PacketThreadUtil.java:22) [hv$1.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_51]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_51]
at net.minecraft.util.Util.func_181617_a(Util.java:47) [h.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:723) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) [MinecraftServer.class:?]
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:279) [chd.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51]
[01:02:24] [Client thread/INFO] [net.minecraft.client.gui.GuiNewChat]: [CHAT] An unknown error occurred while attempting to perform this command