You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Hairong Kuang (JIRA)" <ji...@apache.org> on 2010/02/17 01:19:28 UTC
[jira] Updated: (HADOOP-6570) RPC#stopProxy throws
NullPointerExcption if getProxyEngine(proxy) returns null
[ https://issues.apache.org/jira/browse/HADOOP-6570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hairong Kuang updated HADOOP-6570:
----------------------------------
Description:
{noformat}
public static void stopProxy(Object proxy) {
if (proxy!=null) {
getProxyEngine(proxy).stopProxy(proxy);
}
}
{noformat}
The method should check if getProxyEngine(proxy) returns null or not before stopProxy is called.
was:
{nonformat}
public static void stopProxy(Object proxy) {
if (proxy!=null) {
getProxyEngine(proxy).stopProxy(proxy);
}
}
{/nonformat)
The method should check if getProxyEngine(proxy) returns null or not before stopProxy is called.
> RPC#stopProxy throws NullPointerExcption if getProxyEngine(proxy) returns null
> ------------------------------------------------------------------------------
>
> Key: HADOOP-6570
> URL: https://issues.apache.org/jira/browse/HADOOP-6570
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Hairong Kuang
> Assignee: Hairong Kuang
>
> {noformat}
> public static void stopProxy(Object proxy) {
> if (proxy!=null) {
> getProxyEngine(proxy).stopProxy(proxy);
> }
> }
> {noformat}
> The method should check if getProxyEngine(proxy) returns null or not before stopProxy is called.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.