Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-6570

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: