diff options
-rw-r--r-- | src/main/java/org/onap/music/conductor/conditionals/MusicConditional.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/onap/music/conductor/conditionals/MusicConditional.java b/src/main/java/org/onap/music/conductor/conditionals/MusicConditional.java index 0fc9ffe3..c97ccfab 100644 --- a/src/main/java/org/onap/music/conductor/conditionals/MusicConditional.java +++ b/src/main/java/org/onap/music/conductor/conditionals/MusicConditional.java @@ -335,7 +335,7 @@ public class MusicConditional { Map<String, String> finalValues = new HashMap<>(); values = (Map<String, String>) columnValue; - if (values.keySet().contains(planId)) { + if (values != null && values.keySet().contains(planId)) { String valueString = values.get(planId); String tempValueString = valueString.replaceAll("\\{", "").replaceAll("\"", "").replaceAll("\\}", ""); String[] elements = tempValueString.split(","); |