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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via activemq-issues by Huang Wen Hui (JIRA), 1 year ago
org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQFrameDecoder2.handlerRemoved() has thrown an exception.
via GitHub by chocobo-green
, 2 years ago
com.mycode.handlerRemoved() has thrown an exception.
via Stack Overflow by gravetii
, 7 months ago
com.bsb.hike.mqtt.MqttMessageDecoder.handlerRemoved() has thrown an exception.
io.netty.util.IllegalReferenceCountException: refCnt: 0
at io.netty.buffer.AbstractByteBuf.ensureAccessible(AbstractByteBuf.java:1180)
at io.netty.buffer.AbstractByteBuf.checkReadableBytes(AbstractByteBuf.java:1163)
at io.netty.buffer.AbstractByteBuf.readBytes(AbstractByteBuf.java:655)
at io.netty.handler.codec.ByteToMessageDecoder.handlerRemoved(ByteToMessageDecoder.java:108)
at io.netty.channel.DefaultChannelPipeline.callHandlerRemoved0(DefaultChannelPipeline.java:526)
at io.netty.channel.DefaultChannelPipeline.callHandlerRemoved(DefaultChannelPipeline.java:520)
at io.netty.channel.DefaultChannelPipeline.remove0(DefaultChannelPipeline.java:350)
at io.netty.channel.AbstractChannelHandlerContext.teardown0(AbstractChannelHandlerContext.java:103)
at io.netty.channel.AbstractChannelHandlerContext.teardown(AbstractChannelHandlerContext.java:88)
at io.netty.channel.AbstractChannelHandlerContext.teardown0(AbstractChannelHandlerContext.java:105)
at io.netty.channel.AbstractChannelHandlerContext.teardown(AbstractChannelHandlerContext.java:88)
at io.netty.channel.DefaultChannelPipeline.teardownAll(DefaultChannelPipeline.java:753)
at io.netty.channel.DefaultChannelPipeline.fireChannelUnregistered(DefaultChannelPipeline.java:742)
at io.netty.channel.AbstractChannel$AbstractUnsafe$6.run(AbstractChannel.java:607)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:370)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:353)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.