Commit 78386edc authored by medou-boushab's avatar medou-boushab Committed by aminelouati
Browse files

Handle the case when the value of a resultMap entry is null

(cherry picked from commit effdedf2)
parent d66b5223
......@@ -376,8 +376,8 @@ public class SchedulerStateRest implements SchedulerRestInterface {
}
return source.entrySet()
.stream()
.filter(entry -> entry.getValue() != null)
.collect(Collectors.toMap(Entry::getKey, entry -> entry.getValue().toString()));
.collect(Collectors.toMap(Entry::getKey,
entry -> entry.getValue() != null ? entry.getValue().toString() : ""));
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment