io.netty.handler.codec.DecoderException: io.netty.util.IllegalReferenceCountException: refCnt: 0

GitHub | JuKu | 5 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Netty 4.0.41.Final io.netty.handler.codec.DecoderException: io.netty.util.IllegalReferenceCountException: refCnt: 0

    GitHub | 5 months ago | JuKu
    io.netty.handler.codec.DecoderException: io.netty.util.IllegalReferenceCountException: refCnt: 0
  2. 0

    GitHub comment 4435#154080641

    GitHub | 1 year ago | doom369
    io.netty.handler.codec.DecoderException: io.netty.util.IllegalReferenceCountException: refCnt: 0
  3. 0

    Weird websocket client behaviour with pooled allocator

    GitHub | 1 year ago | lexek
    io.netty.handler.codec.DecoderException: io.netty.util.IllegalReferenceCountException: refCnt: 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to send response to a request received by my Netty Server from the Codec encode in the channel pipeline?

    Stack Overflow | 2 years ago | chhil
    io.netty.handler.codec.DecoderException: ByteToMessageCodec$1.decode() did not read anything but decoded a message.
  6. 0

    push message have error,what can I do ?help

    GitHub | 2 years ago | blogsit
    io.netty.handler.codec.DecoderException: HttpRequestDecoder.decode() did not read anything but decoded a message.

  1. aldrinleal 12 times, last 3 weeks ago
3 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. io.netty.util.IllegalReferenceCountException

    refCnt: 0

    at io.netty.buffer.AbstractByteBuf.ensureAccessible()
  2. Netty
    DefaultThreadFactory$DefaultRunnableDecorator.run
    1. io.netty.buffer.AbstractByteBuf.ensureAccessible(AbstractByteBuf.java:1191)
    2. io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:866)
    3. io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:859)
    4. io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:849)
    5. io.netty.buffer.WrappedByteBuf.writeBytes(WrappedByteBuf.java:607)
    6. io.netty.buffer.AdvancedLeakAwareByteBuf.writeBytes(AdvancedLeakAwareByteBuf.java:570)
    7. io.netty.handler.codec.ByteToMessageDecoder$1.cumulate(ByteToMessageDecoder.java:92)
    8. io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:246)
    9. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    10. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    11. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    12. io.netty.handler.logging.LoggingHandler.channelRead(LoggingHandler.java:240)
    13. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    14. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    15. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    16. io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)
    17. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    18. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    19. io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)
    20. io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
    21. io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:572)
    22. io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:513)
    23. io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:427)
    24. io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:399)
    25. io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)
    26. io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
    26 frames
  3. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame