X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=openflowplugin-impl%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fopenflowplugin%2Fimpl%2Fservices%2Fbatch%2FFlatBatchFlowAdapters.java;h=ef734d242f4df4ccb4062c4b41acb9167a2cae07;hb=05f8db12159673d0e0a95642fe86e62c14b7dc7b;hp=943d61a556abe0daafcdba67680c682e1f88fbb4;hpb=b7fa8e6d771da950ea0abe135d8323911f12289e;p=openflowplugin.git diff --git a/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/services/batch/FlatBatchFlowAdapters.java b/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/services/batch/FlatBatchFlowAdapters.java index 943d61a556..ef734d242f 100644 --- a/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/services/batch/FlatBatchFlowAdapters.java +++ b/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/services/batch/FlatBatchFlowAdapters.java @@ -141,7 +141,7 @@ public final class FlatBatchFlowAdapters { final RpcResult input, final int stepOffset) { final List batchFailures = new ArrayList<>(); if (input.getResult().getBatchFailedFlowsOutput() != null) { - for (BatchFailedFlowsOutput stepOutput : input.getResult().getBatchFailedFlowsOutput()) { + for (BatchFailedFlowsOutput stepOutput : input.getResult().nonnullBatchFailedFlowsOutput().values()) { final BatchFailure batchFailure = new BatchFailureBuilder() .setBatchOrder(stepOffset + stepOutput.getBatchOrder().toJava()) .setBatchItemIdChoice(new FlatBatchFailureFlowIdCaseBuilder()