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

ClassFunctions throws NPE searching for a function in null ns

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2 Final
    • 1.3
    • None
    • Operating System: other
      Platform: Other

    • 39563

    Description

      First thing in getFunction(...):

      if (!namespace.equals(this.namespace))

      { return null; }

      In contrast PackageFunctions has null checks. I think I can work around this by
      always using a namespace, but I can't think of any reason this behavior should
      persist into (theoretical) future versions of jxpath.

      Attachments

        1. jxpath-38.patch.txt
          0.7 kB
          Matthew Jason Benson

        Activity

          People

            Unassigned Unassigned
            gudnabrsam@yahoo.com Matt Benson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: