Commons JXPath
  1. Commons JXPath
  2. JXPATH-51

second call to hasNext() on DOM Iterator causes NPE

    Details

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

      Operating System: Linux
      Platform: PC

      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.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Ross Gardler
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development