EchoPet

EchoPet

882k Downloads

Crash

Thepyrocrafteur opened this issue ยท 6 comments

commented

This is a crash report from my server.(read upwards and I'm a frensh player,sorry for the traduction)

[12:25:39]  [Server thread/ERROR] : This crash report has been saved to: /var/directory_serv/servmc_39813/./crash-reports/crash-2014-04-21_12.25.39-server.txt
...     4 more
[Erreur Java]   net.minecraft.server.v1_7_R2.MinecraftServer.v(MinecraftServer.java:639) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-10-gcf5a547-b3034jnks]
[Erreur Java]   net.minecraft.server.v1_7_R2.WorldServer.tickEntities(WorldServer.java:480) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-10-gcf5a547-b3034jnks]
[Erreur Java]   net.minecraft.server.v1_7_R2.World.tickEntities(World.java:1214) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-10-gcf5a547-b3034jnks]
[Erreur Java]   net.minecraft.server.v1_7_R2.World.playerJoinedWorld(World.java:1326) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-10-gcf5a547-b3034jnks]
[Erreur Java]   net.minecraft.server.v1_7_R2.World.entityJoinedWorld(World.java:1345) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-10-gcf5a547-b3034jnks]
[Erreur Java]   com.dsh105.echopet.compat.nms.v1_7_R2.entity.EntityPet.h(EntityPet.java:442) ~[?:?]
[Erreur Java]   net.minecraft.server.v1_7_R2.EntityInsentient.h(EntityInsentient.java:150) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-10-gcf5a547-b3034jnks]
[Erreur Java]   net.minecraft.server.v1_7_R2.EntityLiving.h(EntityLiving.java:1304) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-10-gcf5a547-b3034jnks]
[Erreur Java]   net.minecraft.server.v1_7_R2.EntityInsentient.e(EntityInsentient.java:306) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-10-gcf5a547-b3034jnks]
[Erreur Java]   net.minecraft.server.v1_7_R2.EntityLiving.e(EntityLiving.java:1441) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-10-gcf5a547-b3034jnks]
[Erreur Java]   com.dsh105.echopet.compat.nms.v1_7_R2.entity.EntityPet.bm(EntityPet.java:227) ~[?:?]
[Erreur Java]   com.dsh105.echopet.compat.api.ai.PetGoalSelector.updateGoals(PetGoalSelector.java:150) ~[?:?]
[Erreur Java]   com.dsh105.echopet.compat.nms.v1_7_R2.entity.ai.PetGoalFollowOwner.shouldStart(PetGoalFollowOwner.java:66) ~[?:?]
[Erreur Java]   com.dsh105.echopet.compat.nms.v1_7_R2.entity.EntityPet.getPlayerOwner(EntityPet.java:127) ~[?:?]
[Erreur Java]   com.dsh105.echopet.api.pet.Pet.getOwner(Pet.java:94) ~[?:?]
Caused  by: java.lang.NoSuchMethodError: org.bukkit.Bukkit.getPlayer(Ljava/util/UUID;)Lorg/bukkit/entity/Player;
[Erreur Java]   net.minecraft.server.v1_7_R2.ThreadServerApplication.run(SourceFile:618) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-10-gcf5a547-b3034jnks]
[Erreur Java]   net.minecraft.server.v1_7_R2.MinecraftServer.run(MinecraftServer.java:459) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-10-gcf5a547-b3034jnks]
[Erreur Java]   net.minecraft.server.v1_7_R2.MinecraftServer.u(MinecraftServer.java:548) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-10-gcf5a547-b3034jnks]
[Erreur Java]   net.minecraft.server.v1_7_R2.DedicatedServer.v(DedicatedServer.java:250) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-10-gcf5a547-b3034jnks]
[Erreur Java]   net.minecraft.server.v1_7_R2.MinecraftServer.v(MinecraftServer.java:643) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-10-gcf5a547-b3034jnks]
net.minecraft.server.v1_7_R2.ReportedException:     Ticking entity
[12:25:39]  [Server thread/ERROR] : Encountered an unexpected exception
...     12 more
[Erreur Java]   org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-10-gcf5a547-b3034jnks]
[Erreur Java]   com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:45) ~[?:?]
[Erreur Java]   com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:343) ~[?:?]
[Erreur Java]   com.dsh105.echopet.api.PetManager.createPet(PetManager.java:124) ~[?:?]
[Erreur Java]   com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:140) ~[?:?]
[Erreur Java]   com.dsh105.echopet.compat.api.util.reflection.SafeConstructor.newInstance(SafeConstructor.java:57) ~[?:?]
[Erreur Java]   java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[?:1.7.0_25]
[Erreur Java]   sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.7.0_25]
[Erreur Java]   sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[?:1.7.0_25]
[Erreur Java]   sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.7.0_25]
[Erreur Java]   com.dsh105.echopet.api.pet.type.HumanPet.(HumanPet.java:37) ~[?:?]
[Erreur Java]   com.dsh105.echopet.api.pet.PacketPet.(PacketPet.java:30) ~[?:?]
[Erreur Java]   com.dsh105.echopet.api.pet.Pet.(Pet.java:60) ~[?:?]
[Erreur Java]   com.dsh105.echopet.api.pet.Pet.getNameOfOwner(Pet.java:103) ~[?:?]
[Erreur Java]   com.dsh105.echopet.api.pet.Pet.getOwner(Pet.java:94) ~[?:?]
Caused  by: java.lang.NoSuchMethodError: org.bukkit.Bukkit.getPlayer(Ljava/util/UUID;)Lorg/bukkit/entity/Player;
...     12 more
[Erreur Java]   org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-10-gcf5a547-b3034jnks]
[Erreur Java]   com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:45) ~[?:?]
[Erreur Java]   com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:343) ~[?:?]
[Erreur Java]   com.dsh105.echopet.api.PetManager.createPet(PetManager.java:124) ~[?:?]
[Erreur Java]   com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:140) ~[?:?]
[Erreur Java]   com.dsh105.echopet.compat.api.util.reflection.SafeConstructor.newInstance(SafeConstructor.java:57) ~[?:?]
[Erreur Java]   java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[?:1.7.0_25]
[Erreur Java]   sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.7.0_25]
[Erreur Java]   sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[?:1.7.0_25]
[Erreur Java]   sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.7.0_25]
Caused  by: java.lang.reflect.InvocationTargetException
...     12 more
[Erreur Java]   org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-10-gcf5a547-b3034jnks]
[Erreur Java]   com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:45) ~[?:?]
[Erreur Java]   com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:343) ~[?:?]
[Erreur Java]   com.dsh105.echopet.api.PetManager.createPet(PetManager.java:124) ~[?:?]
[Erreur Java]   com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:140) ~[?:?]
[Erreur Java]   com.dsh105.echopet.compat.api.util.reflection.SafeConstructor.newInstance(SafeConstructor.java:65) ~[?:?]
Caused  by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
[Erreur Java]   net.minecraft.server.v1_7_R2.ThreadServerApplication.run(SourceFile:618) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-10-gcf5a547-b3034jnks]
[Erreur Java]   net.minecraft.server.v1_7_R2.MinecraftServer.run(MinecraftServer.java:459) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-10-gcf5a547-b3034jnks]
[Erreur Java]   net.minecraft.server.v1_7_R2.MinecraftServer.u(MinecraftServer.java:548) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-10-gcf5a547-b3034jnks]
[Erreur Java]   net.minecraft.server.v1_7_R2.DedicatedServer.v(DedicatedServer.java:250) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-10-gcf5a547-b3034jnks]
[Erreur Java]   net.minecraft.server.v1_7_R2.MinecraftServer.v(MinecraftServer.java:657) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-10-gcf5a547-b3034jnks]
[Erreur Java]   net.minecraft.server.v1_7_R2.ServerConnection.c(SourceFile:134) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-10-gcf5a547-b3034jnks]
[Erreur Java]   net.minecraft.server.v1_7_R2.NetworkManager.a(NetworkManager.java:147) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-10-gcf5a547-b3034jnks]
[Erreur Java]   net.minecraft.server.v1_7_R2.PacketPlayInChat.handle(PacketPlayInChat.java:47) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-10-gcf5a547-b3034jnks]
[Erreur Java]   net.minecraft.server.v1_7_R2.PacketPlayInChat.a(PacketPlayInChat.java:28) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-10-gcf5a547-b3034jnks]
[Erreur Java]   net.minecraft.server.v1_7_R2.PlayerConnection.a(PlayerConnection.java:814) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-10-gcf5a547-b3034jnks]
[Erreur Java]   net.minecraft.server.v1_7_R2.PlayerConnection.handleCommand(PlayerConnection.java:952) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-10-gcf5a547-b3034jnks]
[Erreur Java]   org.bukkit.craftbukkit.v1_7_R2.CraftServer.dispatchCommand(CraftServer.java:696) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-10-gcf5a547-b3034jnks]
[Erreur Java]   org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:184) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-10-gcf5a547-b3034jnks]
org.bukkit.command.CommandException:    Unhandled exception executing 'pet human' in com.dsh105.echopet.commands.util.DynamicPluginCommand(pet)
[12:25:39]  [Server thread/ERROR] : null
[12:25:39]  [Server thread/INFO] : jojodu21560 issued server command: /pet human
commented

Are you using the latest Dev Build or MCPC+? Let me know what version of Bukkit and if you are using Dev Builds what build.

commented

Try updating your CraftBukkit to the latest build of the version you're using.

commented

I've also now implemented a workaround for this in EchoPet too ;)

commented

My server is on CraftBukkit 1.7.5-R0.1 #3034

commented

Have you tried using the latest dev build?

commented

Marking this as fixed now, as of that commit above.