[OPNFLWPLUG-888] Deserialization exception in logs when NAT flows are added. Created: 09/May/17  Updated: 27/Sep/21  Resolved: 17/May/17

Status: Resolved
Project: OpenFlowPlugin
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Aswin Suryanarayanan Assignee: Aswin Suryanarayanan
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 8408

 Description   

2017-05-09 10:37:45,616 | WARN | entLoopGroup-7-1 | OFDecoder | 295 - org.opendaylight.openflowjava.openflow-protocol-impl - 0.10.0.SNAPSHOT | Message deserialization failed
java.lang.IndexOutOfBoundsException: readerIndex(166) + length(4) exceeds writerIndex(166): UnpooledSlicedByteBuf(ridx: 166, widx: 166, cap: 166/166, unwrapped: PooledUnsafeDirectByteBuf(ridx: 2544, widx: 2544, cap: 65536))
at io.netty.buffer.AbstractByteBuf.checkReadableBytes0(AbstractByteBuf.java:1389)[144:io.netty.buffer:4.1.8.Final]
at io.netty.buffer.AbstractByteBuf.readInt(AbstractByteBuf.java:766)[144:io.netty.buffer:4.1.8.Final]
at io.netty.buffer.AbstractByteBuf.readUnsignedInt(AbstractByteBuf.java:782)[144:io.netty.buffer:4.1.8.Final]
at org.opendaylight.openflowplugin.impl.protocol.deserialization.action.OutputActionDeserializer.deserialize(OutputActionDeserializer.java:26)[307:org.opendaylight.openflowplugin.impl:0.5.0.SNAPSHOT]
at org.opendaylight.openflowplugin.impl.protocol.deserialization.action.OutputActionDeserializer.deserialize(OutputActionDeserializer.java:19)[307:org.opendaylight.openflowplugin.impl:0.5.0.SNAPSHOT]
at org.opendaylight.openflowplugin.impl.protocol.deserialization.util.ActionUtil.readAction(ActionUtil.java:58)[307:org.opendaylight.openflowplugin.impl:0.5.0.SNAPSHOT]
at org.opendaylight.openflowplugin.impl.protocol.deserialization.instruction.AbstractActionInstructionDeserializer.readActions(AbstractActionInstructionDeserializer.java:76)[307:org.opendaylight.openflowplugin.impl:0.5.0.SNAPSHOT]
at org.opendaylight.openflowplugin.impl.protocol.deserialization.instruction.ApplyActionsInstructionDeserializer.deserialize(ApplyActionsInstructionDeserializer.java:32)[307:org.opendaylight.openflowplugin.impl:0.5.0.SNAPSHOT]
at org.opendaylight.openflowplugin.impl.protocol.deserialization.instruction.ApplyActionsInstructionDeserializer.deserialize(ApplyActionsInstructionDeserializer.java:19)[307:org.opendaylight.openflowplugin.impl:0.5.0.SNAPSHOT]
at org.opendaylight.openflowplugin.impl.protocol.deserialization.util.InstructionUtil.readInstruction(InstructionUtil.java:64)[307:org.opendaylight.openflowplugin.impl:0.5.0.SNAPSHOT]
at org.opendaylight.openflowplugin.impl.protocol.deserialization.multipart.MultipartReplyFlowStatsDeserializer.deserialize(MultipartReplyFlowStatsDeserializer.java:103)[307:org.opendaylight.openflowplugin.impl:0.5.0.SNAPSHOT]
at org.opendaylight.openflowplugin.impl.protocol.deserialization.multipart.MultipartReplyFlowStatsDeserializer.deserialize(MultipartReplyFlowStatsDeserializer.java:39)[307:org.opendaylight.openflowplugin.impl:0.5.0.SNAPSHOT]
at org.opendaylight.openflowplugin.impl.protocol.deserialization.multipart.MultipartReplyMessageDeserializer.deserialize(MultipartReplyMessageDeserializer.java:43)[307:org.opendaylight.openflowplugin.impl:0.5.0.SNAPSHOT]
at org.opendaylight.openflowplugin.impl.protocol.deserialization.multipart.MultipartReplyMessageDeserializer.deserialize(MultipartReplyMessageDeserializer.java:22)[307:org.opendaylight.openflowplugin.impl:0.5.0.SNAPSHOT]
at org.opendaylight.openflowjava.protocol.impl.deserialization.DeserializationFactory.deserialize(DeserializationFactory.java:55)[295:org.opendaylight.openflowjava.openflow-protocol-impl:0.10.0.SNAPSHOT]
at org.opendaylight.openflowjava.protocol.impl.core.OFDecoder.decode(OFDecoder.java:49)[295:org.opendaylight.openflowjava.openflow-protocol-impl:0.10.0.SNAPSHOT]



 Comments   
Comment by Aswin Suryanarayanan [ 09/May/17 ]

https://git.opendaylight.org/gerrit/#/c/56731/

Comment by Tomas Slusny [ 15/May/17 ]

So is this still in progress or it is just waiting for review?

Comment by Aswin Suryanarayanan [ 15/May/17 ]

It is waiting for review.

Comment by Abhijit Kumbhare [ 15/May/17 ]

On Stable/Boron:

https://git.opendaylight.org/gerrit/#/c/57064/

Comment by Sam Hague [ 15/May/17 ]

(In reply to Abhijit Kumbhare from comment #4)
> On Stable/Boron:
>
> https://git.opendaylight.org/gerrit/#/c/57064/

correction, that is the stable/carbon patch.

Comment by A H [ 15/May/17 ]

Patch https://git.opendaylight.org/gerrit/#/c/57064/ was successfully merged. Can we mark this bug as fixed and resolved.

Generated at Wed Feb 07 20:33:39 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.