Skip to content

Debugging broken: Cannot read field "path" because "lspFrame.source" is null #4285

Closed as not planned

Description

@dsyer

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

  1. mozhuanzuojing commented on Dec 16, 2025

    @mozhuanzuojing
    Contributor
  2. chagong commented on Dec 16, 2025

    @chagong
    Contributor

    @dsyer can you try prerelease version debugger for java: 0.58.2025121609?

  3. minjj0905 commented on Dec 22, 2025

    @minjj0905

    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?

    Image
  4. fbricon commented on Jan 14, 2026

    @fbricon
    Collaborator

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions