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 Kovak
, 1 year ago
java.lang.String cannot be cast to java.lang.Byte
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Byte
at lycanite.lycanitesmobs.api.entity.EntityCreatureTameable.isTamed(EntityCreatureTameable.java:449)
at lycanite.lycanitesmobs.api.entity.EntityCreatureRideable.func_70612_e(EntityCreatureRideable.java:170)
at net.minecraft.entity.EntityLivingBase.func_70636_d(EntityLivingBase.java:2180)
at lycanite.lycanitesmobs.api.entity.EntityCreatureBase.func_70636_d(EntityCreatureBase.java:1302)
at lycanite.lycanitesmobs.api.entity.EntityCreatureAgeable.func_70636_d(EntityCreatureAgeable.java:106)
at lycanite.lycanitesmobs.api.entity.EntityCreatureTameable.func_70636_d(EntityCreatureTameable.java:177)
at lycanite.lycanitesmobs.api.entity.EntityCreatureRideable.func_70636_d(EntityCreatureRideable.java:59)
at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:1976)
at lycanite.lycanitesmobs.api.entity.EntityCreatureBase.func_70071_h_(EntityCreatureBase.java:1249)
at net.minecraft.world.World.func_72866_a(World.java:1951)
at net.minecraft.world.World.func_72870_g(World.java:1920)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1788)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1056)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:369)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)

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.