Unable to create pets, however plugin loads?
soccer66 opened this issue · 2 comments
I'm using mcpc+ with the latest pixelmon and some plugins, and when I load up my server echopet lists in the plugin list. I can also do /pet list and see the possible types, but when I do /pet wolf for example, it says "an internal error has occured". I followed the info in my console and saw it said to go to the echopet.log in the plugin folder. I deleted everything inside, and ran the command once more. Here's what it came up with, please help me, this will be a great addition to my server!
[07/03/2014]---[23:22:30]§4[§cEchoPet§4] §r §c[SEVERE] Failed to create new EntityPet instance.
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.github.dsh105.echopet.data.PetType.getNewEntityInstance(PetType.java:186)
at com.github.dsh105.echopet.entity.pet.Pet.createPet(Pet.java:156)
at com.github.dsh105.echopet.entity.pet.Pet.(Pet.java:46)
at com.github.dsh105.echopet.entity.pet.wolf.WolfPet.(WolfPet.java:19)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.github.dsh105.echopet.data.PetType.getNewPetInstance(PetType.java:199)
at com.github.dsh105.echopet.data.PetHandler.createPet(PetHandler.java:129)
at com.github.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:323)
at com.github.dsh105.echopet.commands.CustomCommand.execute(CustomCommand.java:21)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192)
at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchCommand(CraftServer.java:532)
at net.minecraft.network.NetServerHandler.func_72566_d(NetServerHandler.java:1405)
at net.minecraft.network.NetServerHandler.chat(NetServerHandler.java:1269)
at net.minecraft.network.NetServerHandler.func_72481_a(NetServerHandler.java:1201)
at net.minecraft.network.packet.Packet3Chat.func_73279_a(Packet3Chat.java:68)
at net.minecraft.network.TcpConnection.func_74428_b(TcpConnection.java:470)
at net.minecraft.network.NetServerHandler.func_72570_d(NetServerHandler.java:233)
at net.minecraft.network.NetworkListenThread.func_71747_b(NetworkListenThread.java:54)
at net.minecraft.server.dedicated.DedicatedServerListenThread.func_71747_b(DedicatedServerListenThread.java:34)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:914)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:330)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:781)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:663)
at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
Caused by: java.lang.NoSuchMethodError: com.github.dsh105.echopet.entity.pet.EntityPet.getNavigation()Lnet/minecraft/pathfinding/PathNavigate;
at com.github.dsh105.echopet.entity.pathfinder.goals.PetGoalFloat.(PetGoalFloat.java:12)
at com.github.dsh105.echopet.entity.pet.EntityPet.setPathfinding(EntityPet.java:100)
at com.github.dsh105.echopet.entity.pet.EntityPet.(EntityPet.java:66)
at com.github.dsh105.echopet.entity.pet.EntityAgeablePet.(EntityAgeablePet.java:12)
at com.github.dsh105.echopet.entity.pet.wolf.EntityWolfPet.(EntityWolfPet.java:18)
... 31 more
[07/03/2014]---[23:22:30]§4[§cEchoPet§4] §r §c[SEVERE] Failed to create new Pet instance [WOLF].
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.github.dsh105.echopet.data.PetType.getNewPetInstance(PetType.java:199)
at com.github.dsh105.echopet.data.PetHandler.createPet(PetHandler.java:129)
at com.github.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:323)
at com.github.dsh105.echopet.commands.CustomCommand.execute(CustomCommand.java:21)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192)
at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchCommand(CraftServer.java:532)
at net.minecraft.network.NetServerHandler.func_72566_d(NetServerHandler.java:1405)
at net.minecraft.network.NetServerHandler.chat(NetServerHandler.java:1269)
at net.minecraft.network.NetServerHandler.func_72481_a(NetServerHandler.java:1201)
at net.minecraft.network.packet.Packet3Chat.func_73279_a(Packet3Chat.java:68)
at net.minecraft.network.TcpConnection.func_74428_b(TcpConnection.java:470)
at net.minecraft.network.NetServerHandler.func_72570_d(NetServerHandler.java:233)
at net.minecraft.network.NetworkListenThread.func_71747_b(NetworkListenThread.java:54)
at net.minecraft.server.dedicated.DedicatedServerListenThread.func_71747_b(DedicatedServerListenThread.java:34)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:914)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:330)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:781)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:663)
at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
Caused by: java.lang.NullPointerException
at com.github.dsh105.echopet.entity.pet.Pet.createPet(Pet.java:158)
at com.github.dsh105.echopet.entity.pet.Pet.(Pet.java:46)
at com.github.dsh105.echopet.entity.pet.wolf.WolfPet.(WolfPet.java:19)
... 23 more
Sorry, I can't really support MCPC+ or Pixelmon :(. EchoPet is only compatible with Bukkit/Spigot (etc.) and not modded servers.