diff --git a/theodolite-quarkus/src/main/kotlin/theodolite/execution/operator/TheodoliteController.kt b/theodolite-quarkus/src/main/kotlin/theodolite/execution/operator/TheodoliteController.kt index 3053c364e2d6d9bc9797c190f0a87d861089b556..3016a1c9d1623d32b1d4df3ab7129b33a9100c08 100644 --- a/theodolite-quarkus/src/main/kotlin/theodolite/execution/operator/TheodoliteController.kt +++ b/theodolite-quarkus/src/main/kotlin/theodolite/execution/operator/TheodoliteController.kt @@ -168,6 +168,7 @@ class TheodoliteController( } fun isExecutionRunning(executionName: String): Boolean { + if (!::executor.isInitialized) return false return this.executor.getExecution().name == executionName }