Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-5759

HBaseClient throws NullPointerException when EOFException should be used.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 0.95.0
    • None
    • None
    • Reviewed

    Description

      When a RPC data input stream is closed, protobuf doesn't raise an EOFException, it returns a null RpcResponse object.

      We need to check if the response is null before trying to access it.

      Attachments

        1. hbase-5759.patch
          1.0 kB
          Jimmy Xiang

        Issue Links

          Activity

            People

              jxiang Jimmy Xiang
              jxiang Jimmy Xiang
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: