jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angela (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCR-2981) Bundle of events may be dropped due to NP.
Date Wed, 01 Jun 2011 15:18:47 GMT

    [ https://issues.apache.org/jira/browse/JCR-2981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042224#comment-13042224
] 

angela commented on JCR-2981:
-----------------------------

hi timothee

could also provide a test that illustrates the issue? that would be great.
some time ago a file a issue that might be related to this one (see JCR-2566)... having a
test would help a lot.

> 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
>            Priority: Minor
>         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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message