Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14511

WritableRpcEngine.Invocation#toString NPE on null parameters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.8.0
    • 2.9.0, 2.8.2
    • ipc
    • None

    Description

      WritableRpcEngine.Invocation#toString will throw NPE if parameters is null:

      WritableRpcEngine.Invocation#toString
            buffer.append(methodName);
            buffer.append("(");
            for (int i = 0; i < parameters.length; i++) {
              if (i != 0)
                buffer.append(", ");
              buffer.append(parameters[i]);
            }
            buffer.append(")");
      

      Attachments

        1. HADOOP-14511.002.patch
          1 kB
          John Zhuge
        2. HADOOP-14511.001.patch
          1 kB
          John Zhuge

        Issue Links

          Activity

            People

              jzhuge John Zhuge
              jzhuge John Zhuge
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: