Various errors with EchoPets dev build 355.
mibby opened this issue ยท 1 comments
Yay?
[06:39:43] [Server thread/ERROR]: Could not pass event InventoryClickEvent to EchoPet v2.2.6-SNAPSHOT
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:294) ~[spigot.jar:git-Spigot-1366]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-1366]
at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) ~[spigot.jar:git-Spigot-1366]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-1366]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.PlayerConnection.a(PlayerConnection.java:1403) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.PacketPlayInWindowClick.a(SourceFile:32) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.PacketPlayInWindowClick.handle(SourceFile:10) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.NetworkManager.a(NetworkManager.java:148) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.ServerConnection.c(ServerConnection.java:77) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.MinecraftServer.v(MinecraftServer.java:703) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.DedicatedServer.v(DedicatedServer.java:273) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.MinecraftServer.u(MinecraftServer.java:566) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.MinecraftServer.run(MinecraftServer.java:472) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.ThreadServerApplication.run(SourceFile:618) [spigot.jar:git-Spigot-1366]
Caused by: java.lang.ClassCastException: io.github.dsh105.echopet.nms.v1_7_R2.entity.type.EntityWitherPet cannot be cast to io.github.dsh105.echopet.api.entity.nms.type.IEntityWitherPet
at io.github.dsh105.echopet.api.entity.pet.type.WitherPet.setShielded(WitherPet.java:41) ~[?:?]
at io.github.dsh105.echopet.api.PetHandler.setData(PetHandler.java:580) ~[?:?]
at io.github.dsh105.echopet.listeners.MenuListener.onInventoryClick(MenuListener.java:181) ~[?:?]
at sun.reflect.GeneratedMethodAccessor254.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_20-ea]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_20-ea]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:292) ~[spigot.jar:git-Spigot-1366]
... 14 more
[06:41:36] [Server thread/ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing 'pet hat' in io.github.dsh105.echopet.commands.util.DynamicPluginCommand(pet)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:184) ~[spigot.jar:git-Spigot-1366]
at org.bukkit.craftbukkit.v1_7_R2.CraftServer.dispatchCommand(CraftServer.java:719) ~[spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.PlayerConnection.handleCommand(PlayerConnection.java:984) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.PlayerConnection.a(PlayerConnection.java:829) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.PacketPlayInChat.a(PacketPlayInChat.java:28) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.PacketPlayInChat.handle(PacketPlayInChat.java:65) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.NetworkManager.a(NetworkManager.java:148) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.ServerConnection.c(ServerConnection.java:77) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.MinecraftServer.v(MinecraftServer.java:703) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.DedicatedServer.v(DedicatedServer.java:273) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.MinecraftServer.u(MinecraftServer.java:566) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.MinecraftServer.run(MinecraftServer.java:472) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.ThreadServerApplication.run(SourceFile:618) [spigot.jar:git-Spigot-1366]
Caused by: java.lang.NullPointerException
at io.github.dsh105.echopet.api.entity.pet.Pet.ownerRidePet(Pet.java:320) ~[?:?]
at io.github.dsh105.echopet.api.entity.pet.Pet.setAsHat(Pet.java:359) ~[?:?]
at io.github.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:238) ~[?:?]
at io.github.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:45) ~[?:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) ~[spigot.jar:git-Spigot-1366]
... 12 more
[06:41:42] [Server thread/ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing 'pet ride' in io.github.dsh105.echopet.commands.util.DynamicPluginCommand(pet)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:184) ~[spigot.jar:git-Spigot-1366]
at org.bukkit.craftbukkit.v1_7_R2.CraftServer.dispatchCommand(CraftServer.java:719) ~[spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.PlayerConnection.handleCommand(PlayerConnection.java:984) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.PlayerConnection.a(PlayerConnection.java:829) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.PacketPlayInChat.a(PacketPlayInChat.java:28) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.PacketPlayInChat.handle(PacketPlayInChat.java:65) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.NetworkManager.a(NetworkManager.java:148) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.ServerConnection.c(ServerConnection.java:77) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.MinecraftServer.v(MinecraftServer.java:703) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.DedicatedServer.v(DedicatedServer.java:273) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.MinecraftServer.u(MinecraftServer.java:566) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.MinecraftServer.run(MinecraftServer.java:472) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.ThreadServerApplication.run(SourceFile:618) [spigot.jar:git-Spigot-1366]
Caused by: java.lang.NullPointerException
at io.github.dsh105.echopet.api.entity.pet.Pet.ownerRidePet(Pet.java:320) ~[?:?]
at io.github.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:256) ~[?:?]
at io.github.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:45) ~[?:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) ~[spigot.jar:git-Spigot-1366]
... 12 more
[06:41:53] [Server thread/ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing 'pet wither:shield' in io.github.dsh105.echopet.commands.util.DynamicPluginCommand(pet)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:184) ~[spigot.jar:git-Spigot-1366]
at org.bukkit.craftbukkit.v1_7_R2.CraftServer.dispatchCommand(CraftServer.java:719) ~[spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.PlayerConnection.handleCommand(PlayerConnection.java:984) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.PlayerConnection.a(PlayerConnection.java:829) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.PacketPlayInChat.a(PacketPlayInChat.java:28) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.PacketPlayInChat.handle(PacketPlayInChat.java:65) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.NetworkManager.a(NetworkManager.java:148) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.ServerConnection.c(ServerConnection.java:77) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.MinecraftServer.v(MinecraftServer.java:703) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.DedicatedServer.v(DedicatedServer.java:273) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.MinecraftServer.u(MinecraftServer.java:566) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.MinecraftServer.run(MinecraftServer.java:472) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.ThreadServerApplication.run(SourceFile:618) [spigot.jar:git-Spigot-1366]
Caused by: java.lang.ClassCastException: io.github.dsh105.echopet.nms.v1_7_R2.entity.type.EntityWitherPet cannot be cast to io.github.dsh105.echopet.api.entity.nms.type.IEntityWitherPet
at io.github.dsh105.echopet.api.entity.pet.type.WitherPet.setShielded(WitherPet.java:41) ~[?:?]
at io.github.dsh105.echopet.api.PetHandler.setData(PetHandler.java:580) ~[?:?]
at io.github.dsh105.echopet.api.PetHandler.setData(PetHandler.java:469) ~[?:?]
at io.github.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:351) ~[?:?]
at io.github.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:45) ~[?:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) ~[spigot.jar:git-Spigot-1366]
... 12 more
[06:45:53] [Server thread/ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing 'pet hat' in io.github.dsh105.echopet.commands.util.DynamicPluginCommand(pet)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:184) ~[spigot.jar:git-Spigot-1366]
at org.bukkit.craftbukkit.v1_7_R2.CraftServer.dispatchCommand(CraftServer.java:719) ~[spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.PlayerConnection.handleCommand(PlayerConnection.java:984) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.PlayerConnection.a(PlayerConnection.java:829) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.PacketPlayInChat.a(PacketPlayInChat.java:28) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.PacketPlayInChat.handle(PacketPlayInChat.java:65) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.NetworkManager.a(NetworkManager.java:148) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.ServerConnection.c(ServerConnection.java:77) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.MinecraftServer.v(MinecraftServer.java:703) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.DedicatedServer.v(DedicatedServer.java:273) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.MinecraftServer.u(MinecraftServer.java:566) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.MinecraftServer.run(MinecraftServer.java:472) [spigot.jar:git-Spigot-1366]
at net.minecraft.server.v1_7_R2.ThreadServerApplication.run(SourceFile:618) [spigot.jar:git-Spigot-1366]
Caused by: java.lang.NullPointerException
at io.github.dsh105.echopet.api.entity.pet.Pet.ownerRidePet(Pet.java:320) ~[?:?]
at io.github.dsh105.echopet.api.entity.pet.Pet.setAsHat(Pet.java:359) ~[?:?]
at io.github.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:238) ~[?:?]
at io.github.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:45) ~[?:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) ~[spigot.jar:git-Spigot-1366]
... 12 more
Also, some pets people can have as hats. But they can't remove the pet from their head with the hat command again. They must disable the pet via '/pet remove' to remove the pet as a hat.
I also have someone with the permission node 'echopet.pet.type.wither.*' but they can't enable the shield. Perhaps it is due to the errors above though. It informs them the following output;
[Pet] echopet.pet.type.wither.shield permission needed to perform that action