HBaseClient throws NullPointerException when EOFException should be used.
-------------------------------------------------------------------------

                 Key: HBASE-5759
                 URL: https://issues.apache.org/jira/browse/HBASE-5759
             Project: HBase
          Issue Type: Bug
            Reporter: Jimmy Xiang
            Assignee: Jimmy Xiang
            Priority: Trivial
         Attachments: hbase-5759.patch

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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to