commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Fedenkov (JIRA)" <j...@apache.org>
Subject [jira] Created: (JXPATH-142) DynamicBean with null name property
Date Mon, 01 Feb 2010 13:01:51 GMT
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.


Mime
View raw message