diff --git a/source/net/filebot/format/ExpressionBindings.java b/source/net/filebot/format/ExpressionBindings.java index 8ec547ec..43a1f53e 100644 --- a/source/net/filebot/format/ExpressionBindings.java +++ b/source/net/filebot/format/ExpressionBindings.java @@ -66,6 +66,9 @@ public class ExpressionBindings extends AbstractMap implements B } } catch (Exception e) { // check InvocationTargetException cause + if (e.getCause() instanceof NullPointerException) { + return null; + } if (e.getCause() instanceof BindingException) { throw (BindingException) e.getCause(); }