io.netty.handler.codec.DecoderException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • following exception is caught when trying OVS SSL connection to onos: (Als tested with openssl s_client -debug -cipher aNULL -connect 10.128.8.11:9876) Also tried with ovs ssl connection with same exception. 2015-11-18 16:22:18,252 | ERROR | entLoopGroup-3-1 | MessageDecoder | 148 - org.onosproject.onlab-netty - 1.4.0.SNAPSHOT | Exception inside channel handling pipeline. io.netty.handler.codec.DecoderException: java.lang.NegativeArraySizeException at io.netty.handler.codec.ReplayingDecoder.callDecode(ReplayingDecoder.java:425)[50:io.netty.codec:4.0.23.Final] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:149)[50:io.netty.codec:4.0.23.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)[48:io.netty.transport:4.0.23.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)[48:io.netty.transport:4.0.23.Final] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787)[48:io.netty.transport:4.0.23.Final] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:130)[48:io.netty.transport:4.0.23.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)[48:io.netty.transport:4.0.23.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)[48:io.netty.transport:4.0.23.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)[48:io.netty.transport:4.0.23.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)[48:io.netty.transport:4.0.23.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)[46:io.netty.common:4.0.23.Final] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)[46:io.netty.common:4.0.23.Final] at java.lang.Thread.run(Thread.java:745)[:1.8.0_25] Caused by: java.lang.NegativeArraySizeException at org.onlab.netty.MessageDecoder.decode(MessageDecoder.java:77)[148:org.onosproject.onlab-netty:1.4.0.SNAPSHOT] at io.netty.handler.codec.ReplayingDecoder.callDecode(ReplayingDecoder.java:370)[50:io.netty.codec:4.0.23.Final] ... 12 more
    via by suibin zhang,
    • io.netty.handler.codec.DecoderException: java.lang.NegativeArraySizeException at io.netty.handler.codec.ReplayingDecoder.callDecode(ReplayingDecoder.java:425)[50:io.netty.codec:4.0.23.Final] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:149)[50:io.netty.codec:4.0.23.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)[48:io.netty.transport:4.0.23.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)[48:io.netty.transport:4.0.23.Final] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787)[48:io.netty.transport:4.0.23.Final] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:130)[48:io.netty.transport:4.0.23.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)[48:io.netty.transport:4.0.23.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)[48:io.netty.transport:4.0.23.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)[48:io.netty.transport:4.0.23.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)[48:io.netty.transport:4.0.23.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)[46:io.netty.common:4.0.23.Final] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)[46:io.netty.common:4.0.23.Final] at java.lang.Thread.run(Thread.java:745)[:1.8.0_25] Caused by: java.lang.NegativeArraySizeException at org.onlab.netty.MessageDecoder.decode(MessageDecoder.java:77)[148:org.onosproject.onlab-netty:1.4.0.SNAPSHOT] at io.netty.handler.codec.ReplayingDecoder.callDecode(ReplayingDecoder.java:370)[50:io.netty.codec:4.0.23.Final] ... 12 more
    No Bugmate found.