[ 
https://issues.apache.org/jira/browse/ARTEMIS-236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

clebert suconic updated ARTEMIS-236:
------------------------------------
    Fix Version/s: 1.1.1

> Improve Legacy support on older migrating clients
> -------------------------------------------------
>
>                 Key: ARTEMIS-236
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-236
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>            Reporter: Howard Nguyen
>            Assignee: clebert suconic
>             Fix For: 1.1.1
>
>
> On connect,
> Client repeatedly log  (ip is removed)
> {code}
> 2015-09-29 17:20:35,750 WARN  
> [org.hornetq.core.protocol.core.impl.RemotingConnectionImpl] (Thread-36 
> (HornetQ-client-global-threads-1087057800)) Connection failure has been 
> detected: Did not receive data from server for 
> org.hornetq.core.remoting.impl.netty.NettyConnection@2a864afa[local= 
> /x.x.x.x:53907, remote=/y.y.y.y:5445] [code=3]
> {code}
> Server repeatedly log
> {code}
> 17:12:07,012 WARNING [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:358)
>  [netty-all-4.0.30.Final.jar:4.0.30.Final]
>         at 
> io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:230)
>  [netty-all-4.0.30.Final.jar:4.0.30.Final]
>         at 
> org.apache.activemq.artemis.core.protocol.ProtocolHandler$ProtocolDecoder.channelRead(ProtocolHandler.java:117)
>  [artemis-server-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.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_60]
> Caused by: java.lang.NullPointerException
>         at 
> org.apache.activemq.artemis.core.protocol.ProtocolHandler$ProtocolDecoder.decode(ProtocolHandler.java:162)
>  [artemis-server-1.1.0.jar:1.1.0]
>         at 
> io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:327)
>  [netty-all-4.0.30.Final.jar:4.0.30.Final]
>         ... 12 more
> {code}
> broker.xml
> {code}
>                         <connector 
> name="hornetq">tcp://0.0.0.0:5445?protocols=HORNETQ,STOMP</connector>
> {code}
> Single client using hornetq 2.2.16.FINAL, and single artemis 1.1.0



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to