ExpressionTransformer #1692: NPE on invalid input