Your primary or candidate key index expression evaluated to NULL, which is an invalid value for these types of indexes.
Change record values so the expression does not evaluate to NULL.