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:27 UTC

[jira] Created: (HADOOP-6570) RPC#stopProxy throws NullPointerExcption if getProxyEngine(proxy) returns null

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


{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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6570) RPC#stopProxy throws NullPointerExcption if getProxyEngine(proxy) returns null

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12834927#action_12834927 ] 

Hudson commented on HADOOP-6570:
--------------------------------

Integrated in Hadoop-Common-trunk-Commit #174 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk-Commit/174/])
    . RPC#stopProxy throws NPE if getProxyEngine(proxy) returns null. Contributed by Hairong Kuang.


> 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.


[jira] Updated: (HADOOP-6570) RPC#stopProxy throws NullPointerExcption if getProxyEngine(proxy) returns null

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: stopProxy.patch

> 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
>             Fix For: 0.21.0, 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.


[jira] Updated: (HADOOP-6570) RPC#stopProxy throws NullPointerExcption if getProxyEngine(proxy) returns null

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Updated: (HADOOP-6570) RPC#stopProxy throws NullPointerExcption if getProxyEngine(proxy) returns null

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-6570:
-------------------------------------------

     Component/s: ipc
    Hadoop Flags: [Reviewed]

+1 patch looks good.

> 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.21.0, 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.


[jira] Commented: (HADOOP-6570) RPC#stopProxy throws NullPointerExcption if getProxyEngine(proxy) returns null

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12834589#action_12834589 ] 

Hadoop QA commented on HADOOP-6570:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12436065/stopProxy.patch
  against trunk revision 910741.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h1.grid.sp2.yahoo.net/7/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h1.grid.sp2.yahoo.net/7/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h1.grid.sp2.yahoo.net/7/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h1.grid.sp2.yahoo.net/7/console

This message is automatically generated.

> 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
>             Fix For: 0.21.0, 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.


[jira] Commented: (HADOOP-6570) RPC#stopProxy throws NullPointerExcption if getProxyEngine(proxy) returns null

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835174#action_12835174 ] 

Hudson commented on HADOOP-6570:
--------------------------------

Integrated in Hadoop-Common-trunk #253 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk/253/])
    . RPC#stopProxy throws NPE if getProxyEngine(proxy) returns null. Contributed by Hairong Kuang.


> 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.


[jira] Updated: (HADOOP-6570) RPC#stopProxy throws NullPointerExcption if getProxyEngine(proxy) returns null

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Fix Version/s: 0.22.0
                   0.21.0
           Status: Patch Available  (was: Open)

> 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
>             Fix For: 0.21.0, 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.


[jira] Updated: (HADOOP-6570) RPC#stopProxy throws NullPointerExcption if getProxyEngine(proxy) returns null

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
     [ 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.