Forum rules: Do not post bugs or feature requests here! Report bugs to our Issue Tracker and suggestions to Suggest a Feature.

This site is not for solicitation of services or 'purchasing' development. Please do not post requesting side mods/plugins and so on. Your thread will be removed, and you will receive a warning.
User avatar
By Haazo
#159726 I have a problem using the Pokedex in the air and trying to use the trainer editor on my server. I keep getting Internal Server Errors. I am using Cauldron-1.7.10-2.1403.1.54 t run my server with mods and plugins, and Pixelmon 3.4.0 for MC 1.7.10. Everything else works fine. If you know a solution I would love to know, or if you know alternate methods to run a Pixelmon 3.4.0 server with plugins without Cauldron please do let me know.

Here's a video showcasing my problem.. my crash logs are below.
[youtube]FjX_YGemFLU[/youtube]

PokeDex Error log from server console:
Spoiler:
Failed to handle packet for /{my ip address}
java.lang.NullPointerException
at net.minecraft.network.NetHandlerPlayServer.func_147346_a(NetHandlerPlayServer.java:918) ~[nh.class:?]
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:60) ~[jo.class:?]
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:9) ~[jo.class:?]
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:244) ~[ej.class:?]
at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:173) [nc.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:980) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:430) [lt.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:798) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:658) [MinecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_51]
[06:48:23] [Server thread/INFO]: Haazo lost connection: Internal server error


Trainer Editor Error log from server console:
Spoiler:
Failed to handle packet for /{my IP again}
java.lang.NullPointerException
at net.minecraft.network.NetHandlerPlayServer.func_147346_a(NetHandlerPlayServer.java:918) ~[nh.class:?]
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:60) ~[jo.class:?]
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:9) ~[jo.class:?]
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:244) ~[ej.class:?]
at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:173) [nc.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:980) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:430) [lt.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:798) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:658) [MinecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_51]
[06:51:04] [Server thread/INFO]: Haazo lost connection: Internal server error


This is what pops up in console when I rejoin:
Spoiler:
[06:51:09] [Server thread/WARN]: java.lang.NullPointerException
[06:51:09] [Server thread/WARN]: at com.google.gson.JsonPrimitive.isPrimitiveOrString(JsonPrimitive.java:278)
[06:51:09] [Server thread/WARN]: at com.google.gson.JsonPrimitive.setValue(JsonPrimitive.java:100)
[06:51:09] [Server thread/WARN]: at com.google.gson.JsonPrimitive.<init>(JsonPrimitive.java:65)
[06:51:09] [Server thread/WARN]: at net.minecraft.util.IChatComponent$Serializer.serialize(SourceFile:126)
[06:51:09] [Server thread/WARN]: at net.minecraft.util.IChatComponent$Serializer.serialize(SourceFile:156)
[06:51:09] [Server thread/WARN]: at net.minecraft.util.IChatComponent$Serializer.serialize(SourceFile:29)
[06:51:09] [Server thread/WARN]: at com.google.gson.TreeTypeAdapter.write(TreeTypeAdapter.java:70)
[06:51:09] [Server thread/WARN]: at com.google.gson.Gson.toJson(Gson.java:593)
[06:51:09] [Server thread/WARN]: at com.google.gson.Gson.toJson(Gson.java:572)
[06:51:09] [Server thread/WARN]: at com.google.gson.Gson.toJson(Gson.java:527)
[06:51:09] [Server thread/WARN]: at com.google.gson.Gson.toJson(Gson.java:507)
[06:51:09] [Server thread/WARN]: at net.minecraft.util.IChatComponent$Serializer.func_150696_a(SourceFile:172)
[06:51:09] [Server thread/WARN]: at com.pixelmonmod.pixelmon.comm.packetHandlers.battles.BattleMessage.toBytes(BattleMessage.java:39)
[06:51:09] [Server thread/WARN]: at cpw.mods.fml.common.network.simpleimpl.SimpleIndexedCodec.encodeInto(SimpleIndexedCodec.java:11)
[06:51:09] [Server thread/WARN]: at cpw.mods.fml.common.network.simpleimpl.SimpleIndexedCodec.encodeInto(SimpleIndexedCodec.java:7)
[06:51:09] [Server thread/WARN]: at cpw.mods.fml.common.network.FMLIndexedMessageToMessageCodec.encode(FMLIndexedMessageToMessageCodec.java:51)
[06:51:09] [Server thread/WARN]: at io.netty.handler.codec.MessageToMessageCodec$1.encode(MessageToMessageCodec.java:67)
[06:51:09] [Server thread/WARN]: at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:89)
[06:51:09] [Server thread/WARN]: at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116)
[06:51:09] [Server thread/WARN]: at io.netty.channel.DefaultChannelHandlerContext.invokeWrite(DefaultChannelHandlerContext.java:644)
[06:51:09] [Server thread/WARN]: at io.netty.channel.DefaultChannelHandlerContext.write(DefaultChannelHandlerContext.java:698)
[06:51:09] [Server thread/WARN]: at io.netty.channel.DefaultChannelHandlerContext.writeAndFlush(DefaultChannelHandlerContext.java:688)
[06:51:09] [Server thread/WARN]: at io.netty.channel.DefaultChannelHandlerContext.writeAndFlush(DefaultChannelHandlerContext.java:717)
[06:51:09] [Server thread/WARN]: at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:893)
[06:51:09] [Server thread/WARN]: at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:239)
[06:51:09] [Server thread/WARN]: at cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:196)
[06:51:09] [Server thread/WARN]: at com.pixelmonmod.pixelmon.comm.ChatHandler.sendBattleMessage(ChatHandler.java:63)
[06:51:09] [Server thread/WARN]: at com.pixelmonmod.pixelmon.comm.ChatHandler.sendBattleMessage(ChatHandler.java:58)
[06:51:09] [Server thread/WARN]: at com.pixelmonmod.pixelmon.battles.controller.BattleController2Participant.getInitiateMessage(BattleController2Participant.java:91)
[06:51:09] [Server thread/WARN]: at com.pixelmonmod.pixelmon.battles.controller.BattleController2Participant.initBattle(BattleController2Participant.java:23)
[06:51:09] [Server thread/WARN]: at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:113)
[06:51:09] [Server thread/WARN]: at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:68)
[06:51:09] [Server thread/WARN]: at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:12)
[06:51:09] [Server thread/WARN]: at cpw.mods.fml.common.eventhandler.ASMEventHandler_21_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic)
[06:51:09] [Server thread/WARN]: at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
[06:51:09] [Server thread/WARN]: at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:138)
[06:51:09] [Server thread/WARN]: at cpw.mods.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:259)
[06:51:09] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:963)
[06:51:09] [Server thread/WARN]: at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:430)
[06:51:09] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:798)
[06:51:09] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:658)
[06:51:09] [Server thread/WARN]: at java.lang.Thread.run(Unknown Source)
[06:51:28] [Server thread/INFO]: Haazo lost connection: Disconnected

User avatar
By vPzQuigleyx
#159746 This is a Cauldron issue, there are two workarounds/fixes I know of. 1. Update your Cauldron to a newer version, or KCauldron. 2. Create the trainers in a Single Player World and then use NBT Edit to copy and paste them onto Trainers on your multiplayer servers.
User avatar
By Haazo
#159748 THANK YOU SO MUCH! AFTER SO MUCH STRUGGLE EVERYTHING WORKS! srry for caps, just soo damn excited.... all I had to do was update kcauldron... i didnt even know it was a thing until I searched it up......... thanks so much man.
JOIN THE TEAM