java.lang.ClassCastException: net.minecraft.client.entity.EntityClientPlayerMP cannot be cast to net.minecraft.entity.player.EntityPlayerMP

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 minecraftuser.jp by Unknown author, 1 year ago
net.minecraft.client.entity.EntityClientPlayerMP cannot be cast to net.minecraft.entity.player.EntityPlayerMP
java.lang.ClassCastException: net.minecraft.client.entity.EntityClientPlayerMP cannot be cast to net.minecraft.entity.player.EntityPlayerMP
at shift.mceconomy2.event.MPManager.loadProxyData(MPManager.java:119)
at shift.mceconomy2.event.CommonEventManager.onEntityJoinWorld(CommonEventManager.java:32)
at cpw.mods.fml.common.eventhandler.ASMEventHandler_24_CommonEventManager_onEntityJoinWorld_EntityJoinWorldEvent.invoke(.dynamic)
at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
at net.minecraft.client.multiplayer.WorldClient.func_72838_d(WorldClient.java:159)
at net.minecraft.client.Minecraft.func_71353_a(Minecraft.java:2220)
at net.minecraft.client.network.NetHandlerPlayClient.func_147282_a(NetHandlerPlayClient.java:239)
at com.mumfrey.liteloader.client.PacketEventsClient.handlePacket(PacketEventsClient.java:106)
at com.mumfrey.liteloader.core.PacketEvents.handlePacketEvent(PacketEvents.java:179)
at com.mumfrey.liteloader.core.PacketEvents.handlePacket(PacketEvents.java:134)
at com.mumfrey.liteloader.core.PacketEvents.handlePacket(PacketEvents.java:129)
at com.mumfrey.liteloader.core.event.EventProxy$2.$event0002b(Unknown Source)
at net.minecraft.network.play.server.S01PacketJoinGame.func_148833_a(SourceFile)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:2050)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:962)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:887)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)

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.