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 21:10:13 UTC

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

     [ https://issues.apache.org/jira/browse/JCR-3483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Unico Hommes resolved JCR-3483.
-------------------------------

    Resolution: Fixed
    
> 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.2.13, 2.4.3, 2.5.2
>            Reporter: Unico Hommes
>            Assignee: Unico Hommes
>            Priority: Critical
>             Fix For: 2.2.14, 2.4.4, 2.6
>
>
> 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