[OPNFLWJAVA-72] Issue Detected between Nicira Extensions and OpenFlowJava - ClassCastExpection Created: 02/Feb/16  Updated: 19/Oct/17  Resolved: 02/Feb/16

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

Type: Bug
Reporter: Jose M. Alcaraz Calero Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Duplicate
duplicates OPNFLWPLUG-587 Message deserialization failed -- Cla... Resolved
External issue ID: 5181

 Description   

Hi,

This bug is related to the integration with the Nicira Extensions with OpenFlowJava library. I'm using the latest release of Berilium downloaded form the snapshots of the integration project. In summary if you donwload a clean relase and you perform the following installation: "odl-ovsdb-sfc" (with all the dependiences). Everything seems to be fine (no errors in the logs, etc). However, when you "stop" and "start" again and you start to receive packages from OpenStack in the controller you will find this error continuously :

2016-02-02 05:49:45,913 | WARN | entLoopGroup-7-1 | OFDecoder | 172 - org.opendaylight.openflowjava.openflow-protocol-impl - 0.7.0.SNAPSHOT | Message deserialization failed
"java.lang.ClassCastException: org.opendaylight.openflowjava.nx.codec.match.TunIpv4SrcCodec cannot be cast to org.opendaylight.openflowjava.protocol.api.extensibility.HeaderDeserializer"

If seems to be a deserialization exception related to the Nicira "TunIpv4SrcCodec".

Thanks in advance. You are doing an excellent job.

Regards,
Jose



 Comments   
Comment by Michal Polkorab [ 02/Feb/16 ]

Just to update the information in comments above:
org.opendaylight.openflowjava.nx.codec.match.TunIpv4SrcCodec is present in openflowplugin project (extension bundles). So this bug and fix should take place there.

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