|
Hi Ed,
I am not getting the exception you are and it is almost impossible to debug what happened from the log you provided. So I added a log for every received message. The log is DEBUG type, so you might need to change logging default.
I am getting it merged : https://git.opendaylight.org/gerrit/#/c/3104/
Please try to run the same setup again after the change is merged and paste me the new log.
Thanks
Michal
|
|
Im still seeing this exception:
2013-11-28 10:08:41.376 PST [nioEventLoopGroup-5-8] INFO o.o.o.p.impl.core.OFFrameDecoder - OF Protocol message received, type:19
2013-11-28 10:08:41.380 PST [nioEventLoopGroup-5-1] ERROR o.o.o.protocol.impl.core.OFDecoder - Message deserialization failed
2013-11-28 10:08:41.384 PST [nioEventLoopGroup-5-1] ERROR o.o.o.protocol.impl.core.OFDecoder - readerIndex(1071) + length(4) exceeds writerIndex(1071): SlicedByteBuf(ridx: 1071, widx: 1071, cap: 1071/1071, unwrapped: UnpooledUnsafeDirectByteBuf(ridx: 0, widx: 272, cap: 2048))
java.lang.IndexOutOfBoundsException: readerIndex(1071) + length(4) exceeds writerIndex(1071): SlicedByteBuf(ridx: 1071, widx: 1071, cap: 1071/1071, unwrapped: UnpooledUnsafeDirectByteBuf(ridx: 0, widx: 272, cap: 2048))
at io.netty.buffer.AbstractByteBuf.checkReadableBytes(AbstractByteBuf.java:1160) ~[na:na]
at io.netty.buffer.AbstractByteBuf.readInt(AbstractByteBuf.java:611) ~[na:na]
at io.netty.buffer.AbstractByteBuf.readUnsignedInt(AbstractByteBuf.java:619) ~[na:na]
at org.opendaylight.openflowjava.protocol.impl.deserialization.factories.MultipartReplyMessageFactory.setPortDesc(MultipartReplyMessageFactory.java:652) ~[na:na]
at org.opendaylight.openflowjava.protocol.impl.deserialization.factories.MultipartReplyMessageFactory.bufferToMessage(MultipartReplyMessageFactory.java:175) ~[na:na]
at org.opendaylight.openflowjava.protocol.impl.deserialization.factories.MultipartReplyMessageFactory.bufferToMessage(MultipartReplyMessageFactory.java:116) ~[na:na]
at org.opendaylight.openflowjava.protocol.impl.deserialization.DeserializationFactory.bufferToMessage(DeserializationFactory.java:33) ~[na:na]
at org.opendaylight.openflowjava.protocol.impl.core.OFDecoder.decode(OFDecoder.java:37) ~[na:na]
at org.opendaylight.openflowjava.protocol.impl.core.OFDecoder.decode(OFDecoder.java:19) ~[na:na]
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:89) ~[na:na]
at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) ~[na:na]
at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) ~[na:na]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:173) ~[na:na]
at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) ~[na:na]
at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) ~[na:na]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:173) ~[na:na]
at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) ~[na:na]
at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) ~[na:na]
at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:253) ~[na:na]
at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) ~[na:na]
at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) ~[na:na]
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) ~[na:na]
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:100) ~[na:na]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:480) ~[na:na]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:447) ~[na:na]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:341) ~[na:na]
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101) ~[na:na]
at java.lang.Thread.run(Thread.java:724) ~[na:1.7.0_25]
|