[
https://issues.apache.org/jira/browse/BEAM-1734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15957697#comment-15957697
]
Daniel Halperin commented on BEAM-1734:
---------------------------------------
Is this a bug you've encountered? If so, please provide a test case or other
type of reproduction that exhibits it.
If this is just a warning from some automated analysis -- it's worth
understanding whether it is an issue in practice, but if not I'm inclined not
to change the code. (And maybe to improve annotations for automated analysis.)
> Potentially unbox null pointer in AutoValue_BigQueryIO_Write
> ------------------------------------------------------------
>
> Key: BEAM-1734
> URL: https://issues.apache.org/jira/browse/BEAM-1734
> Project: Beam
> Issue Type: Bug
> Components: sdk-java-gcp
> Reporter: Ted Yu
> Priority: Minor
> Labels: newbie, starter
>
> {code}
> if (validate == null) {
> missing += " validate";
> }
> ...
> return new AutoValue_BigQueryIO_Write(
> this.jsonTableRef,
> this.tableRefFunction,
> this.jsonSchema,
> this.createDisposition,
> this.writeDisposition,
> this.tableDescription,
> this.validate,
> this.bigQueryServices);
> {code}
> If validate is null, AutoValue_BigQueryIO_Write would try to unbox it since
> the parameter is declared as boolean.
> There is similar problem in AutoValue_BigQueryIO_Read, around line 166
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)