[ 
https://issues.apache.org/jira/browse/HDFS-11954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16043400#comment-16043400
 ] 

John Zhuge commented on HDFS-11954:
-----------------------------------

WriteableRPCEngine is deprecated in trunk, so won't fix in trunk.

> WritableRpcEngine.Invocation#toString should handle null parameters
> -------------------------------------------------------------------
>
>                 Key: HDFS-11954
>                 URL: https://issues.apache.org/jira/browse/HDFS-11954
>             Project: Hadoop HDFS
>          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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to