@Override
	public void setField(int colIndex, Field value) {
		if (value == null) {
			if (!schema.isSparseColumn(colIndex)) {
				throw new IllegalArgumentException("null value supported for sparse column only");
			}
			value = getField(colIndex).newField();
			value.setNull();
		}
		super.setField(colIndex, value);
	}
Check for a change in a sparse column's storage size when setting a column to the null state.
@param colIndex field column index within this record.
@return true for a sparse column which is transitioning between a null and non-null state,
else false.
Ghidra/Framework/DB/src/main/java/db/SparseRecord.java