-
Bug
-
Resolution: Done
-
None
-
unspecified
-
None
-
Operating System: All
Platform: All
-
7350
NullPointerException when creating a RSP and not a single topology node is connected. Stack trace shows that the source is an unchecked iteration on the topology nodes list.
The problem can be reproduced with rest-sender.py standard SFC REST provisioning while no dp nodes are connected.
2016-12-13 09:38:29,164 | ERROR | on-dispatcher-40 | DataTreeChangeListenerActor | 198 - org.opendaylight.controller.sal-clustering-commons - 1.5.0.SNAPSHOT | Error notifying listener org.opendaylight.controller.md.sal.binding.impl.BindingDOMDataTreeChangeListenerAdapter@3950808f
java.lang.NullPointerException
at org.opendaylight.sfc.sfc_ovs.provider.SfcOvsUtil.getDpdkOfPort(SfcOvsUtil.java:766)[289:org.opendaylight.sfc.ovs:0.5.0.SNAPSHOT]
at org.opendaylight.sfc.ofrenderer.processors.SfcOfRspProcessor.initializeSff(SfcOfRspProcessor.java:520)[344:org.opendaylight.sfc.openflow-renderer:0.5.0.SNAPSHOT]
at org.opendaylight.sfc.ofrenderer.processors.SfcOfRspProcessor.processRenderedServicePath(SfcOfRspProcessor.java:145)[344:org.opendaylight.sfc.openflow-renderer:0.5.0.SNAPSHOT]
at org.opendaylight.sfc.ofrenderer.listeners.SfcOfRspDataListener.onDataTreeChanged(SfcOfRspDataListener.java:58)[344:org.opendaylight.sfc.openflow-renderer:0.5.0.SNAPSHOT]
at org.opendaylight.controller.md.sal.binding.impl.BindingDOMDataTreeChangeListenerAdapter.onDataTreeChanged(BindingDOMDataTreeChangeListenerAdapter.java:41)[165:org.opendaylight.controller.sal-binding-broker-impl:1.5.0.SNAPSHOT]
at org.opendaylight.controller.cluster.datastore.DataTreeChangeListenerActor.dataChanged(DataTreeChangeListenerActor.java:54)[204:org.opendaylight.controller.sal-distributed-datastore:1.5.0.SNAPSHOT]
...