Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3483

Result set iterator causes infinite loop when used after session has been closed

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.2.13, 2.4.3, 2.5.2
    • Fix Version/s: 2.4.4, 2.5.3, 2.2.14
    • Component/s: None
    • Labels:
      None

      Description

      org.apache.jackrabbit.core.query.lucene.NodeIteratorImpl#fetchNext has a bug where it causes the iterator never to move on to the next element (node).

      When the iterator is used after the session has been logged out the FetchNext#perform operation is never called because SessionState#perform throws an exception when first checking if the session is alive. This causes the current iterator node never to be reset.

        Attachments

          Activity

            People

            • Assignee:
              unico@apache.org Unico Hommes
              Reporter:
              unico@apache.org Unico Hommes
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: