Fix(ENTESB-12957): NullPointer was thrown if no attributes to query were
defined.
@@ -138,11 +138,13 @@ public abstract class DDBConnectorCustomizer implements ComponentProxyCustomizer
final String replacement = entry.getValue().toString();
element = element.replace(searchKey, replacement);
+ if(attributes != null) {
attributes = attributes.replace(searchKey, replacement);
}
}
}
}
+ }
Map<String, Object> options = new HashMap<String, Object>();
options.put("element", element);
