Using nonNull API's in ELAN
[netvirt.git] / elanmanager / api / src / main / java / org / opendaylight / netvirt / elan / arp / responder / ArpResponderUtil.java
index 63eabadcf4e9f0814cb981126beb4212f2969127..3a8d2197cbda661dee27051233e9cb5aaad8894a 100644 (file)
@@ -378,7 +378,7 @@ public final class ArpResponderUtil {
                     LOG.error("getEgressActionsForInterface: RPC Call to Get egress actions for interface {} "
                             + "returned with Errors {}", ifName, result.getErrors());
                 } else {
-                    listActions = ((GetEgressActionsForTunnelOutput) result.getResult()).getAction();
+                    listActions = ((GetEgressActionsForTunnelOutput) result.getResult()).nonnullAction();
                 }
                 return new ArrayList<Action>(listActions.values());
             } catch (InterruptedException | ExecutionException e) {