raise error when calling non-ALLOW-NULLS with null argument