You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Zhihong Yu (JIRA)" <ji...@apache.org> on 2012/05/18 17:11:07 UTC

[jira] [Commented] (HBASE-6049) Serializing "List" containing null elements will cause NullPointerException in HbaseObjectWritable.writeObject()

    [ https://issues.apache.org/jira/browse/HBASE-6049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13278848#comment-13278848 ] 

Zhihong Yu commented on HBASE-6049:
-----------------------------------

Patch makes sense.
                
> Serializing "List" containing null elements will cause NullPointerException in HbaseObjectWritable.writeObject()
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-6049
>                 URL: https://issues.apache.org/jira/browse/HBASE-6049
>             Project: HBase
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.94.0
>            Reporter: Maryann Xue
>         Attachments: HBASE-6049.patch
>
>
> An error case could be in Coprocessor AggregationClient, the median() function handles an empty region and returns a List Object with the first element as a Null value. NPE occurs in the RPC response stage and the response never gets sent.

--
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