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.
-
You can reply to this email to add a comment to the issue online.