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

second call to hasNext() on DOM Iterator causes NPE

    Details

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

      Operating System: Linux
      Platform: PC

    • Bugzilla Id:
      13656

      Description

      A second call to an empty DOM Iterator causes a NullPointerException in
      DOMNodeIterator. The attached patch to DOMModelTest tests for and illustrates
      the problem.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ross@saafe.org Ross Gardler
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: