diff --git a/docs/pom.xml b/docs/pom.xml
index 8c63eaf3..88ed4288 100644
--- a/docs/pom.xml
+++ b/docs/pom.xml
@@ -6,7 +6,7 @@
io.holunda.data
camunda-bpm-data-parent
- 1.2.2
+ 1.2.3
camunda-bpm-data-docs
diff --git a/example/coverage-report-aggregator/pom.xml b/example/coverage-report-aggregator/pom.xml
index 7bfef642..008a6baa 100644
--- a/example/coverage-report-aggregator/pom.xml
+++ b/example/coverage-report-aggregator/pom.xml
@@ -6,7 +6,7 @@
io.holunda.data.example
camunda-bpm-data-example-parent
- 1.2.2
+ 1.2.3
camunda-bpm-data-coverage-report
diff --git a/example/example-java/pom.xml b/example/example-java/pom.xml
index 40462e51..fe91facd 100644
--- a/example/example-java/pom.xml
+++ b/example/example-java/pom.xml
@@ -6,7 +6,7 @@
io.holunda.data.example
camunda-bpm-data-example-parent
- 1.2.2
+ 1.2.3
camunda-bpm-data-example-java
diff --git a/example/example-kotlin/pom.xml b/example/example-kotlin/pom.xml
index 4d5e0aa1..8067539b 100644
--- a/example/example-kotlin/pom.xml
+++ b/example/example-kotlin/pom.xml
@@ -6,7 +6,7 @@
io.holunda.data.example
camunda-bpm-data-example-parent
- 1.2.2
+ 1.2.3
camunda-bpm-data-example-kotlin
diff --git a/example/itest/pom.xml b/example/itest/pom.xml
index 8f0602a8..1d5c646a 100644
--- a/example/itest/pom.xml
+++ b/example/itest/pom.xml
@@ -6,7 +6,7 @@
io.holunda.data.example
camunda-bpm-data-example-parent
- 1.2.2
+ 1.2.3
camunda-bpm-data-integration-test
diff --git a/example/pom.xml b/example/pom.xml
index 269dc38c..54459a57 100644
--- a/example/pom.xml
+++ b/example/pom.xml
@@ -6,7 +6,7 @@
io.holunda.data
camunda-bpm-data-parent
- 1.2.2
+ 1.2.3
io.holunda.data.example
@@ -59,7 +59,7 @@
io.holunda.testing
camunda-bpm-jgiven
- 0.0.5
+ 0.0.7
test
diff --git a/example/spin-type-detector/pom.xml b/example/spin-type-detector/pom.xml
index 1f05241b..cde809ba 100644
--- a/example/spin-type-detector/pom.xml
+++ b/example/spin-type-detector/pom.xml
@@ -6,7 +6,7 @@
io.holunda.data.example
camunda-bpm-data-example-parent
- 1.2.2
+ 1.2.3
camunda-bpm-data-spin-type-detector
diff --git a/extension/core/pom.xml b/extension/core/pom.xml
index ef3980b2..018a029e 100644
--- a/extension/core/pom.xml
+++ b/extension/core/pom.xml
@@ -6,7 +6,7 @@
io.holunda.data
camunda-bpm-data-parent
- 1.2.2
+ 1.2.3
../../pom.xml
diff --git a/extension/core/src/main/java/io/holunda/camunda/bpm/data/adapter/list/ListReadAdapterLockedExternalTask.java b/extension/core/src/main/java/io/holunda/camunda/bpm/data/adapter/list/ListReadAdapterLockedExternalTask.java
index d47412eb..efee4f18 100644
--- a/extension/core/src/main/java/io/holunda/camunda/bpm/data/adapter/list/ListReadAdapterLockedExternalTask.java
+++ b/extension/core/src/main/java/io/holunda/camunda/bpm/data/adapter/list/ListReadAdapterLockedExternalTask.java
@@ -3,6 +3,7 @@
import io.holunda.camunda.bpm.data.adapter.ReadAdapter;
import io.holunda.camunda.bpm.data.adapter.WrongVariableTypeException;
import org.camunda.bpm.engine.externaltask.LockedExternalTask;
+import org.camunda.bpm.engine.variable.Variables;
import java.util.Collections;
import java.util.List;
@@ -28,7 +29,7 @@ public ListReadAdapterLockedExternalTask(LockedExternalTask lockedExternalTask,
@Override
public List get() {
- return null;
+ return getOptional().get();
}
@Override
@@ -90,6 +91,8 @@ private List getOrNull(T value) {
}
private T getValue() {
- return (T) Optional.ofNullable(lockedExternalTask.getVariables()).map(it -> it.get(variableName)).get();
+ return (T) Optional.ofNullable(lockedExternalTask.getVariables())
+ .orElse(Variables.createVariables())
+ .get(variableName);
}
}
diff --git a/extension/core/src/main/java/io/holunda/camunda/bpm/data/adapter/map/MapReadAdapterLockedExternalTask.java b/extension/core/src/main/java/io/holunda/camunda/bpm/data/adapter/map/MapReadAdapterLockedExternalTask.java
index f1011ae2..8bca8fd3 100644
--- a/extension/core/src/main/java/io/holunda/camunda/bpm/data/adapter/map/MapReadAdapterLockedExternalTask.java
+++ b/extension/core/src/main/java/io/holunda/camunda/bpm/data/adapter/map/MapReadAdapterLockedExternalTask.java
@@ -3,6 +3,7 @@
import io.holunda.camunda.bpm.data.adapter.ReadAdapter;
import io.holunda.camunda.bpm.data.adapter.WrongVariableTypeException;
import org.camunda.bpm.engine.externaltask.LockedExternalTask;
+import org.camunda.bpm.engine.variable.Variables;
import java.util.Collections;
import java.util.Map;
@@ -31,47 +32,47 @@ public MapReadAdapterLockedExternalTask(LockedExternalTask lockedExternalTask, S
@Override
public Map get() {
- return null;
+ return getOptional().get();
}
@Override
@SuppressWarnings("java:S3655")
- public Optional