org.bukkit.command.CommandException

Unhandled exception executing 'pet bat' in com.dsh105.echopet.commands.util.DynamicPluginCommand(pet)

Solutions on the web1026

  • via GitHub by davidrdc
    , 1 year ago
    Unhandled exception executing 'pet bat' in com.dsh105.echopet.commands.util.DynamicPluginCommand(pet)
  • via GitHub by Townville
    , 1 year ago
    Unhandled exception executing 'pet bat' in com.dsh105.echopet.commands.util.DynamicPluginCommand(pet)
  • Unhandled exception executing 'pet bat' in com.dsh105.echopet.commands.util.DynamicPluginCommand(pet)
  • Stack trace

    • 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:150)[patched.jar:git-TacoSpigot-"65fd35f"] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:666)[patched.jar:git-TacoSpigot-"65fd35f"] at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1194)[patched.jar:git-TacoSpigot-"65fd35f"] at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1006)[patched.jar:git-TacoSpigot-"65fd35f"] at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45)[patched.jar:git-TacoSpigot-"65fd35f"] at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1)[patched.jar:git-TacoSpigot-"65fd35f"] at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13)[patched.jar:git-TacoSpigot-"65fd35f"] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[?:1.8.0_111] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[?:1.8.0_111] at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44)[patched.jar:git-TacoSpigot-"65fd35f"] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:774)[patched.jar:git-TacoSpigot-"65fd35f"] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378)[patched.jar:git-TacoSpigot-"65fd35f"] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713)[patched.jar:git-TacoSpigot-"65fd35f"] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616)[patched.jar:git-TacoSpigot-"65fd35f"] at java.lang.Thread.run(Thread.java:745)[?:1.8.0_111] Caused by: com.dsh105.echopet.compat.api.registration.PetRegistrationException: java.lang.IllegalStateException: Failed to create pet object for Player12345 at com.dsh105.echopet.registration.PetRegistryImpl.performRegistration(PetRegistryImpl.java:142)[?:?] at com.dsh105.echopet.registration.PetRegistryImpl.spawn(PetRegistryImpl.java:128)[?:?] at com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:157)[?:?] at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:123)[?:?] at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:411)[?:?] at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:46)[?:?] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:143)[patched.jar:git-TacoSpigot-"65fd35f"] ... 14 more Caused by: java.lang.IllegalStateException: Failed to create pet object for Player12345 at com.dsh105.echopet.compat.api.registration.PetRegistrationEntry.createFor(PetRegistrationEntry.java:89)[?:?] at com.dsh105.echopet.registration.PetRegistryImpl.lambda$spawn$10(PetRegistryImpl.java:128)[?:?] at com.dsh105.echopet.registration.PetRegistryImpl.performRegistration(PetRegistryImpl.java:140)[?:?] ... 20 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[?:1.8.0_111] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)[?:1.8.0_111] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[?:1.8.0_111] at java.lang.reflect.Constructor.newInstance(Constructor.java:423)[?:1.8.0_111] at com.dsh105.echopet.compat.api.registration.PetRegistrationEntry.createFor(PetRegistrationEntry.java:87)[?:?] ... 22 more Caused by: java.lang.AssertionError: Unexpected number of fields to clear: [] at net.techcable.sonarpet.nms.versions.v1_8_R3.NMSEntityInsentientImpl.clearGoals(NMSEntityInsentientImpl.java:57)[?:?] at net.techcable.sonarpet.nms.entity.EntityInsentientPet.setPathfinding(EntityInsentientPet.java:161)[?:?] at net.techcable.sonarpet.nms.entity.EntityInsentientPet.initiateEntityPet(EntityInsentientPet.java:75)[?:?] at com.dsh105.echopet.registration.PetRegistryImpl.spawnEntity(PetRegistryImpl.java:197)[?:?] at com.dsh105.echopet.api.pet.Pet.<init>(Pet.java:68)[?:?] at com.dsh105.echopet.api.pet.type.BatPet.<init>(BatPet.java:33)[?:?] ... 27 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.