You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by am...@apache.org on 2026/05/01 07:19:37 UTC

(aries-rsa) 01/07: ARIES-2203 Fix EventProducer exception invoking one RemoteServiceAdminListener prevents all other listeners from receiving event

This is an automated email from the ASF dual-hosted git repository.

amichair pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/aries-rsa.git

commit 6733bbd97be9be094b52b7f450c076063bcd3368
Author: Amichai Rothman <am...@apache.org>
AuthorDate: Wed Apr 29 20:29:25 2026 +0300

    ARIES-2203 Fix EventProducer exception invoking one RemoteServiceAdminListener prevents all other listeners from receiving event
---
 rsa/src/main/java/org/apache/aries/rsa/core/event/EventProducer.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/rsa/src/main/java/org/apache/aries/rsa/core/event/EventProducer.java b/rsa/src/main/java/org/apache/aries/rsa/core/event/EventProducer.java
index 24a06821..93d8b0e8 100644
--- a/rsa/src/main/java/org/apache/aries/rsa/core/event/EventProducer.java
+++ b/rsa/src/main/java/org/apache/aries/rsa/core/event/EventProducer.java
@@ -107,6 +107,8 @@ public class EventProducer {
                                         rsal, bundle.getSymbolicName());
                                 rsal.remoteAdminEvent(rsae);
                             }
+                        } catch (RuntimeException re) {
+                            LOG.error("unexpected exception when notifying {} of {}", rsal, rsae, re);
                         } finally {
                             bctx.ungetService(sref);
                         }