You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (Updated) (JIRA)" <ji...@apache.org> on 2011/11/16 18:13:51 UTC

[jira] [Updated] (JCR-2981) Bundle of events may be dropped due to NP.

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

Jukka Zitting updated JCR-2981:
-------------------------------

    Fix Version/s: 2.2.8

This was merged to the 2.2 branch in revision 1137915.
                
> Bundle of events may be dropped due to NP.
> ------------------------------------------
>
>                 Key: JCR-2981
>                 URL: https://issues.apache.org/jira/browse/JCR-2981
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-jcr2spi
>    Affects Versions: 2.2.5
>            Reporter: Timothee Maret
>            Assignee: angela
>            Priority: Minor
>             Fix For: 2.2.8, 2.3
>
>         Attachments: HierarchyManagerImpl.java.patch
>
>
> In [1], if the resolver fails to lookup a node entry, a NP is thrown. This exception will break the loop which forwards the events to the observer in [2].
> This will result in an observer not receiving events that he should have.
> [1] org.apache.jackrabbit.jcr2spi.hierarchy.HierarchyManagerImpl#lookup(ItemId workspaceItemId)
> [2] org.apache.jackrabbit.jcr2spi.WorkspaceManager#onEventReceived(EventBundle[] eventBundles,InternalEventListener[] lstnrs)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira