Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-1745

Unintended unboxing of potential null pointer in AutoValue_ElasticsearchIO_Write

Details

    Description

            if (maxBatchSize == null) {
              missing += " maxBatchSize";
            }
      ...
            return new AutoValue_ElasticsearchIO_Write(
                this.connectionConfiguration,
                this.maxBatchSize,
                this.maxBatchSizeBytes);
      

      If maxBatchSize is null, it would be unboxed at the time AutoValue_ElasticsearchIO_Write is constructed.

      Attachments

        Activity

          People

            yuzhihong@gmail.com Ted Yu
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: