--> return getNullValue(VALUE_TYPE_BIGINT);

Same comment for other blocks where you used setNull, below.