diff options
author | c00149107 <chenchuanyu@huawei.com> | 2017-11-10 11:12:02 +0800 |
---|---|---|
committer | c00149107 <chenchuanyu@huawei.com> | 2017-11-10 11:12:02 +0800 |
commit | b6108e2ad2622a535d33e6da97b404fbc49394a6 (patch) | |
tree | bed75be929f8cf2ac075a2b6e9b5a08d9f9275a1 /mso-api-handlers/mso-api-handler-infra | |
parent | 0abcd5d7a158bc43c982f0005aad99baa6eb397f (diff) |
Fix Null Point Exception
Fix Null Point Exception
Change-Id: I4e542ffd1369140b21d6252a5f90db66651df181
Issue-ID:SO-328
Signed-off-by: c00149107 <chenchuanyu@huawei.com>
Diffstat (limited to 'mso-api-handlers/mso-api-handler-infra')
-rw-r--r-- | mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/E2EServiceInstances.java | 9 |
1 files changed, 1 insertions, 8 deletions
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(), "", "", |