Internal error has occured
Tangosucka opened this issue · 5 comments
Running a server with MCPC+ which runs on craftbukkit 1.6.2 r1.1 using echo pet 2.0.9
I get this in console whenever trying to create a pet
SEVERE at com.github.dsh105.echopet.data.PetType.getNewPetInstance(PetType.java:200)
07.10 02:52:10 [Server] SEVERE at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
07.10 02:52:10 [Server] SEVERE at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
07.10 02:52:10 [Server] SEVERE at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
07.10 02:52:10 [Server] SEVERE at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
07.10 02:52:10 [Server] SEVERE at com.github.dsh105.echopet.entity.pet.sheep.SheepPet.(SheepPet.java:18)
07.10 02:52:10 [Server] SEVERE at com.github.dsh105.echopet.entity.pet.Pet.(Pet.java:48)
07.10 02:52:10 [Server] SEVERE at com.github.dsh105.echopet.entity.pet.Pet.createPet(Pet.java:158)
07.10 02:52:10 [Server] SEVERE at com.github.dsh105.echopet.data.PetType.getNewEntityInstance(PetType.java:187)
07.10 02:52:10 [Server] SEVERE at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
07.10 02:52:10 [Server] SEVERE at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
07.10 02:52:10 [Server] SEVERE at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
07.10 02:52:10 [Server] SEVERE at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
07.10 02:52:10 [Server] SEVERE java.lang.reflect.InvocationTargetException
All that line does is construct a new entity for the pet object, which is why I'm confused as to this error in the first place. What @SupahPOW31 said might be the case, unfortunately.
Well the error logs gives me this now. This is with latest from bukkit and latest MCPC+ which is 1.6.4 R2.1.
I was able to get this info from within echopets log. Hope this helps get closer to a resolution. This plugin works awesome on anything other than mcpc+
[03/12/2013]---[03:58:19]§4[§cEchoPet§4]§r §c[SEVERE] Failed to create new EntityLivingPet instance.
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at io.github.dsh105.echopet.entity.living.data.PetType.getNewEntityInstance(PetType.java:195)
at io.github.dsh105.echopet.entity.living.LivingPet.createPet(LivingPet.java:150)
at io.github.dsh105.echopet.entity.living.LivingPet.(LivingPet.java:44)
at io.github.dsh105.echopet.entity.living.type.pig.PigPet.(PigPet.java:15)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at io.github.dsh105.echopet.entity.living.data.PetType.getNewPetInstance(PetType.java:208)
at io.github.dsh105.echopet.data.PetHandler.createPet(PetHandler.java:120)
at io.github.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:314)
at io.github.dsh105.echopet.commands.CustomCommand.execute(CustomCommand.java:21)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192)
at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchCommand(CraftServer.java:532)
at net.minecraft.network.NetServerHandler.func_72566_d(NetServerHandler.java:1389)
at net.minecraft.network.NetServerHandler.chat(NetServerHandler.java:1253)
at net.minecraft.network.NetServerHandler.func_72481_a(NetServerHandler.java:1185)
at net.minecraft.network.packet.Packet3Chat.func_73279_a(Packet3Chat.java:68)
at net.minecraft.network.TcpConnection.func_74428_b(TcpConnection.java:470)
at net.minecraft.network.NetServerHandler.func_72570_d(NetServerHandler.java:233)
at net.minecraft.network.NetworkListenThread.func_71747_b(NetworkListenThread.java:54)
at net.minecraft.server.dedicated.DedicatedServerListenThread.func_71747_b(DedicatedServerListenThread.java:34)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:913)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:327)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:780)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:662)
at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
Caused by: java.lang.NoSuchMethodError: io.github.dsh105.echopet.entity.living.EntityLivingPet.getNavigation()Lnet/minecraft/pathfinding/PathNavigate;
at io.github.dsh105.echopet.entity.living.pathfinder.goals.PetGoalFloat.(PetGoalFloat.java:12)
at io.github.dsh105.echopet.entity.living.EntityLivingPet.setPathfinding(EntityLivingPet.java:98)
at io.github.dsh105.echopet.entity.living.EntityLivingPet.(EntityLivingPet.java:64)
at io.github.dsh105.echopet.entity.living.EntityAgeablePet.(EntityAgeablePet.java:12)
at io.github.dsh105.echopet.entity.living.type.pig.EntityPigPet.(EntityPigPet.java:14)
... 31 more
[03/12/2013]---[03:58:19]§4[§cEchoPet§4]§r §c[SEVERE] Failed to create new LivingPet instance [PIG].
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at io.github.dsh105.echopet.entity.living.data.PetType.getNewPetInstance(PetType.java:208)
at io.github.dsh105.echopet.data.PetHandler.createPet(PetHandler.java:120)
at io.github.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:314)
at io.github.dsh105.echopet.commands.CustomCommand.execute(CustomCommand.java:21)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192)
at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchCommand(CraftServer.java:532)
at net.minecraft.network.NetServerHandler.func_72566_d(NetServerHandler.java:1389)
at net.minecraft.network.NetServerHandler.chat(NetServerHandler.java:1253)
at net.minecraft.network.NetServerHandler.func_72481_a(NetServerHandler.java:1185)
at net.minecraft.network.packet.Packet3Chat.func_73279_a(Packet3Chat.java:68)
at net.minecraft.network.TcpConnection.func_74428_b(TcpConnection.java:470)
at net.minecraft.network.NetServerHandler.func_72570_d(NetServerHandler.java:233)
at net.minecraft.network.NetworkListenThread.func_71747_b(NetworkListenThread.java:54)
at net.minecraft.server.dedicated.DedicatedServerListenThread.func_71747_b(DedicatedServerListenThread.java:34)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:913)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:327)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:780)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:662)
at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
Caused by: java.lang.NullPointerException
at io.github.dsh105.echopet.entity.living.LivingPet.createPet(LivingPet.java:152)
at io.github.dsh105.echopet.entity.living.LivingPet.(LivingPet.java:44)
at io.github.dsh105.echopet.entity.living.type.pig.PigPet.(PigPet.java:15)
... 23 more
I'm not sure I can do anything about this sorry. The origin of the stack trace is just a call to the Pet class constructor, which shouldn't be causing issues :\