null 객체 시 처리 수정

master
mjkhan21 7 months ago
parent b68ebc43f8
commit d0f296f481

@ -295,6 +295,8 @@ public abstract class Cryptography extends AbstractComponent {
public List<TargetValue> getTargetValues(Object obj) { public List<TargetValue> getTargetValues(Object obj) {
Predicate<TargetValue> filter = valueType -> { Predicate<TargetValue> filter = valueType -> {
if (obj == null)
return false;
if (obj instanceof Map) { if (obj instanceof Map) {
Map<?, ?> map = (Map<?, ?>)obj; Map<?, ?> map = (Map<?, ?>)obj;
for (String key: valueType.getMapKeys()) { for (String key: valueType.getMapKeys()) {

Loading…
Cancel
Save