io.netty.handler.codec.EncoderException

java.lang.NoClassDefFoundError: net/minecraft/client/entity/EntityPlayerSP

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web3

  • via GitHub by nini84
    , 9 months ago
    java.lang.NoClassDefFoundError: net/minecraft/client/entity/EntityPlayerSP
  • via GitHub by vaibhavswarnkar
    , 7 months ago
    java.lang.NoClassDefFoundError: Could not initialize class org.xerial.snappy.Snappy
  • Stack trace

    • io.netty.handler.codec.EncoderException: java.lang.NoClassDefFoundError: net/minecraft/client/entity/EntityPlayerSP at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107)[MessageToMessageEncoder.class:?] at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116)[MessageToMessageCodec.class:?] at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658)[AbstractChannelHandlerContext.class:?] at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716)[AbstractChannelHandlerContext.class:?] at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706)[AbstractChannelHandlerContext.class:?] at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741)[AbstractChannelHandlerContext.class:?] at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895)[DefaultChannelPipeline.class:?] at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240)[AbstractChannel.class:?] at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:249)[SimpleNetworkWrapper.class:?] at refinedstorage.tile.TileController.sendItemStorageToClient(TileController.java:496)[TileController.class:?] at refinedstorage.apiimpl.network.WirelessGridHandler.onOpen(WirelessGridHandler.java:65)[WirelessGridHandler.class:?] at refinedstorage.item.ItemWirelessGrid.func_77659_a(ItemWirelessGrid.java:147)[ItemWirelessGrid.class:?] at net.minecraft.item.ItemStack.func_77957_a(ItemStack.java:162)[adz.class:?] at net.minecraft.server.management.PlayerInteractionManager.func_187250_a(PlayerInteractionManager.java:365)[lv.class:?] at net.minecraft.network.NetHandlerPlayServer.func_147346_a(NetHandlerPlayServer.java:710)[me.class:?] at net.minecraft.network.play.client.CPacketPlayerTryUseItem.func_148833_a(SourceFile:32)[jk.class:?] at net.minecraft.network.play.client.CPacketPlayerTryUseItem.func_148833_a(SourceFile:9)[jk.class:?] at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13)[fl$1.class:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[?:1.8.0_45-internal] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[?:1.8.0_45-internal] at net.minecraft.util.Util.func_181617_a(SourceFile:45)[h.class:?] at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:668)[MinecraftServer.class:?] at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387)[ld.class:?] at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613)[MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)[MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:745)[?:1.8.0_45-internal] Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/entity/EntityPlayerSP at refinedstorage.network.MessageGridItemUpdate.toBytes(MessageGridItemUpdate.java:40)[MessageGridItemUpdate.class:?] at net.minecraftforge.fml.common.network.simpleimpl.SimpleIndexedCodec.encodeInto(SimpleIndexedCodec.java:30)[SimpleIndexedCodec.class:?] at net.minecraftforge.fml.common.network.simpleimpl.SimpleIndexedCodec.encodeInto(SimpleIndexedCodec.java:26)[SimpleIndexedCodec.class:?] at net.minecraftforge.fml.common.network.FMLIndexedMessageToMessageCodec.encode(FMLIndexedMessageToMessageCodec.java:73)[FMLIndexedMessageToMessageCodec.class:?] at io.netty.handler.codec.MessageToMessageCodec$1.encode(MessageToMessageCodec.java:67)[MessageToMessageCodec$1.class:?] at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:89)[MessageToMessageEncoder.class:?] ... 25 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.