Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-3944

PigNullableWritable toString method throws NPE on null value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.12.1, 0.13.0
    • 0.13.0
    • None
    • None

    Description

      mValue could be null here (when "mNull == true")

      @Override
      public String toString() {
        return "Null: " + mNull + " index: " + mIndex + " " + mValue.toString();
      }
      

      Attachments

        1. PIG-3944.patch
          0.6 kB
          Manu Zhang

        Activity

          People

            mauzhang Manu Zhang
            mauzhang Manu Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: