Skip to content

Commit

Permalink
Merge pull request #21 from sreerag-tarento/4.8.18_NPEFIX
Browse files Browse the repository at this point in the history
Null check for applicationStatus value, FIX for NPE
  • Loading branch information
SaipradeepR authored Nov 19, 2024
2 parents 7232e48 + 8afbead commit 15adfa8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ private HashMap<String, String> changeStatus(String rootOrg, String org, WfReque
if (Constants.BLENDED_PROGRAM_SERVICE_NAME.equalsIgnoreCase(wfRequest.getServiceName()) && !StringUtils.isEmpty(applicationStatus.getServiceName())) {
serviceName = applicationStatus.getServiceName();
}
if (applicationStatus.getCreatedOn() != null) {
if (applicationStatus != null && applicationStatus.getCreatedOn() != null) {
wfRequest.setCreatedOn(applicationStatus.getCreatedOn().toString());
}
WorkFlowModel workFlowModel = getWorkFlowConfig(serviceName);
Expand Down

0 comments on commit 15adfa8

Please sign in to comment.