diff --git a/tooling/components/io.siddhi.distribution.editor.core/src/main/java/io/siddhi/distribution/editor/core/internal/EditorMicroservice.java b/tooling/components/io.siddhi.distribution.editor.core/src/main/java/io/siddhi/distribution/editor/core/internal/EditorMicroservice.java index 523ef344d3..2154b01fda 100644 --- a/tooling/components/io.siddhi.distribution.editor.core/src/main/java/io/siddhi/distribution/editor/core/internal/EditorMicroservice.java +++ b/tooling/components/io.siddhi.distribution.editor.core/src/main/java/io/siddhi/distribution/editor/core/internal/EditorMicroservice.java @@ -777,6 +777,12 @@ public Response startWithVariables(String appStartRequestString) { DebugRuntime runtimeHolder = new DebugRuntime(siddhiAppName, siddhiApp, appStartRequest.getVariables()); EditorDataHolder.getSiddhiAppMap().put(siddhiAppName, runtimeHolder); + } else { + // Temporary fix for https://github.com/siddhi-io/siddhi/issues/1616 + DebugRuntime existingRuntime = EditorDataHolder.getSiddhiAppMap().get(siddhiAppName); + String siddhiApp = existingRuntime.getSiddhiApp(); + DebugRuntime runtimeHolder = new DebugRuntime(siddhiAppName, siddhiApp); + EditorDataHolder.getSiddhiAppMap().put(siddhiAppName, runtimeHolder); } return start(siddhiAppName); }