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

PigNullableWritable toString method throws NPE on null value

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.12.1, 0.13.0
    • Fix Version/s: 0.13.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: