Skip to content

Cannot read field "path" because "lspFrame.source" is null #612

Description

@BenLocal

The latest version 0.58.3 has this problem where breakpoints don't hit properly. Rolling back to version 0.58.2 works normally.

Environment:

eclipse.buildId=unknown
java.version=21.0.8
java.vendor=Eclipse Adoptium
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  --pipe=/tmp/lsp-28f8edb1a61755b1a3ed93afcca034cb.sock
Command-line arguments:  -data /root/.cursor-server/data/User/workspaceStorage/878dfebfddcc460ff6dbd940aeaa628a/redhat.java/jdt_ws --pipe=/tmp/lsp-28f8edb1a61755b1a3ed93afcca034cb.sock

This is a continuation of log file /root/.cursor-server/data/User/workspaceStorage/878dfebfddcc460ff6dbd940aeaa628a/redhat.java/jdt_ws/.metadata/.bak_0.log
Created Time: 2025-11-07 10:13:20.999

Exception:

!ENTRY java-debug 1 0 2025-11-07 10:14:49.557
!MESSAGE 
[request]
{"command":"stackTrace","arguments":{"threadId":62,"startFrame":0,"levels":20},"type":"request","seq":35}

!ENTRY java-debug 4 0 2025-11-07 10:14:49.588
!MESSAGE [error response][stackTrace]: Cannot read field "path" because "lspFrame.source" is null
!STACK 0
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(Unknown Source)
	at java.base/java.util.concurrent.CompletableFuture.thenCompose(Unknown Source)
	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(Unknown Source)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)

Activity

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