You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2021/07/28 16:47:18 UTC

[GitHub] [iceberg] smg260 opened a new issue #2885: Possible NPE in DataFiles.Builder.copy(DataFile toCopy)

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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


[GitHub] [iceberg] openinx closed issue #2885: Possible NPE in DataFiles.Builder.copy(DataFile toCopy)

Posted by GitBox <gi...@apache.org>.
openinx closed issue #2885:
URL: https://github.com/apache/iceberg/issues/2885


   


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


[GitHub] [iceberg] openinx commented on issue #2885: Possible NPE in DataFiles.Builder.copy(DataFile toCopy)

Posted by GitBox <gi...@apache.org>.
openinx commented on issue #2885:
URL: https://github.com/apache/iceberg/issues/2885#issuecomment-888875358


   Closed via https://github.com/apache/iceberg/pull/2852


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


[GitHub] [iceberg] openinx commented on issue #2885: Possible NPE in DataFiles.Builder.copy(DataFile toCopy)

Posted by GitBox <gi...@apache.org>.
openinx commented on issue #2885:
URL: https://github.com/apache/iceberg/issues/2885#issuecomment-888777532


   You're correct, there's a PR for this before : https://github.com/apache/iceberg/pull/2852 


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org