NPE thrown in stopped pipeline
@@ -77,6 +77,7 @@ public final class ExecutionDataBuilder {
.withOwnerId(ALL_TRANSFORMS)
.withFinished(finished);
+ if (samplerStoresMap != null) {
for (String transformName : samplerStoresMap.keySet()) {
List<IExecutionDataSamplerStore> samplerStores = samplerStoresMap.get(transformName);
for (IExecutionDataSamplerStore samplerStore : samplerStores) {
@@ -86,6 +87,7 @@ public final class ExecutionDataBuilder {
.addSetMeta(samplerStore.getSamplesMetadata());
}
}
+ }
dataBuilder = dataBuilder.withCollectionDate(new Date());
return dataBuilder;
}
