You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Unico Hommes (JIRA)" <ji...@apache.org> on 2012/12/13 20:54:14 UTC

[jira] [Created] (JCR-3483) Result set iterator causes infinite loop when used after session has been closed

Unico Hommes created JCR-3483:
---------------------------------

             Summary: Result set iterator causes infinite loop when used after session has been closed
                 Key: JCR-3483
                 URL: https://issues.apache.org/jira/browse/JCR-3483
             Project: Jackrabbit Content Repository
          Issue Type: Bug
    Affects Versions: 2.5.2, 2.4.3, 2.2.13
            Reporter: Unico Hommes
            Assignee: Unico Hommes
            Priority: Critical


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira