hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Helmling (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-3702) Exec throws a npe while writing a method that has a null value argument
Date Sat, 26 Mar 2011 21:52:05 GMT

     [ https://issues.apache.org/jira/browse/HBASE-3702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gary Helmling updated HBASE-3702:
---------------------------------

    Attachment: HBASE-3702.patch

Trivial fix for NPE in Exec.write() parameter serialization.

> Exec throws a npe while writing a method that has a null value argument
> -----------------------------------------------------------------------
>
>                 Key: HBASE-3702
>                 URL: https://issues.apache.org/jira/browse/HBASE-3702
>             Project: HBase
>          Issue Type: Bug
>          Components: coprocessors
>            Reporter: Himanshu Vashishtha
>            Assignee: Gary Helmling
>         Attachments: HBASE-3702.patch
>
>
> Exec write method invokes getClass() on its arguments list for finding the argument's
class, which gives a npe in case the argument is null. There is already an parameterClasses
array in Invoker (its super class), which is populated with correct values (by method.getParameterTypes()).
One can use this array.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message