Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 56A746144 for ; Wed, 1 Jun 2011 15:19:29 +0000 (UTC) Received: (qmail 12331 invoked by uid 500); 1 Jun 2011 15:19:28 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 12271 invoked by uid 500); 1 Jun 2011 15:19:28 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 12185 invoked by uid 99); 1 Jun 2011 15:19:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 15:19:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 15:19:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 681D6EE54C for ; Wed, 1 Jun 2011 15:18:47 +0000 (UTC) Date: Wed, 1 Jun 2011 15:18:47 +0000 (UTC) From: "angela (JIRA)" To: dev@jackrabbit.apache.org Message-ID: <681355.59898.1306941527423.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <881050896.59788.1306940327536.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Issue Comment Edited] (JCR-2981) Bundle of events may be dropped due to NP. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JCR-2981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042224#comment-13042224 ] angela edited comment on JCR-2981 at 6/1/11 3:17 PM: ----------------------------------------------------- hi timothee could also provide a test that illustrates the issue? that would be great. some time ago i filed an issue that might be related to this one (see JCR-2566)... having a test would help a lot. was (Author: anchela): 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