java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Byte

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by UnknownGuy28
, 1 year ago
java.lang.String cannot be cast to java.lang.Byte
via GitHub by billyoz
, 1 year ago
java.lang.Integer cannot be cast to java.lang.Byte
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Byte
at net.minecraft.entity.DataWatcher.getWatchableObjectByte(DataWatcher.java:90)
at net.minecraft.entity.Entity.getFlag(Entity.java:2230)
at net.minecraft.entity.Entity.isSprinting(Entity.java:2183)
at net.minecraft.entity.Entity.func_174830_Y(Entity.java:1179)
at net.minecraft.entity.Entity.onEntityUpdate(Entity.java:472)
at net.minecraft.entity.EntityLivingBase.onEntityUpdate(EntityLivingBase.java:268)
at net.minecraft.entity.EntityLiving.onEntityUpdate(EntityLiving.java:201)
at net.minecraft.entity.Entity.onUpdate(Entity.java:398)
at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:1793)
at net.minecraft.entity.monster.EntityMob.onUpdate(EntityMob.java:62)
at net.minecraft.entity.monster.EntityZombie.onUpdate(EntityZombie.java:315)
at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:1884)
at net.minecraft.world.World.updateEntity(World.java:1853)
at net.minecraft.client.Minecraft.runTick(Minecraft.java:2305)
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1200)
at net.minecraft.client.Minecraft.run(Minecraft.java:380)

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.

Write tip

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