Should be `checkNotNull(uri, "uri of %s", name);`?