diff --git a/src/main/java/cokr/xit/base/crypto/Cryptography.java b/src/main/java/cokr/xit/base/crypto/Cryptography.java index e26b4ab..2325eaa 100644 --- a/src/main/java/cokr/xit/base/crypto/Cryptography.java +++ b/src/main/java/cokr/xit/base/crypto/Cryptography.java @@ -295,6 +295,8 @@ public abstract class Cryptography extends AbstractComponent { public List getTargetValues(Object obj) { Predicate filter = valueType -> { + if (obj == null) + return false; if (obj instanceof Map) { Map map = (Map)obj; for (String key: valueType.getMapKeys()) {