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.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.

        Activity

        Unico Hommes created issue -
        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.
        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 2.2 branch in revision 1421478.

        Show
        Unico Hommes added a comment - Fix committed to 2.2 branch in revision 1421478.
        Unico Hommes made changes -
        Field Original Value New Value
        Fix Version/s 2.2.14 [ 12323318 ]
        Fix Version/s 2.4.4 [ 12323255 ]
        Fix Version/s 2.6 [ 12319480 ]
        Unico Hommes made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Jukka Zitting made changes -
        Fix Version/s 2.5.3 [ 12323296 ]
        Fix Version/s 2.6 [ 12319480 ]
        Jukka Zitting made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        15m 16s 1 Unico Hommes 13/Dec/12 20:09
        Resolved Resolved Closed Closed
        143d 15h 11m 1 Jukka Zitting 06/May/13 12:20

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development