From 86691a06e7c3786fb3afba1d5517f1449260be9c Mon Sep 17 00:00:00 2001 From: Galen Hollins <47542238+galenatjpl@users.noreply.github.com> Date: Mon, 30 Nov 2020 22:32:57 -0800 Subject: [PATCH] Logging possible root cause, when executionId is null See: https://jira.camunda.com/browse/CAM-10750 --- .../src/main/java/jpl/cws/engine/CwsExternalTaskThread.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cws-engine-service/src/main/java/jpl/cws/engine/CwsExternalTaskThread.java b/cws-engine-service/src/main/java/jpl/cws/engine/CwsExternalTaskThread.java index d34ce765..e209bafe 100644 --- a/cws-engine-service/src/main/java/jpl/cws/engine/CwsExternalTaskThread.java +++ b/cws-engine-service/src/main/java/jpl/cws/engine/CwsExternalTaskThread.java @@ -152,6 +152,10 @@ private void runTask() { fieldName = null; executionId = task.getExecutionId(); + if (executionId == null) { + log.error("executionId for task: " + task + " was null! Possible instance of https://jira.camunda.com/browse/CAM-10750. " + + "This hopefully will be fixed in Camunda 7.14"); + } if (task.getVariables().containsKey(activityId + "_cwsError")) {