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

Unintended unboxing of potential null pointer in AutoValue_HDFSFileSource

Details

    Description

            if (validateSource == null) {
              missing += " validateSource";
            }
      ...
            return new AutoValue_HDFSFileSource<T, K, V>(
                this.filepattern,
                this.formatClass,
                this.coder,
                this.inputConverter,
                this.serializableConfiguration,
                this.serializableSplit,
                this.username,
                this.validateSource);
      

      If validateSource is null, it would be unboxed in call to ctor of AutoValue_HDFSFileSource

      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: