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

WritableRpcEngine.Invocation#toString NPE on null parameters

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.0
    • Fix Version/s: 2.9.0, 2.8.2
    • Component/s: ipc
    • Labels:
      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

              • Assignee:
                jzhuge John Zhuge
                Reporter:
                jzhuge John Zhuge
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: