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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by PhanaticD
, 1 year ago
Unhandled exception executing 'pet mushroomcow' in com.dsh105.echopet.commands.util.DynamicPluginCommand(pet)
via GitHub by mibby
, 1 year ago
Unhandled exception executing 'pet hat' in com.dsh105.echopet.commands.util.DynamicPluginCommand(pet)
via GitHub by mibby
, 1 year ago
Unhandled exception executing 'pet hat' in com.dsh105.echopet.commands.util.DynamicPluginCommand(pet)
via GitHub by SBPrime
, 1 year ago
Unhandled exception executing 'awe reload' in org.primesoft.asyncworldedit.platform.bukkit.AweCommand(awe)
via GitHub by BlackBeltPanda
, 2 years ago
Unhandled exception executing 'pet human' in com.dsh105.echopet.commands.util.DynamicPluginCommand(pet)
via GitHub by blue89962
, 2 years ago
Unhandled exception executing 'pet human' in com.dsh105.echopet.commands.util.DynamicPluginCommand(pet)
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(EntityMushroomCowPet.java:96)
at com.dsh105.echopet.compat.nms.v1_9_R2.entity.type.EntityMushroomCowPet.getBukkitEntity(EntityMushroomCowPet.java:46)
at com.dsh105.echopet.compat.nms.v1_9_R2.entity.EntityInsentientPet.initiateEntityPet(EntityInsentientPet.java:99)
at com.dsh105.echopet.compat.nms.v1_9_R2.entity.EntityAgeablePet.initiateEntityPet(EntityAgeablePet.java:78)
at com.dsh105.echopet.compat.nms.v1_9_R2.entity.type.EntityMushroomCowPet.(EntityMushroomCowPet.java:91)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at com.dsh105.echopet.compat.api.registration.PetRegistrationEntry.createEntityPet(PetRegistrationEntry.java:91)
at com.dsh105.echopet.compat.api.entity.PetType.getNewEntityPetInstance(PetType.java:142)
at com.dsh105.echopet.compat.nms.v1_9_R2.NMSImpl.spawn(NMSImpl.java:104)
at com.dsh105.echopet.compat.nms.v1_9_R2.NMSImpl.spawn(NMSImpl.java:49)
at com.dsh105.echopet.api.pet.Pet.(Pet.java:73)
at com.dsh105.echopet.api.pet.type.MushroomCowPet.(MushroomCowPet.java:33)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at com.dsh105.echopet.compat.api.registration.PetRegistrationEntry.createFor(PetRegistrationEntry.java:77)
at com.dsh105.echopet.compat.api.registration.PetRegistry$1.call(PetRegistry.java:105)
at com.dsh105.echopet.compat.api.registration.PetRegistry$1.call(PetRegistry.java:102)
at com.dsh105.echopet.compat.api.registration.PetRegistry.performRegistration(PetRegistry.java:119)
at com.dsh105.echopet.compat.api.registration.PetRegistry.spawn(PetRegistry.java:102)
at com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:147)
at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:121)
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:152)
at org.bukkit.craftbukkit.v1_9_R2.CraftServer.dispatchCommand(CraftServer.java:665)
at net.minecraft.server.v1_9_R2.PlayerConnection.handleCommand(PlayerConnection.java:1387)
at net.minecraft.server.v1_9_R2.PlayerConnection.a(PlayerConnection.java:1192)
at net.minecraft.server.v1_9_R2.PacketPlayInChat.a(PacketPlayInChat.java:45)
at net.minecraft.server.v1_9_R2.PacketPlayInChat.a(PacketPlayInChat.java:5)
at net.minecraft.server.v1_9_R2.PlayerConnectionUtils$1.run(SourceFile:13)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at net.minecraft.server.v1_9_R2.SystemUtils.a(SourceFile:45)
at net.minecraft.server.v1_9_R2.MinecraftServer.D(MinecraftServer.java:786)
at net.minecraft.server.v1_9_R2.DedicatedServer.D(DedicatedServer.java:403)
at net.minecraft.server.v1_9_R2.MinecraftServer.C(MinecraftServer.java:723)
at net.minecraft.server.v1_9_R2.MinecraftServer.run(MinecraftServer.java:622)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.