io.netty.handler.codec.DecoderException

java.lang.ClassCastException: org.ethereum.util.RLPItem cannot be cast to org.ethereum.util.RLPList

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 web36

  • via GitHub by zilm13
    , 9 months ago
    java.lang.ClassCastException: org.ethereum.util.RLPItem cannot be cast to org.ethereum.util.RLPList
  • via GitHub by ProsperCraft
    , 1 year ago
    java.lang.ClassCastException: net.minecraft.entity.item.EntityMinecartChest cannot be cast to net.minecraft.entity.EntityLivingBase
  • java.lang.ClassCastException: net.minecraft.entity.item.EntityItem cannot be cast to net.minecraft.entity.EntityLivingBase
  • Stack trace

    • io.netty.handler.codec.DecoderException: java.lang.ClassCastException: org.ethereum.util.RLPItem cannot be cast to org.ethereum.util.RLPList at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:99) at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:244) at org.ethereum.net.rlpx.NettyByteToMessageCodec.channelRead(NettyByteToMessageCodec.java:56) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294) at io.netty.handler.timeout.ReadTimeoutHandler.channelRead(ReadTimeoutHandler.java:152) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354) at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:110) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ClassCastException: org.ethereum.util.RLPItem cannot be cast to org.ethereum.util.RLPList at org.ethereum.core.Block.parseRLP(Block.java:133) at org.ethereum.core.Block.getShortHash(Block.java:445) at org.ethereum.net.eth.message.NewBlockMessage.toString(NewBlockMessage.java:81) at org.ethereum.net.rlpx.MessageCodec.decodeMessage(MessageCodec.java:139) at org.ethereum.net.rlpx.MessageCodec.decode(MessageCodec.java:87) at org.ethereum.net.rlpx.MessageCodec.decode(MessageCodec.java:37) at io.netty.handler.codec.MessageToMessageCodec$2.decode(MessageToMessageCodec.java:81) at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:89) ... 18 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.