[
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