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 Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.2.13, 2.4.3, 2.5.2
    • Fix Version/s: 2.2.14, 2.4.4, 2.5.3
    • 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.

        Activity

        Hide
        Unico Hommes added a comment -

        Fix committed to 2.2 branch in revision 1421478.

        Show
        Unico Hommes added a comment - Fix committed to 2.2 branch in revision 1421478.
        Hide
        Unico Hommes added a comment -

        Fix committed to 2.4 branch in revision 1421477.

        Show
        Unico Hommes added a comment - Fix committed to 2.4 branch in revision 1421477.
        Hide
        Unico Hommes added a comment -

        Fix committed to trunk in revision 1421472.

        Show
        Unico Hommes added a comment - Fix committed to trunk in revision 1421472.

          People

          • Assignee:
            Unico Hommes
            Reporter:
            Unico Hommes
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development