EchoPet

EchoPet

882k Downloads

Could not pass event PlayerRespawnEvent to EchoPet

mibby opened this issue ยท 0 comments

commented

Dev 322.

[19:45:38] [Server thread/ERROR]: Could not pass event PlayerRespawnEvent to EchoPet v2.2.5-SNAPSHOT
org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:320) ~[spigot.jar:git-Spigot-1328]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-1328]
    at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) ~[spigot.jar:git-Spigot-1328]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-1328]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:472) [spigot.jar:git-Spigot-1328]
    at net.minecraft.server.v1_7_R1.PlayerList.moveToWorld(PlayerList.java:469) [spigot.jar:git-Spigot-1328]
    at net.minecraft.server.v1_7_R1.PlayerList.moveToWorld(PlayerList.java:408) [spigot.jar:git-Spigot-1328]
    at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:1180) [spigot.jar:git-Spigot-1328]
    at net.minecraft.server.v1_7_R1.PacketPlayInClientCommand.a(SourceFile:50) [spigot.jar:git-Spigot-1328]
    at net.minecraft.server.v1_7_R1.PacketPlayInClientCommand.handle(SourceFile:8) [spigot.jar:git-Spigot-1328]
    at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:147) [spigot.jar:git-Spigot-1328]
    at net.minecraft.server.v1_7_R1.ServerConnection.c(ServerConnection.java:77) [spigot.jar:git-Spigot-1328]
    at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:700) [spigot.jar:git-Spigot-1328]
    at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:273) [spigot.jar:git-Spigot-1328]
    at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:562) [spigot.jar:git-Spigot-1328]
    at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:469) [spigot.jar:git-Spigot-1328]
    at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [spigot.jar:git-Spigot-1328]
Caused by: java.lang.NullPointerException
    at io.github.dsh105.echopet.entity.Pet.setPetName(Pet.java:212) ~[?:?]
    at io.github.dsh105.echopet.entity.Pet.setPetName(Pet.java:194) ~[?:?]
    at io.github.dsh105.echopet.data.PetHandler.loadRiderFromFile(PetHandler.java:298) ~[?:?]
    at io.github.dsh105.echopet.data.PetHandler.createPetFromFile(PetHandler.java:272) ~[?:?]
    at io.github.dsh105.echopet.data.PetHandler.loadPets(PetHandler.java:82) ~[?:?]
    at io.github.dsh105.echopet.listeners.PetOwnerListener.onPlayerRespawn(PetOwnerListener.java:233) ~[?:?]
    at sun.reflect.GeneratedMethodAccessor601.invoke(Unknown Source) ~[?:?]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:318) ~[spigot.jar:git-Spigot-1328]
    ... 16 more