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

second call to hasNext() on DOM Iterator causes NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0 Final
    • None
    • None
    • Operating System: Linux
      Platform: PC

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: