java.lang.ClassCastException: org.apache.activemq.artemis.core.protocol.core.impl.wireformat.SessionSendLargeMessage cannot be cast to org.apache.activemq.artemis.core.protocol.core.impl.wireformat.MessagePacket


Solutions on the web4

Solution icon of apache
org.apache.activemq.artemis.core.protocol.core.impl.wireformat.SessionSendLargeMessage cannot be cast to org.apache.activemq.artemis.core.protocol.core.impl.wireformat.MessagePacket

Solution icon of apache
org.apache.activemq.artemis.core.protocol.core.impl.wireformat.SessionSendLargeMessage cannot be cast to org.apache.activemq.artemis.core.protocol.core.impl.wireformat.MessagePacket

Solution icon of apache
org.apache.activemq.artemis.core.protocol.core.impl.wireformat.SessionSendLargeMessage cannot be cast to org.apache.activemq.artemis.core.protocol.core.impl.wireformat.MessagePacket

Solution icon of apache
org.apache.activemq.artemis.core.protocol.core.impl.wireformat.SessionSendLargeMessage cannot be cast to org.apache.activemq.artemis.core.protocol.core.impl.wireformat.MessagePacket

Stack trace

java.lang.ClassCastException: org.apache.activemq.artemis.core.protocol.core.impl.wireformat.SessionSendLargeMessage cannot be cast to org.apache.activemq.artemis.core.protocol.core.impl.wireformat.MessagePacket
	at org.apache.activemq.artemis.core.protocol.hornetq.HQPropertiesConversionInterceptor.intercept(HQPropertiesConversionInterceptor.java:71)[artemis-hornetq-protocol-1.1.0.jar:1.1.0]
	at org.apache.activemq.artemis.core.protocol.hornetq.HQPropertiesConversionInterceptor.intercept(HQPropertiesConversionInterceptor.java:34)[artemis-hornetq-protocol-1.1.0.jar:1.1.0]
	at org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.invokeInterceptors(ChannelImpl.java:382)[artemis-core-client-1.1.0.jar:1.1.0]
	at org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.doBufferReceived(RemotingConnectionImpl.java:341)[artemis-core-client-1.1.0.jar:1.1.0]
	at org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:331)[artemis-core-client-1.1.0.jar:1.1.0]
	at org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:595)[artemis-server-1.1.0.jar:1.1.0]
	at org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQChannelHandler.channelRead(ActiveMQChannelHandler.java:68)[artemis-core-client-1.1.0.jar:1.1.0]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)[netty-all-4.0.30.Final.jar:4.0.30.Final]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)[netty-all-4.0.30.Final.jar:4.0.30.Final]
	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:244)[netty-all-4.0.30.Final.jar:4.0.30.Final]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)[netty-all-4.0.30.Final.jar:4.0.30.Final]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)[netty-all-4.0.30.Final.jar:4.0.30.Final]
	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846)[netty-all-4.0.30.Final.jar:4.0.30.Final]
	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)[netty-all-4.0.30.Final.jar:4.0.30.Final]
	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)[netty-all-4.0.30.Final.jar:4.0.30.Final]
	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)[netty-all-4.0.30.Final.jar:4.0.30.Final]
	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)[netty-all-4.0.30.Final.jar:4.0.30.Final]
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)[netty-all-4.0.30.Final.jar:4.0.30.Final]
	at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:110)[netty-all-4.0.30.Final.jar:4.0.30.Final]
	at java.lang.Thread.run(Thread.java:745)[rt.jar:1.8.0_65]

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

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.