error with pet human
l12436 opened this issue ยท 2 comments
org.bukkit.command.CommandException: Unhandled exception executing 'pet human' in com.dsh105.echopet.commands.util.DynamicPluginCommand(pet)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:179) ~[craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServer.java:683) ~[craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.PlayerConnection.handleCommand(PlayerConnection.java:952) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:814) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at com.bergerkiller.bukkit.common.internal.network.CommonPacketHandler$CommonPlayerConnection.a(CommonPacketHandler.java:244) [BKCommonLib.jar:?]
at net.minecraft.server.v1_7_R1.PacketPlayInChat.a(PacketPlayInChat.java:28) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.PacketPlayInChat.handle(PacketPlayInChat.java:47) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:146) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:655) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at com.dsh105.echopet.compat.api.util.reflection.SafeConstructor.newInstance(SafeConstructor.java:65) ~[?:?]
at com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:140) ~[?:?]
at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:124) ~[?:?]
at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:343) ~[?:?]
at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:45) ~[?:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:175) ~[craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
... 13 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.7.0_51]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[?:1.7.0_51]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.7.0_51]
at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[?:1.7.0_51]
at com.dsh105.echopet.compat.api.util.reflection.SafeConstructor.newInstance(SafeConstructor.java:57) ~[?:?]
at com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:140) ~[?:?]
at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:124) ~[?:?]
at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:343) ~[?:?]
at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:45) ~[?:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:175) ~[craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
... 13 more
Caused by: java.lang.NoSuchMethodError: net.minecraft.util.com.mojang.authlib.GameProfile.getId()Ljava/util/UUID;
at com.dsh105.echopet.api.pet.type.HumanPet.updateName(HumanPet.java:72) ~[?:?]
at com.dsh105.echopet.api.pet.type.HumanPet.setPetName(HumanPet.java:54) ~[?:?]
at com.dsh105.echopet.api.pet.Pet.setPetName(Pet.java:142) ~[?:?]
at com.dsh105.echopet.api.pet.type.HumanPet.setPetName(HumanPet.java:61) ~[?:?]
at com.dsh105.echopet.api.pet.Pet.<init>(Pet.java:60) ~[?:?]
at com.dsh105.echopet.api.pet.PacketPet.<init>(PacketPet.java:30) ~[?:?]
at com.dsh105.echopet.api.pet.type.HumanPet.<init>(HumanPet.java:37) ~[?:?]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.7.0_51]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[?:1.7.0_51]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.7.0_51]
at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[?:1.7.0_51]
at com.dsh105.echopet.compat.api.util.reflection.SafeConstructor.newInstance(SafeConstructor.java:57) ~[?:?]
at com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:140) ~[?:?]
at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:124) ~[?:?]
at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:343) ~[?:?]
at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:45) ~[?:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:175) ~[craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
... 13 more
I think this is a known error, but you'll have to ask DSH to be sure.
I remember trying to do this, and I got an error as well, but I was working with MCPC. It has come to my understanding that it was an error, so it will be fixed eventually.
Fixed bc772f0 :)