Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-554

org.apache.pivot.beans.BeanAdapter doesn't gracefully handle keys that are nulls or empty Strings

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.5, 1.5.1, 2.0
    • 2.0
    • core-beans
    • None
    • n/a

    Description

      org.apache.pivot.beans.BeanAdapter doesn't gracefully handle keys that are nulls or empty Strings
      java.lang.NullPointerException & java.lang.StringIndexOutOfBoundsException can be thrown for nulls and empty Strings respectively.

      Attachments

        1. BeanAdapterIssue.java
          2 kB
          Christopher James Bartlett
        2. BeanAdapterPatch.java
          3 kB
          Christopher James Bartlett
        3. BeanAdapter.patch
          4 kB
          Christopher James Bartlett

        Activity

          People

            Unassigned Unassigned
            cbartlett Christopher James Bartlett
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: