Hadoop Common
  1. Hadoop Common
  2. HADOOP-6570

RPC#stopProxy throws NullPointerExcption if getProxyEngine(proxy) returns null

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: ipc
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

        public static void stopProxy(Object proxy) {
          if (proxy!=null) {
            getProxyEngine(proxy).stopProxy(proxy);
          }
        }
      

      The method should check if getProxyEngine(proxy) returns null or not before stopProxy is called.

      1. stopProxy.patch
        1 kB
        Hairong Kuang

        Issue Links

          Activity

            People

            • Assignee:
              Hairong Kuang
              Reporter:
              Hairong Kuang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development