[
https://issues.apache.org/jira/browse/HADOOP-14511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
John Zhuge updated HADOOP-14511:
--------------------------------
Resolution: Fixed
Fix Version/s: 2.8.2
2.9.0
Status: Resolved (was: Patch Available)
Committed to branch-2 and branch-2.8.
Thanks [~xiaochen] for the review and [~ebadger] for reporting the issue in
HDFS-11861.
> 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
> Fix For: 2.9.0, 2.8.2
>
> Attachments: HADOOP-14511.001.patch, HADOOP-14511.002.patch
>
>
> 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]