diff --git a/misc/debug-adapter/modules/debug-adapter-core/spotbugs-exclude.xml b/misc/debug-adapter/modules/debug-adapter-core/spotbugs-exclude.xml
index 834102614f91..7e528799f807 100644
--- a/misc/debug-adapter/modules/debug-adapter-core/spotbugs-exclude.xml
+++ b/misc/debug-adapter/modules/debug-adapter-core/spotbugs-exclude.xml
@@ -31,13 +31,13 @@
-
+
-
+
diff --git a/misc/debug-adapter/modules/debug-adapter-core/src/main/java/org/ballerinalang/debugadapter/JDIEventProcessor.java b/misc/debug-adapter/modules/debug-adapter-core/src/main/java/org/ballerinalang/debugadapter/JDIEventProcessor.java
index db87cf0ee53e..57d06e2297da 100755
--- a/misc/debug-adapter/modules/debug-adapter-core/src/main/java/org/ballerinalang/debugadapter/JDIEventProcessor.java
+++ b/misc/debug-adapter/modules/debug-adapter-core/src/main/java/org/ballerinalang/debugadapter/JDIEventProcessor.java
@@ -71,6 +71,7 @@ public class JDIEventProcessor {
this.breakpointProcessor = new BreakpointProcessor(context, this);
this.isRemoteVmAttached = true;
this.interruptFlag = false;
+ this.listeningTask = null;
}
BreakpointProcessor getBreakpointProcessor() {