Issue #21258:allow null default locations