From: c00149107 Date: Fri, 10 Nov 2017 03:12:02 +0000 (+0800) Subject: Fix Null Point Exception X-Git-Tag: v1.1.0~13^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F71%2F23071%2F1;p=so.git Fix Null Point Exception Fix Null Point Exception Change-Id: I4e542ffd1369140b21d6252a5f90db66651df181 Issue-ID:SO-328 Signed-off-by: c00149107 --- diff --git a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/E2EServiceInstances.java b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/E2EServiceInstances.java index f5d068f900..f6b30e8772 100644 --- a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/E2EServiceInstances.java +++ b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/E2EServiceInstances.java @@ -604,15 +604,8 @@ public class E2EServiceInstances { DelE2ESvcResp jo = mapper.readValue( camundaJSONResponseBody, DelE2ESvcResp.class); String operationId = jo.getOperationId(); - OperationStatus operStatus = chkDuplicateServiceInOperStatus(instanceIdMap - .get("serviceId")); - if (null != operStatus) { - msoLogger - .debug("One task is already in progress state for this service id"); - } else { - this.createOperationStatusRecord("DELETE", requestId, + this.createOperationStatusRecord("DELETE", requestId, operationId); - } } catch (Exception ex) { msoLogger.error(MessageEnum.APIH_BPEL_RESPONSE_ERROR, requestClient.getUrl(), "", "",