Uploaded image for project: 'Commons JXPath'
  1. Commons JXPath
  2. JXPATH-142

DynamicBean with null name property

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3
    • None
    • None

    Description

      VariablePointer.getImmediateValuePointer() on line 127 creates a DynamicPointer with name==null :

          public NodePointer getImmediateValuePointer() {
              if (valuePointer == null) {
              ...
                  if (actual) {
              ...
                      valuePointer =
                          NodePointer.newChildNodePointer(this, null, value);
                  }
              ...
              }
              return valuePointer;
          }
      

      then DynamicPointer.equals(...) or DynamicPointer.hashCode() throws NPE.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              afel Ivan Fedenkov
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: