Issue at getting pet
davidrdc opened this issue ยท 0 comments
Although I'd love to include your plugin in my MC network, always that I try to get a pet this issue appears. I hope you can help me.
[17:40:09] [Server thread/INFO]: rdcm27 issued server command: /echopet
[17:40:12] [Server thread/INFO]: rdcm27 issued server command: /pet bat
[17:40:12] [Server thread/ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing 'pet bat' in com.dsh105.echopet.commands.util.DynamicPluginCommand(pet)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:188) ~[spigot-1.7.10-R0.1-1604.SNAPSHOT.jar:git-Spigot-1604]
at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchCommand(CraftServer.java:767) ~[spigot-1.7.10-R0.1-1604.SNAPSHOT.jar:git-Spigot-1604]
at net.minecraft.server.v1_7_R4.PlayerConnection.handleCommand(PlayerConnection.java:1025) [spigot-1.7.10-R0.1-1604.SNAPSHOT.jar:git-Spigot-1604]
at net.minecraft.server.v1_7_R4.PlayerConnection.a(PlayerConnection.java:862) [spigot-1.7.10-R0.1-1604.SNAPSHOT.jar:git-Spigot-1604]
at net.minecraft.server.v1_7_R4.PacketPlayInChat.a(PacketPlayInChat.java:28) [spigot-1.7.10-R0.1-1604.SNAPSHOT.jar:git-Spigot-1604]
at net.minecraft.server.v1_7_R4.PacketPlayInChat.handle(PacketPlayInChat.java:65) [spigot-1.7.10-R0.1-1604.SNAPSHOT.jar:git-Spigot-1604]
at net.minecraft.server.v1_7_R4.NetworkManager.a(NetworkManager.java:184) [spigot-1.7.10-R0.1-1604.SNAPSHOT.jar:git-Spigot-1604]
at net.minecraft.server.v1_7_R4.ServerConnection.c(ServerConnection.java:81) [spigot-1.7.10-R0.1-1604.SNAPSHOT.jar:git-Spigot-1604]
at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:734) [spigot-1.7.10-R0.1-1604.SNAPSHOT.jar:git-Spigot-1604]
at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:289) [spigot-1.7.10-R0.1-1604.SNAPSHOT.jar:git-Spigot-1604]
at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:584) [spigot-1.7.10-R0.1-1604.SNAPSHOT.jar:git-Spigot-1604]
at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:490) [spigot-1.7.10-R0.1-1604.SNAPSHOT.jar:git-Spigot-1604]
at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [spigot-1.7.10-R0.1-1604.SNAPSHOT.jar:git-Spigot-1604]
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at com.dsh105.echopet.compat.api.reflection.SafeConstructor.newInstance(SafeConstructor.java:65) ~[?:?]
at com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:141) ~[?:?]
at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:124) ~[?:?]
at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:406) ~[?:?]
at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:45) ~[?:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:181) ~[spigot-1.7.10-R0.1-1604.SNAPSHOT.jar:git-Spigot-1604]
... 12 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.7.0_65]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[?:1.7.0_65]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.7.0_65]
at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[?:1.7.0_65]
at com.dsh105.echopet.compat.api.reflection.SafeConstructor.newInstance(SafeConstructor.java:57) ~[?:?]
at com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:141) ~[?:?]
at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:124) ~[?:?]
at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:406) ~[?:?]
at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:45) ~[?:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:181) ~[spigot-1.7.10-R0.1-1604.SNAPSHOT.jar:git-Spigot-1604]
... 12 more
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at com.dsh105.echopet.compat.api.reflection.SafeConstructor.newInstance(SafeConstructor.java:65) ~[?:?]
at com.dsh105.echopet.compat.api.entity.PetType.getNewEntityPetInstance(PetType.java:136) ~[?:?]
at com.dsh105.echopet.compat.nms.v1_8_Spigot.SpawnUtil.spawn(SpawnUtil.java:49) ~[?:?]
at com.dsh105.echopet.compat.nms.v1_8_Spigot.SpawnUtil.spawn(SpawnUtil.java:35) ~[?:?]
at com.dsh105.echopet.api.pet.Pet.<init>(Pet.java:60) ~[?:?]
at com.dsh105.echopet.api.pet.type.BatPet.<init>(BatPet.java:36) ~[?:?]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.7.0_65]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[?:1.7.0_65]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.7.0_65]
at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[?:1.7.0_65]
at com.dsh105.echopet.compat.api.reflection.SafeConstructor.newInstance(SafeConstructor.java:57) ~[?:?]
at com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:141) ~[?:?]
at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:124) ~[?:?]
at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:406) ~[?:?]
at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:45) ~[?:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:181) ~[spigot-1.7.10-R0.1-1604.SNAPSHOT.jar:git-Spigot-1604]
... 12 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.7.0_65]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[?:1.7.0_65]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.7.0_65]
at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[?:1.7.0_65]
at com.dsh105.echopet.compat.api.reflection.SafeConstructor.newInstance(SafeConstructor.java:57) ~[?:?]
at com.dsh105.echopet.compat.api.entity.PetType.getNewEntityPetInstance(PetType.java:136) ~[?:?]
at com.dsh105.echopet.compat.nms.v1_8_Spigot.SpawnUtil.spawn(SpawnUtil.java:49) ~[?:?]
at com.dsh105.echopet.compat.nms.v1_8_Spigot.SpawnUtil.spawn(SpawnUtil.java:35) ~[?:?]
at com.dsh105.echopet.api.pet.Pet.<init>(Pet.java:60) ~[?:?]
at com.dsh105.echopet.api.pet.type.BatPet.<init>(BatPet.java:36) ~[?:?]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.7.0_65]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[?:1.7.0_65]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.7.0_65]
at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[?:1.7.0_65]
at com.dsh105.echopet.compat.api.reflection.SafeConstructor.newInstance(SafeConstructor.java:57) ~[?:?]
at com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:141) ~[?:?]
at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:124) ~[?:?]
at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:406) ~[?:?]
at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:45) ~[?:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:181) ~[spigot-1.7.10-R0.1-1604.SNAPSHOT.jar:git-Spigot-1604]
... 12 more
Caused by: java.lang.NullPointerException
at net.minecraft.server.v1_7_R4.DataWatcher.watch(DataWatcher.java:105) ~[spigot-1.7.10-R0.1-1604.SNAPSHOT.jar:git-Spigot-1604]
at com.dsh105.echopet.compat.nms.v1_8_Spigot.entity.EntityPet.initiateEntityPet(EntityPet.java:90) ~[?:?]
at com.dsh105.echopet.compat.nms.v1_8_Spigot.entity.EntityPet.<init>(EntityPet.java:69) ~[?:?]
at com.dsh105.echopet.compat.nms.v1_8_Spigot.entity.type.EntityBatPet.<init>(EntityBatPet.java:35) ~[?:?]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.7.0_65]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[?:1.7.0_65]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.7.0_65]
at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[?:1.7.0_65]
at com.dsh105.echopet.compat.api.reflection.SafeConstructor.newInstance(SafeConstructor.java:57) ~[?:?]
at com.dsh105.echopet.compat.api.entity.PetType.getNewEntityPetInstance(PetType.java:136) ~[?:?]
at com.dsh105.echopet.compat.nms.v1_8_Spigot.SpawnUtil.spawn(SpawnUtil.java:49) ~[?:?]
at com.dsh105.echopet.compat.nms.v1_8_Spigot.SpawnUtil.spawn(SpawnUtil.java:35) ~[?:?]
at com.dsh105.echopet.api.pet.Pet.<init>(Pet.java:60) ~[?:?]
at com.dsh105.echopet.api.pet.type.BatPet.<init>(BatPet.java:36) ~[?:?]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.7.0_65]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[?:1.7.0_65]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.7.0_65]
at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[?:1.7.0_65]
at com.dsh105.echopet.compat.api.reflection.SafeConstructor.newInstance(SafeConstructor.java:57) ~[?:?]
at com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:141) ~[?:?]
at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:124) ~[?:?]
at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:406) ~[?:?]
at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:45) ~[?:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:181) ~[spigot-1.7.10-R0.1-1604.SNAPSHOT.jar:git-Spigot-1604]
... 12 more