diff --git a/rabix-engine/src/main/java/org/rabix/engine/service/impl/IntermediaryFilesServiceImpl.java b/rabix-engine/src/main/java/org/rabix/engine/service/impl/IntermediaryFilesServiceImpl.java index c27e10c96..abc079b4c 100644 --- a/rabix-engine/src/main/java/org/rabix/engine/service/impl/IntermediaryFilesServiceImpl.java +++ b/rabix-engine/src/main/java/org/rabix/engine/service/impl/IntermediaryFilesServiceImpl.java @@ -84,7 +84,11 @@ private Map convertToMap(List filesForR private Set extractPathsFromFileValue(FileValue file) { Set paths = new HashSet<>(); - paths.add(file.getPath()); + + String path = file.getPath(); + if (path != null) { + paths.add(path); + } if (file.getSecondaryFiles() != null) { for (FileValue f : file.getSecondaryFiles()) {