hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hairong Kuang (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-6570) RPC#stopProxy throws NullPointerExcption if getProxyEngine(proxy) returns null
Date Wed, 17 Feb 2010 18:24:28 GMT

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

Hairong Kuang updated HADOOP-6570:
----------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 0.21.0)
           Status: Resolved  (was: Patch Available)

I've committed this!

> 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
>          Components: ipc
>            Reporter: Hairong Kuang
>            Assignee: Hairong Kuang
>             Fix For: 0.22.0
>
>         Attachments: stopProxy.patch
>
>
> {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.


Mime
View raw message