You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Ivan Fedenkov (JIRA)" <ji...@apache.org> on 2010/02/01 14:01:51 UTC

[jira] Created: (JXPATH-142) DynamicBean with null name property

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