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