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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.21.0
    • ipc
    • None
    • 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

        1. stopProxy.patch
          1 kB
          Hairong Kuang

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: