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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.2.13, 2.4.3, 2.5.2
    • 0.9, 2.4.4, 2.5.3
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: