Description
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
- vscode-json-languageserver@1.3.4
added 23 packages from 10 contributors in 2.587s
npm WARN deprecated request@2.88.2: request has been deprecated, see Request’s Past, Present and Future request/request#3142
npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see Request’s Past, Present and Future request/request#3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated left-pad@1.3.0: use String.prototype.padStart()
/home/eblack/.emacs.d/.cache/lsp/npm/bash-language-server/bin/bash-language-server -> /home/eblack/.emacs.d/.cache/lsp/npm/bash-language-server/lib/node_modules/bash-language-server/bin/main.js- bash-language-server@1.17.0
added 115 packages from 220 contributors in 4.378s
/home/eblack/.emacs.d/.cache/lsp/npm/vscode-css-languageserver-bin/bin/css-languageserver -> /home/eblack/.emacs.d/.cache/lsp/npm/vscode-css-languageserver-bin/lib/node_modules/vscode-css-languageserver-bin/cssServerMain.js- vscode-css-languageserver-bin@1.4.0
added 9 packages from 3 contributors in 1.424s
lsp-java-bundles is set to nil. Any help would be appreciated.