This is an automated email from the ASF dual-hosted git repository. kwin pushed a commit to branch bugfix/tracer-npe-during-deactivate in repository https://gitbox.apache.org/repos/asf/sling-ide-tooling.git
commit 781416f70849039842521044633a4d598ff923ef Author: Konrad Windszus <[email protected]> AuthorDate: Tue Oct 14 15:51:28 2025 +0200 SLING-12965 Fix initialization of debugOptionsListenerRegistration This prevents the NPE during Tracer.deactivate() --- .../src/org/apache/sling/ide/eclipse/core/debug/impl/Tracer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclipse/eclipse-core/src/org/apache/sling/ide/eclipse/core/debug/impl/Tracer.java b/eclipse/eclipse-core/src/org/apache/sling/ide/eclipse/core/debug/impl/Tracer.java index 0e0dfa3d..7ccf7d7c 100644 --- a/eclipse/eclipse-core/src/org/apache/sling/ide/eclipse/core/debug/impl/Tracer.java +++ b/eclipse/eclipse-core/src/org/apache/sling/ide/eclipse/core/debug/impl/Tracer.java @@ -47,7 +47,7 @@ public class Tracer implements DebugOptionsListener, LogSubscriber { @Activate public void activate(BundleContext context) { // defer registration of the DebugOptionsListener service until this component is activated, otherwise this bundle is eagerly loaded by Equinox - context.registerService(DebugOptionsListener.class, this, null); + debugOptionsListenerRegistration = context.registerService(DebugOptionsListener.class, this, null); } @Deactivate
