io.netty.handler.codec.EncoderException: java.lang.NoClassDefFoundError: net/minecraft/client/entity/EntityPlayerSP

GitHub | nini84 | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    refinedstorage-0.9

    GitHub | 6 months ago | nini84
    io.netty.handler.codec.EncoderException: java.lang.NoClassDefFoundError: net/minecraft/client/entity/EntityPlayerSP

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      net/minecraft/client/entity/EntityPlayerSP

      at refinedstorage.network.MessageGridItemUpdate.toBytes()
    2. refinedstorage.network
      MessageGridItemUpdate.toBytes
      1. refinedstorage.network.MessageGridItemUpdate.toBytes(MessageGridItemUpdate.java:40)[MessageGridItemUpdate.class:?]
      1 frame
    3. MC Forge
      FMLIndexedMessageToMessageCodec.encode
      1. net.minecraftforge.fml.common.network.simpleimpl.SimpleIndexedCodec.encodeInto(SimpleIndexedCodec.java:30)[SimpleIndexedCodec.class:?]
      2. net.minecraftforge.fml.common.network.simpleimpl.SimpleIndexedCodec.encodeInto(SimpleIndexedCodec.java:26)[SimpleIndexedCodec.class:?]
      3. net.minecraftforge.fml.common.network.FMLIndexedMessageToMessageCodec.encode(FMLIndexedMessageToMessageCodec.java:73)[FMLIndexedMessageToMessageCodec.class:?]
      3 frames
    4. Netty
      AbstractChannel.writeAndFlush
      1. io.netty.handler.codec.MessageToMessageCodec$1.encode(MessageToMessageCodec.java:67)[MessageToMessageCodec$1.class:?]
      2. io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:89)[MessageToMessageEncoder.class:?]
      3. io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116)[MessageToMessageCodec.class:?]
      4. io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658)[AbstractChannelHandlerContext.class:?]
      5. io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716)[AbstractChannelHandlerContext.class:?]
      6. io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706)[AbstractChannelHandlerContext.class:?]
      7. io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741)[AbstractChannelHandlerContext.class:?]
      8. io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895)[DefaultChannelPipeline.class:?]
      9. io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240)[AbstractChannel.class:?]
      9 frames
    5. MC Forge
      SimpleNetworkWrapper.sendTo
      1. net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:249)[SimpleNetworkWrapper.class:?]
      1 frame
    6. refinedstorage.tile
      TileController.sendItemStorageToClient
      1. refinedstorage.tile.TileController.sendItemStorageToClient(TileController.java:496)[TileController.class:?]
      1 frame
    7. refinedstorage.apiimpl.network
      WirelessGridHandler.onOpen
      1. refinedstorage.apiimpl.network.WirelessGridHandler.onOpen(WirelessGridHandler.java:65)[WirelessGridHandler.class:?]
      1 frame
    8. refinedstorage.item
      ItemWirelessGrid.func_77659_a
      1. refinedstorage.item.ItemWirelessGrid.func_77659_a(ItemWirelessGrid.java:147)[ItemWirelessGrid.class:?]
      1 frame
    9. Minecraft
      ItemStack.func_77957_a
      1. net.minecraft.item.ItemStack.func_77957_a(ItemStack.java:162)[adz.class:?]
      1 frame
    10. MC Server
      PlayerInteractionManager.func_187250_a
      1. net.minecraft.server.management.PlayerInteractionManager.func_187250_a(PlayerInteractionManager.java:365)[lv.class:?]
      1 frame
    11. Minecraft
      PacketThreadUtil$1.run
      1. net.minecraft.network.NetHandlerPlayServer.func_147346_a(NetHandlerPlayServer.java:710)[me.class:?]
      2. net.minecraft.network.play.client.CPacketPlayerTryUseItem.func_148833_a(SourceFile:32)[jk.class:?]
      3. net.minecraft.network.play.client.CPacketPlayerTryUseItem.func_148833_a(SourceFile:9)[jk.class:?]
      4. net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13)[fl$1.class:?]
      4 frames
    12. Java RT
      FutureTask.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[?:1.8.0_45-internal]
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)[?:1.8.0_45-internal]
      2 frames
    13. net.minecraft.util
      Util.func_181617_a
      1. net.minecraft.util.Util.func_181617_a(SourceFile:45)[h.class:?]
      1 frame
    14. MC Server
      MinecraftServer.run
      1. net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:668)[MinecraftServer.class:?]
      2. net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387)[ld.class:?]
      3. net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613)[MinecraftServer.class:?]
      4. net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)[MinecraftServer.class:?]
      4 frames
    15. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[?:1.8.0_45-internal]
      1 frame