Skip to content

dap-debug open-network-stream: Wrong type argument: stringp, nil #479

@eb245

Description

@eb245

I'm having the same problem as bugs #7 and #31. This is the backtrace:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
make-network-process(:name "localhost(9222)" :buffer nil :host "localhost" :service nil :nowait nil :tls-parameters nil)
open-network-stream("localhost(9222)" nil "localhost" nil :type plain :coding no-conversion)
dap--open-network-stream("localhost(9222)" "localhost" nil)
dap--create-session((:type "java" :request "attach" :hostName "localhost" :port 9222 :host "localhost" :name "localhost(9222)" :debugServer nil :__sessionId "1623257025.4380374"))
dap-start-debugging((:type "java" :request "attach" :hostName "localhost" :port 9222 :host "localhost" :name "localhost(9222)" :debugServer nil :__sessionId "1623257025.4380374"))
dap-debug((:type "java" :request "attach" :hostName "localhost" :port 9222 :host "localhost" :name "localhost(9222)" :debugServer nil :__sessionId "1623257025.4380374"))
funcall-interactively(dap-debug (:type "java" :request "attach" :hostName "localhost" :port 9222 :host "localhost" :name "localhost(9222)" :debugServer nil :__sessionId "1623257025.4380374"))
call-interactively(dap-debug record nil)
command-execute(dap-debug record)
execute-extended-command(nil "dap-debug" nil)
funcall-interactively(execute-extended-command nil "dap-debug" nil)
call-interactively(execute-extended-command nil nil)
command-execute(execute-extended-command)

I did try to delete lsp-java-server-install-dir and then call lsp-install-server, but it didn't help. The install log output was

lsp-java-bundles is set to nil. Any help would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions