You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2017/04/11 15:50:41 UTC
[jira] [Closed] (BEAM-1734) Potentially unbox null pointer in
AutoValue_BigQueryIO_Write
[ https://issues.apache.org/jira/browse/BEAM-1734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Yu closed BEAM-1734.
------------------------
Resolution: Not A Problem
Fix Version/s: Not applicable
> 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
> Fix For: Not applicable
>
>
> {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)