This is an automated email from the ASF dual-hosted git repository. jsinovassinnaik pushed a commit to branch unomi-1.x in repository https://gitbox.apache.org/repos/asf/unomi.git
The following commit(s) were added to refs/heads/unomi-1.x by this push: new 9df7e1294 UNOMI-745 : check condition to avoid NPE 9df7e1294 is described below commit 9df7e12945ae112f62bd741ed283062eced2be27 Author: jsinovassin <jsinovassinn...@jahia.com> AuthorDate: Mon Mar 20 18:36:16 2023 +0100 UNOMI-745 : check condition to avoid NPE --- services/src/main/java/org/apache/unomi/services/impl/ParserHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/src/main/java/org/apache/unomi/services/impl/ParserHelper.java b/services/src/main/java/org/apache/unomi/services/impl/ParserHelper.java index d4efb3a47..f7896beb3 100644 --- a/services/src/main/java/org/apache/unomi/services/impl/ParserHelper.java +++ b/services/src/main/java/org/apache/unomi/services/impl/ParserHelper.java @@ -190,7 +190,7 @@ public class ParserHelper { eventTypeIds.add(eventTypeId); } } - } else if (condition.getConditionType().getParentCondition() != null) { + } else if (condition.getConditionType() != null && condition.getConditionType().getParentCondition() != null) { visitConditions(condition.getConditionType().getParentCondition(), this); } }