io.netty.util.IllegalReferenceCountException: refCnt: 0, decrement: 1

GitHub | pengfei-xu | 9 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

    master version WrongUrlHandler

    GitHub | 9 months ago | pengfei-xu
    io.netty.util.IllegalReferenceCountException: refCnt: 0, decrement: 1
  2. 0

    使用中连接不上,希望大神给予帮助

    GitHub | 7 months ago | qiaoming1990321
    io.netty.util.IllegalReferenceCountException: refCnt: 0, decrement: 1

  1. iferca 2 times, last 2 months ago
1 unregistered visitors

Root Cause Analysis

  1. io.netty.util.IllegalReferenceCountException

    refCnt: 0, decrement: 1

    at io.netty.buffer.AbstractReferenceCountedByteBuf.release()
  2. Netty
    ReferenceCountUtil.release
    1. io.netty.buffer.AbstractReferenceCountedByteBuf.release(AbstractReferenceCountedByteBuf.java:111)[netty-buffer-4.1.1.Final.jar:4.1.1.Final]
    2. io.netty.handler.codec.http.HttpObjectAggregator$AggregatedFullHttpMessage.release(HttpObjectAggregator.java:316)[netty-codec-http-4.1.1.Final.jar:4.1.1.Final]
    3. io.netty.util.ReferenceCountUtil.release(ReferenceCountUtil.java:84)[netty-common-4.1.1.Final.jar:4.1.1.Final]
    3 frames
  3. NettySocketIO
    WrongUrlHandler.channelRead
    1. com.corundumstudio.socketio.handler.WrongUrlHandler.channelRead(WrongUrlHandler.java:54)[netty-socketio-1.7.12-Final.jar:na]
    1 frame
  4. Netty
    AbstractChannelHandlerContext.fireChannelRead
    1. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)[netty-transport-4.1.1.Final.jar:4.1.1.Final]
    2. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:334)[netty-transport-4.1.1.Final.jar:4.1.1.Final]
    3. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:326)[netty-transport-4.1.1.Final.jar:4.1.1.Final]
    3 frames
  5. NettySocketIO
    WebSocketTransport.channelRead
    1. com.corundumstudio.socketio.transport.WebSocketTransport.channelRead(WebSocketTransport.java:122)[netty-socketio-1.7.12-Final.jar:na]
    1 frame
  6. Netty
    AbstractChannelHandlerContext.fireChannelRead
    1. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)[netty-transport-4.1.1.Final.jar:4.1.1.Final]
    2. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:334)[netty-transport-4.1.1.Final.jar:4.1.1.Final]
    3. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:326)[netty-transport-4.1.1.Final.jar:4.1.1.Final]
    3 frames
  7. NettySocketIO
    PollingTransport.channelRead
    1. com.corundumstudio.socketio.transport.PollingTransport.channelRead(PollingTransport.java:110)[netty-socketio-1.7.12-Final.jar:na]
    1 frame
  8. Netty
    AbstractChannelHandlerContext.invokeChannelRead
    1. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)[netty-transport-4.1.1.Final.jar:4.1.1.Final]
    1 frame