activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thoutekier <thomas.houtek...@barco.com>
Subject Re: wildfly-10.1.0.Final integration for MQTT not working
Date Wed, 13 Sep 2017 13:59:33 GMT
Martyn Taylor wrote
> This is using a very old version of Artemis.  I would recommend you bump
> the Artemis dependency version to at least the latest version of 1.x
>  (currently 1.5.5).

Hi Martyn,

I just tried that: I upgraded the artemis-implementation in Wildfly-10 to
1.5.5 (I took the artemis-module as it is packaged in wilfdly-11-RC1. I also
had to upgrade netty.io to 4.1.19 instead of 4.0.33 to make it work)
I hit the exact same error:

/Sep:13,15:55:11,656 WARNING (:Thread-2 (activemq-netty-threads):)
[io.netty.channel.DefaultChannelPipeline] An exceptionCaught() event was
fired, and it reached at the tail of the pipeline. It usually means the last
handler in the pipeline did not handle the exception.:
io.netty.handler.codec.DecoderException: java.lang.NullPointerException
	at
io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:442)
[netty-all-4.1.9.Final.jar:4.1.9.Final]
	at
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:248)
[netty-all-4.1.9.Final.jar:4.1.9.Final]
	at
org.apache.activemq.artemis.core.protocol.ProtocolHandler$ProtocolDecoder.channelRead(ProtocolHandler.java:128)
[artemis-server-1.5.5.jbossorg-007.jar:1.5.5.jbossorg-007]
	at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
[netty-all-4.1.9.Final.jar:4.1.9.Final]
	at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
[netty-all-4.1.9.Final.jar:4.1.9.Final]
	at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
[netty-all-4.1.9.Final.jar:4.1.9.Final]
	at
io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1334)
[netty-all-4.1.9.Final.jar:4.1.9.Final]
	at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
[netty-all-4.1.9.Final.jar:4.1.9.Final]
	at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
[netty-all-4.1.9.Final.jar:4.1.9.Final]
	at
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:926)
[netty-all-4.1.9.Final.jar:4.1.9.Final]
	at
io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:134)
[netty-all-4.1.9.Final.jar:4.1.9.Final]
	at
io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:624)
[netty-all-4.1.9.Final.jar:4.1.9.Final]
	at
io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:559)
[netty-all-4.1.9.Final.jar:4.1.9.Final]
	at
io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:476)
[netty-all-4.1.9.Final.jar:4.1.9.Final]
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438)
[netty-all-4.1.9.Final.jar:4.1.9.Final]
	at
io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
[netty-all-4.1.9.Final.jar:4.1.9.Final]
	at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_112]
Caused by: java.lang.NullPointerException
	at
org.apache.activemq.artemis.core.protocol.ProtocolHandler$ProtocolDecoder.decode(ProtocolHandler.java:181)
[artemis-server-1.5.5.jbossorg-007.jar:1.5.5.jbossorg-007]
	at
io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:411)
[netty-all-4.1.9.Final.jar:4.1.9.Final]
	... 16 more/

Any idea I can try next? Any suggestion is appreciated. Thanks!



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Mime
View raw message