replace XLCASSERT_NOTNIL with XLCASSERT_NOTNULL