Fix for bom and nested event properties
@@ -67,8 +67,10 @@ public class SchemaGuesser {
subEvent = (Map<String, Object>) subEvent.get(k);
}
+ if (subEvent != null) {
tmp.add(subEvent.get(ep.getRuntimeName()));
}
+ }
DomainPropertyProbabilityList resultList = getDomainPropertyProbability(tmp.toArray());
resultList.setRuntimeName(ep.getRuntimeName());
