io.netty.handler.codec.EncoderException: io.netty.util.IllegalReferenceCountException: refCnt: 0, decrement: 1), unnotified cause io.netty.handler.codec.EncoderException: io.netty.util.IllegalReferenceCountException: refCnt: 0, decrement: 1

GitHub | marenzo | 5 months ago
  1. 0

    Failure updating channel promise

    GitHub | 5 months ago | marenzo
    io.netty.handler.codec.EncoderException: io.netty.util.IllegalReferenceCountException: refCnt: 0, decrement: 1), unnotified cause io.netty.handler.codec.EncoderException: io.netty.util.IllegalReferenceCountException: refCnt: 0, decrement: 1
  2. 0

    GitHub comment 1218#234775970

    GitHub | 5 months ago | marenzo
    io.netty.handler.codec.EncoderException: io.netty.util.IllegalReferenceCountException: refCnt: 0, decrement: 1), unnotified cause io.netty.handler.codec.EncoderException: io.netty.util.IllegalReferenceCountException: refCnt: 0, decrement: 1
  3. 0

    IllegalReferenceCountException on retry is request has already been consumed

    GitHub | 2 months ago | slandelle
    io.netty.handler.codec.EncoderException: io.netty.util.IllegalReferenceCountException: refCnt: 0, decrement: 1), unnotified cause io.netty.handler.codec.EncoderException: io.netty.util.IllegalReferenceCountException: refCnt: 0, decrement: 1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    .IllegalStateException: unexpected message type: UnpooledUnsafeDirectByteBuf

    GitHub | 2 years ago | zcourts
    io.netty.handler.codec.EncoderException: java.lang.IllegalStateException: unexpected message type: UnpooledUnsafeDirectByteBuf
  6. 0

    HttpObjectEncoder exception after updating from 4.0.6.Final to 4.0.7.Final

    GitHub | 3 years ago | eugen-yakovets
    io.netty.handler.codec.EncoderException: java.lang.IllegalStateException: unexpected message type: CompositeByteBuf

    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, decrement: 1

      at io.netty.buffer.AbstractReferenceCountedByteBuf.release()
    2. Netty
      AbstractChannel.writeAndFlush
      1. io.netty.buffer.AbstractReferenceCountedByteBuf.release(AbstractReferenceCountedByteBuf.java:101)
      2. io.netty.handler.codec.http.DefaultFullHttpRequest.release(DefaultFullHttpRequest.java:77)
      3. io.netty.util.ReferenceCountUtil.release(ReferenceCountUtil.java:59)
      4. io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:90)
      5. io.netty.channel.CombinedChannelDuplexHandler.write(CombinedChannelDuplexHandler.java:345)
      6. io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:742)
      7. io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:734)
      8. io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:819)
      9. io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:727)
      10. io.netty.handler.stream.ChunkedWriteHandler.doFlush(ChunkedWriteHandler.java:306)
      11. io.netty.handler.stream.ChunkedWriteHandler.flush(ChunkedWriteHandler.java:139)
      12. io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:780)
      13. io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:806)
      14. io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:817)
      15. io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:798)
      16. io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1012)
      17. io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:261)
      17 frames
    3. org.asynchttpclient.netty
      SimpleChannelFutureListener.operationComplete
      1. org.asynchttpclient.netty.request.NettyRequestSender.writeRequest(NettyRequestSender.java:354)
      2. org.asynchttpclient.netty.channel.NettyConnectListener.writeRequest(NettyConnectListener.java:93)
      3. org.asynchttpclient.netty.channel.NettyConnectListener.onSuccess(NettyConnectListener.java:136)
      4. org.asynchttpclient.netty.request.NettyChannelConnector$1.onSuccess(NettyChannelConnector.java:92)
      5. org.asynchttpclient.netty.SimpleChannelFutureListener.operationComplete(SimpleChannelFutureListener.java:26)
      6. org.asynchttpclient.netty.SimpleChannelFutureListener.operationComplete(SimpleChannelFutureListener.java:20)
      6 frames
    4. Netty
      DefaultThreadFactory$DefaultRunnableDecorator.run
      1. io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:514)
      2. io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:507)
      3. io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:486)
      4. io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:427)
      5. io.netty.util.concurrent.DefaultPromise.trySuccess(DefaultPromise.java:111)
      6. io.netty.channel.DefaultChannelPromise.trySuccess(DefaultChannelPromise.java:82)
      7. io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.fulfillConnectPromise(AbstractNioChannel.java:251)
      8. io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:286)
      9. io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:589)
      10. io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:513)
      11. io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:427)
      12. io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:399)
      13. io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)
      14. io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
      14 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame