pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Bartlett (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIVOT-554) org.apache.pivot.beans.BeanAdapter doesn't gracefully handle keys that are nulls or empty Strings
Date Tue, 29 Jun 2010 18:56:50 GMT

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

Chris Bartlett updated PIVOT-554:
---------------------------------

    Attachment: BeanAdapterIssue.java
                BeanAdapterPatch.java

Attached 2 classes to demonstrate the issue
See comments in BeanAdapterIssue.java for details of different behaviour between versions

> org.apache.pivot.beans.BeanAdapter doesn't gracefully handle keys that are nulls or empty
Strings
> -------------------------------------------------------------------------------------------------
>
>                 Key: PIVOT-554
>                 URL: https://issues.apache.org/jira/browse/PIVOT-554
>             Project: Pivot
>          Issue Type: Bug
>          Components: core-beans
>    Affects Versions: 1.5, 1.5.1, 2.0
>         Environment: n/a
>            Reporter: Chris Bartlett
>            Priority: Minor
>             Fix For: 2.0
>
>         Attachments: BeanAdapterIssue.java, BeanAdapterPatch.java
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message