io.netty.channel.ChannelPipelineException

org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQFrameDecoder2.handlerRemoved() has thrown an exception.

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web28

Stack trace

  • io.netty.channel.ChannelPipelineException: org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQFrameDecoder2.handlerRemoved() has thrown an exception. at io.netty.channel.DefaultChannelPipeline.callHandlerRemoved0(DefaultChannelPipeline.java:529)[netty-all-4.0.20.Final.jar:4.0.20.Final] at io.netty.channel.DefaultChannelPipeline.callHandlerRemoved(DefaultChannelPipeline.java:520)[netty-all-4.0.20.Final.jar:4.0.20.Final] at io.netty.channel.DefaultChannelPipeline.remove0(DefaultChannelPipeline.java:350)[netty-all-4.0.20.Final.jar:4.0.20.Final] at io.netty.channel.AbstractChannelHandlerContext.teardown0(AbstractChannelHandlerContext.java:103)[netty-all-4.0.20.Final.jar:4.0.20.Final] at io.netty.channel.AbstractChannelHandlerContext.teardown(AbstractChannelHandlerContext.java:88)[netty-all-4.0.20.Final.jar:4.0.20.Final] at io.netty.channel.AbstractChannelHandlerContext.teardown0(AbstractChannelHandlerContext.java:105)[netty-all-4.0.20.Final.jar:4.0.20.Final] at io.netty.channel.AbstractChannelHandlerContext.teardown(AbstractChannelHandlerContext.java:88)[netty-all-4.0.20.Final.jar:4.0.20.Final] at io.netty.channel.DefaultChannelPipeline.teardownAll(DefaultChannelPipeline.java:753)[netty-all-4.0.20.Final.jar:4.0.20.Final] at io.netty.channel.DefaultChannelPipeline.fireChannelUnregistered(DefaultChannelPipeline.java:742)[netty-all-4.0.20.Final.jar:4.0.20.Final] at io.netty.channel.AbstractChannel$AbstractUnsafe$6.run(AbstractChannel.java:607)[netty-all-4.0.20.Final.jar:4.0.20.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:370)[netty-all-4.0.20.Final.jar:4.0.20.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:353)[netty-all-4.0.20.Final.jar:4.0.20.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)[netty-all-4.0.20.Final.jar:4.0.20.Final] at java.lang.Thread.run(Thread.java:745)[rt.jar:1.8.0_51] Caused by: io.netty.util.IllegalReferenceCountException: refCnt: 0 at io.netty.buffer.AbstractByteBuf.ensureAccessible(AbstractByteBuf.java:1180)[netty-all-4.0.20.Final.jar:4.0.20.Final] at io.netty.buffer.AbstractByteBuf.checkReadableBytes(AbstractByteBuf.java:1163)[netty-all-4.0.20.Final.jar:4.0.20.Final] at io.netty.buffer.AbstractByteBuf.readBytes(AbstractByteBuf.java:655)[netty-all-4.0.20.Final.jar:4.0.20.Final] at io.netty.handler.codec.ByteToMessageDecoder.handlerRemoved(ByteToMessageDecoder.java:108)[netty-all-4.0.20.Final.jar:4.0.20.Final] at io.netty.channel.DefaultChannelPipeline.callHandlerRemoved0(DefaultChannelPipeline.java:526)[netty-all-4.0.20.Final.jar:4.0.20.Final] ... 13 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

Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,