From b6108e2ad2622a535d33e6da97b404fbc49394a6 Mon Sep 17 00:00:00 2001 From: c00149107 Date: Fri, 10 Nov 2017 11:12:02 +0800 Subject: Fix Null Point Exception Fix Null Point Exception Change-Id: I4e542ffd1369140b21d6252a5f90db66651df181 Issue-ID:SO-328 Signed-off-by: c00149107 --- .../org/openecomp/mso/apihandlerinfra/E2EServiceInstances.java | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'mso-api-handlers/mso-api-handler-infra/src/main/java') 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(), "", "", -- cgit 1.2.3-korg