commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Benson (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (JXPATH-143) JXPathContext.iterate does not work with null value in LazyDynaBean
Date Tue, 07 Jun 2011 21:01:00 GMT

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

Matt Benson closed JXPATH-143.
------------------------------

    Resolution: Fixed

> JXPathContext.iterate does not work with null value in LazyDynaBean
> -------------------------------------------------------------------
>
>                 Key: JXPATH-143
>                 URL: https://issues.apache.org/jira/browse/JXPATH-143
>             Project: Commons JXPath
>          Issue Type: Bug
>    Affects Versions: 1.3
>            Reporter: Mikael Nordenberg
>
> The following code fails with a NoSuchElementException:
> LazyDynaBean bean = new LazyDynaBean();
> bean.set("test", null);		
> JXPathContext context = JXPathContext.newContext(bean);
> context.iterate("test").next();
> Replacing the value in the bean for anything but null works as expected.

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

Mime
View raw message