You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Debugging broken: Cannot read field "path" because "lspFrame.source" is null #4285
This happens in the LSP logs and no stack trace is available in the debugger (on all breakpoints):
Dec 15, 2025 11:20:13 AM com.microsoft.java.debug.core.adapter.ProtocolServer lambda$dispatchRequest$1
SEVERE: [error response][stackTrace]: Cannot read field "path" because "lspFrame.source" is null
java.lang.NullPointerException: Cannot read field "path" because "lspFrame.source" is null
at com.microsoft.java.debug.core.adapter.handler.StackTraceRequestHandler.handle(StackTraceRequestHandler.java:118)
at com.microsoft.java.debug.core.adapter.DebugAdapter.lambda$dispatchRequest$0(DebugAdapter.java:94)
at java.base/java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:1208)
at java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2368)
at com.microsoft.java.debug.core.adapter.DebugAdapter.dispatchRequest(DebugAdapter.java:93)
at com.microsoft.java.debug.core.adapter.ProtocolServer.dispatchRequest(ProtocolServer.java:132)
at com.microsoft.java.debug.core.protocol.AbstractProtocolServer.lambda$new$0(AbstractProtocolServer.java:81)
at io.reactivex.internal.observers.LambdaObserver.onNext(LambdaObserver.java:63)
at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.drainNormal(ObservableObserveOn.java:201)
at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.run(ObservableObserveOn.java:255)
at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:66)
at io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:57)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:328)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:309)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
at java.base/java.lang.Thread.run(Thread.java:1474)
Activity
mozhuanzuojing commentedon Dec 16, 2025
Resolved from microsoft/java-debug#617
chagong commentedon Dec 16, 2025
@dsyer can you try prerelease version debugger for java: 0.58.2025121609?
minjj0905 commentedon Dec 22, 2025
I’m seeing the same issue on Debugger for Java : 0.58.3
Is there a known workaround or fix for this, or any additional configuration I should check?
fbricon commentedon Jan 14, 2026
Please install vscode-java-debug 0.58.5, released earlier today. If you still have some issues with debugging, please open a ticket in https://github.com/microsoft/vscode-java-debug/issues.