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

Exec throws a npe while writing a method that has a null value argument

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.92.0
    • Coprocessors
    • None

    Description

      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.

      Attachments

        1. HBASE-3702.patch
          3 kB
          Gary Helmling

        Activity

          People

            ghelmling Gary Helmling
            v.himanshu Himanshu Vashishtha
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: