[
https://issues.apache.org/jira/browse/JXPATH-142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matt Benson resolved JXPATH-142.
--------------------------------
Resolution: Fixed
Committed revision 1133160.
> DynamicBean with null name property
> -----------------------------------
>
> Key: JXPATH-142
> URL: https://issues.apache.org/jira/browse/JXPATH-142
> Project: Commons JXPath
> Issue Type: Bug
> Affects Versions: 1.3
> Reporter: Ivan Fedenkov
>
> VariablePointer.getImmediateValuePointer() on line 127 creates a
> DynamicPointer with name==null :
> {code}
> public NodePointer getImmediateValuePointer() {
> if (valuePointer == null) {
> ...
> if (actual) {
> ...
> valuePointer =
> NodePointer.newChildNodePointer(this, null, value);
> }
> ...
> }
> return valuePointer;
> }
> {code}
> then DynamicPointer.equals(...) or DynamicPointer.hashCode() throws NPE.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira