Native code uses value 5 for FIELD_TYPE_NULL whereas java (Cursor.java) uses value 0. Looks like we need to add special case for this.