smg260 opened a new issue #2885:
URL: https://github.com/apache/iceberg/issues/2885


   When calling `org.apache.iceberg.DataFiles.Builder.copy(DataFile toCopy)`, 
the builder instance variable `int sortOrderId` is assigned to the incoming 
`DataFile` argument's `Integer sortOrderId`.  An unboxing NPE can occur when 
the incoming `sortOrderId` is `null`
   
   - 
[Builder](https://github.com/apache/iceberg/blob/c57e07cb1e7110959e3ab353d48f16468a4d05da/core/src/main/java/org/apache/iceberg/DataFiles.java#L179)
   - 
[ContentFile](https://github.com/apache/iceberg/blob/c57e07cb1e7110959e3ab353d48f16468a4d05da/api/src/main/java/org/apache/iceberg/ContentFile.java#L132)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to