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

ClassFunctions throws NPE searching for a function in null ns

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2 Final
    • Fix Version/s: 1.3
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

    • Bugzilla Id:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: