Merge "Added null check for executions variable to prevent a static analyzer warning"
diff --git a/adapters/mso-adapter-utils/src/main/java/org/onap/so/cloudify/utils/MsoCloudifyUtils.java b/adapters/mso-adapter-utils/src/main/java/org/onap/so/cloudify/utils/MsoCloudifyUtils.java
index 4eb16d4..ad25430 100644
--- a/adapters/mso-adapter-utils/src/main/java/org/onap/so/cloudify/utils/MsoCloudifyUtils.java
+++ b/adapters/mso-adapter-utils/src/main/java/org/onap/so/cloudify/utils/MsoCloudifyUtils.java
@@ -566,7 +566,7 @@
             Executions executions = listExecutions.execute();
 
             // If no executions, does this give NOT_FOUND or empty set?
-            if (executions.getItems().isEmpty()) {
+            if (executions == null || executions.getItems().isEmpty()) {
                 return new DeploymentInfoBuilder().withId(deployment.getId())
                         .withDeploymentInputs(deployment.getInputs()).build();
             } else {