hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Zhuge (JIRA)" <j...@apache.org>
Subject [jira] [Moved] (HADOOP-14511) WritableRpcEngine.Invocation#toString NPE on null parameters
Date Thu, 08 Jun 2017 21:01:18 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-14511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

John Zhuge moved HDFS-11954 to HADOOP-14511:
--------------------------------------------

    Affects Version/s:     (was: 2.8.0)
                       2.8.0
     Target Version/s: 2.9.0, 2.8.2  (was: 2.9.0, 2.8.2)
          Component/s:     (was: ipc)
                       ipc
                  Key: HADOOP-14511  (was: HDFS-11954)
              Project: Hadoop Common  (was: Hadoop HDFS)

> WritableRpcEngine.Invocation#toString NPE on null parameters
> ------------------------------------------------------------
>
>                 Key: HADOOP-14511
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14511
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 2.8.0
>            Reporter: John Zhuge
>            Assignee: John Zhuge
>            Priority: Minor
>
> WritableRpcEngine.Invocation#toString will throw NPE if {{parameters}} is null:
> {code:title=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(")");
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message