org.bukkit.command.CommandException: Unhandled exception executing 'pet mushroomcow' in com.dsh105.echopet.commands.util.DynamicPluginCommand(pet)

GitHub | PhanaticD | 5 months ago
  1. 0

    errror when spawning mushroomcow

    GitHub | 5 months ago | PhanaticD
    org.bukkit.command.CommandException: Unhandled exception executing 'pet mushroomcow' in com.dsh105.echopet.commands.util.DynamicPluginCommand(pet)
  2. 0

    GitHub comment 60#219237317

    GitHub | 7 months ago | mibby
    java.lang.ClassCastException: org.bukkit.craftbukkit.v1_9_R2.entity.CraftCreature cannot be cast to org.bukkit.entity.Player
  3. 0

    Memcached Java客户端2.6.1发布 - 编程语言 - ITeye资讯

    iteye.com | 1 year ago
    java.lang.ClassCastException: cannot be cast to
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ClassCastException in HandleFactory.getPkgFragmentRoot (355)

    Eclipse Bugzilla | 1 year ago | error-reports-inbox
    java.lang.ClassCastException: cannot be cast to org.eclipse.wst.jsdt.internal.core.PackageFragmentRoot
  6. 0

    Bug ID: JDK-6499662 "java.lang.ClassCastException: cannot be cast to java.lang.String" happens from time to time

    sun.com | 4 months ago
    java.lang.ClassCastException: cannot be cast to java.lang.String

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.bukkit.craftbukkit.v1_9_R2.entity.CraftMushroomCow cannot be cast to org.bukkit.craftbukkit.v1_9_R2.entity.CraftChicken

      at com.dsh105.echopet.compat.nms.v1_9_R2.entity.type.EntityMushroomCowPet.getBukkitEntity()
    2. com.dsh105.echopet
      EntityMushroomCowPet.<init>
      1. com.dsh105.echopet.compat.nms.v1_9_R2.entity.type.EntityMushroomCowPet.getBukkitEntity(EntityMushroomCowPet.java:96)[?:?]
      2. com.dsh105.echopet.compat.nms.v1_9_R2.entity.type.EntityMushroomCowPet.getBukkitEntity(EntityMushroomCowPet.java:46)[?:?]
      3. com.dsh105.echopet.compat.nms.v1_9_R2.entity.EntityInsentientPet.initiateEntityPet(EntityInsentientPet.java:99)[?:?]
      4. com.dsh105.echopet.compat.nms.v1_9_R2.entity.EntityAgeablePet.initiateEntityPet(EntityAgeablePet.java:78)[?:?]
      5. com.dsh105.echopet.compat.nms.v1_9_R2.entity.type.EntityMushroomCowPet.<init>(EntityMushroomCowPet.java:91)[?:?]
      5 frames
    3. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[?:1.8.0_91]
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)[?:1.8.0_91]
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[?:1.8.0_91]
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)[?:1.8.0_91]
      4 frames
    4. com.dsh105.echopet
      MushroomCowPet.<init>
      1. com.dsh105.echopet.compat.api.registration.PetRegistrationEntry.createEntityPet(PetRegistrationEntry.java:91)[?:?]
      2. com.dsh105.echopet.compat.api.entity.PetType.getNewEntityPetInstance(PetType.java:142)[?:?]
      3. com.dsh105.echopet.compat.nms.v1_9_R2.NMSImpl.spawn(NMSImpl.java:104)[?:?]
      4. com.dsh105.echopet.compat.nms.v1_9_R2.NMSImpl.spawn(NMSImpl.java:49)[?:?]
      5. com.dsh105.echopet.api.pet.Pet.<init>(Pet.java:73)[?:?]
      6. com.dsh105.echopet.api.pet.type.MushroomCowPet.<init>(MushroomCowPet.java:33)[?:?]
      6 frames
    5. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[?:1.8.0_91]
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)[?:1.8.0_91]
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[?:1.8.0_91]
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)[?:1.8.0_91]
      4 frames
    6. com.dsh105.echopet
      DynamicPluginCommand.execute
      1. com.dsh105.echopet.compat.api.registration.PetRegistrationEntry.createFor(PetRegistrationEntry.java:77)[?:?]
      2. com.dsh105.echopet.compat.api.registration.PetRegistry$1.call(PetRegistry.java:105)[?:?]
      3. com.dsh105.echopet.compat.api.registration.PetRegistry$1.call(PetRegistry.java:102)[?:?]
      4. com.dsh105.echopet.compat.api.registration.PetRegistry.performRegistration(PetRegistry.java:119)[?:?]
      5. com.dsh105.echopet.compat.api.registration.PetRegistry.spawn(PetRegistry.java:102)[?:?]
      6. com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:147)[?:?]
      7. com.dsh105.echopet.api.PetManager.createPet(PetManager.java:121)[?:?]
      8. com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:411)[?:?]
      9. com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:46)[?:?]
      9 frames
    7. Bukkit
      SimpleCommandMap.dispatch
      1. org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:152)[patched_1.9.4.jar:git-Paper-772]
      1 frame
    8. org.bukkit.craftbukkit
      CraftServer.dispatchCommand
      1. org.bukkit.craftbukkit.v1_9_R2.CraftServer.dispatchCommand(CraftServer.java:665)[patched_1.9.4.jar:git-Paper-772]
      1 frame
    9. net.minecraft.server
      PlayerConnectionUtils$1.run
      1. net.minecraft.server.v1_9_R2.PlayerConnection.handleCommand(PlayerConnection.java:1387)[patched_1.9.4.jar:git-Paper-772]
      2. net.minecraft.server.v1_9_R2.PlayerConnection.a(PlayerConnection.java:1192)[patched_1.9.4.jar:git-Paper-772]
      3. net.minecraft.server.v1_9_R2.PacketPlayInChat.a(PacketPlayInChat.java:45)[patched_1.9.4.jar:git-Paper-772]
      4. net.minecraft.server.v1_9_R2.PacketPlayInChat.a(PacketPlayInChat.java:5)[patched_1.9.4.jar:git-Paper-772]
      5. net.minecraft.server.v1_9_R2.PlayerConnectionUtils$1.run(SourceFile:13)[patched_1.9.4.jar:git-Paper-772]
      5 frames
    10. Java RT
      FutureTask.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[?:1.8.0_91]
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)[?:1.8.0_91]
      2 frames
    11. net.minecraft.server
      MinecraftServer.run
      1. net.minecraft.server.v1_9_R2.SystemUtils.a(SourceFile:45)[patched_1.9.4.jar:git-Paper-772]
      2. net.minecraft.server.v1_9_R2.MinecraftServer.D(MinecraftServer.java:786)[patched_1.9.4.jar:git-Paper-772]
      3. net.minecraft.server.v1_9_R2.DedicatedServer.D(DedicatedServer.java:403)[patched_1.9.4.jar:git-Paper-772]
      4. net.minecraft.server.v1_9_R2.MinecraftServer.C(MinecraftServer.java:723)[patched_1.9.4.jar:git-Paper-772]
      5. net.minecraft.server.v1_9_R2.MinecraftServer.run(MinecraftServer.java:622)[patched_1.9.4.jar:git-Paper-772]
      5 frames
    12. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[?:1.8.0_91]
      1 frame