We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi I got this error while finding the references via ccls.xref.
ccls.xref
Debugger entered--Lisp error: (wrong-type-argument json-value-p ccls\.xref) json-serialize((:jsonrpc "2.0" :method "workspace/executeCommand" :params (:command ccls\.xref :arguments ["{\"usr\":16804906676938032620,\"kind\":3,\"field\":\"uses..."]) :id 539) :null-object nil :false-object :json-false) lsp--make-message((:jsonrpc "2.0" :method "workspace/executeCommand" :params (:command ccls\.xref :arguments ["{\"usr\":16804906676938032620,\"kind\":3,\"field\":\"uses..."]) :id 539)) #f(compiled-function (workspace) #<bytecode -0x73b5e50af1ba5e4>)(#s(lsp--workspace :ewoc nil :server-capabilities #<hash-table equal 22/22 0x1ff7f7e66aff> :registered-server-capabilities nil :root "/Users/nd/src/qmk_firmware" :client #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn) #<bytecode 0x3a09e35e12c44d3>) :test\? #f(compiled-function () #<bytecode 0x2348b57699501bb>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 2/65 0x1ff7f527d6a5> :request-handlers #<hash-table equal 0/65 0x1ff7f527d749> :response-handlers #<hash-table eql 0/65 0x1ff7f527db3d> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x1ff7f527bc81> :action-handlers #<hash-table equal 0/65 0x1ff7f527bf57> :major-modes (c-mode c++-mode cuda-mode objc-mode) :activation-fn nil :priority 0 :server-id ccls :multi-root nil :initialization-options #f(compiled-function () #<bytecode 0x1ffccc5bdb6d5>) :semantic-tokens-faces-overrides nil :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn nil :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil :environment-fn nil :after-open-fn nil :async-request-handlers #<hash-table equal 0/65 0x1ff7f5278faf> :download-server-fn nil :download-in-progress? nil :buffers nil :synchronize-sections nil) :host-root nil :proc #<process ccls> :cmd-proc #<process ccls> :buffers (#<buffer rgb_matrix.c> #<buffer rgb_matrix_user.h> #<buffer rgb_matrix_user.c>) :semantic-tokens-faces nil :semantic-tokens-modifier-faces nil :extra-client-capabilities nil :status initialized :metadata #<hash-table equal 0/65 0x1ff7f7e348ed> :watches #<hash-table equal 0/65 0x1ff7f7e34b1b> :workspace-folders nil :last-id 0 :status-string nil :shutdown-action nil :diagnostics #<hash-table equal 3/65 0x1ff7f7e34b3b> :work-done-tokens #<hash-table equal 0/65 0x1ff7f7e34b5b>)) mapc(#f(compiled-function (workspace) #<bytecode -0x73b5e50af1ba5e4>) (#s(lsp--workspace :ewoc nil :server-capabilities #<hash-table equal 22/22 0x1ff7f7e66aff> :registered-server-capabilities nil :root "/Users/nd/src/qmk_firmware" :client #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn) #<bytecode 0x3a09e35e12c44d3>) :test\? #f(compiled-function () #<bytecode 0x2348b57699501bb>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 2/65 0x1ff7f527d6a5> :request-handlers #<hash-table equal 0/65 0x1ff7f527d749> :response-handlers #<hash-table eql 0/65 0x1ff7f527db3d> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x1ff7f527bc81> :action-handlers #<hash-table equal 0/65 0x1ff7f527bf57> :major-modes (c-mode c++-mode cuda-mode objc-mode) :activation-fn nil :priority 0 :server-id ccls :multi-root nil :initialization-options #f(compiled-function () #<bytecode 0x1ffccc5bdb6d5>) :semantic-tokens-faces-overrides nil :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn nil :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil :environment-fn nil :after-open-fn nil :async-request-handlers #<hash-table equal 0/65 0x1ff7f5278faf> :download-server-fn nil :download-in-progress? nil :buffers nil :synchronize-sections nil) :host-root nil :proc #<process ccls> :cmd-proc #<process ccls> :buffers (#<buffer rgb_matrix.c> #<buffer rgb_matrix_user.h> #<buffer rgb_matrix_user.c>) :semantic-tokens-faces nil :semantic-tokens-modifier-faces nil :extra-client-capabilities nil :status initialized :metadata #<hash-table equal 0/65 0x1ff7f7e348ed> :watches #<hash-table equal 0/65 0x1ff7f7e34b1b> :workspace-folders nil :last-id 0 :status-string nil :shutdown-action nil :diagnostics #<hash-table equal 3/65 0x1ff7f7e34b3b> :work-done-tokens #<hash-table equal 0/65 0x1ff7f7e34b5b>))) seq-do(#f(compiled-function (workspace) #<bytecode -0x73b5e50af1ba5e4>) (#s(lsp--workspace :ewoc nil :server-capabilities #<hash-table equal 22/22 0x1ff7f7e66aff> :registered-server-capabilities nil :root "/Users/nd/src/qmk_firmware" :client #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn) #<bytecode 0x3a09e35e12c44d3>) :test\? #f(compiled-function () #<bytecode 0x2348b57699501bb>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 2/65 0x1ff7f527d6a5> :request-handlers #<hash-table equal 0/65 0x1ff7f527d749> :response-handlers #<hash-table eql 0/65 0x1ff7f527db3d> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x1ff7f527bc81> :action-handlers #<hash-table equal 0/65 0x1ff7f527bf57> :major-modes (c-mode c++-mode cuda-mode objc-mode) :activation-fn nil :priority 0 :server-id ccls :multi-root nil :initialization-options #f(compiled-function () #<bytecode 0x1ffccc5bdb6d5>) :semantic-tokens-faces-overrides nil :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn nil :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil :environment-fn nil :after-open-fn nil :async-request-handlers #<hash-table equal 0/65 0x1ff7f5278faf> :download-server-fn nil :download-in-progress? nil :buffers nil :synchronize-sections nil) :host-root nil :proc #<process ccls> :cmd-proc #<process ccls> :buffers (#<buffer rgb_matrix.c> #<buffer rgb_matrix_user.h> #<buffer rgb_matrix_user.c>) :semantic-tokens-faces nil :semantic-tokens-modifier-faces nil :extra-client-capabilities nil :status initialized :metadata #<hash-table equal 0/65 0x1ff7f7e348ed> :watches #<hash-table equal 0/65 0x1ff7f7e34b1b> :workspace-folders nil :last-id 0 :status-string nil :shutdown-action nil :diagnostics #<hash-table equal 3/65 0x1ff7f7e34b3b> :work-done-tokens #<hash-table equal 0/65 0x1ff7f7e34b5b>))) lsp--send-request-async((:jsonrpc "2.0" :method "workspace/executeCommand" :params (:command ccls\.xref :arguments ["{\"usr\":16804906676938032620,\"kind\":3,\"field\":\"uses..."]) :id 539) #f(compiled-function (res) #<bytecode -0x1d7c3c516d79badf>) detached #f(compiled-function (err) #<bytecode -0x66bd23308c35243>) nil nil :sync-request) lsp-request-async("workspace/executeCommand" (:command ccls\.xref :arguments ["{\"usr\":16804906676938032620,\"kind\":3,\"field\":\"uses..."]) #f(compiled-function (res) #<bytecode -0x1d7c3c516d79badf>) :error-handler #f(compiled-function (err) #<bytecode -0x66bd23308c35243>) :no-merge nil :mode detached :cancel-token :sync-request) lsp-request("workspace/executeCommand" (:command ccls\.xref :arguments ["{\"usr\":16804906676938032620,\"kind\":3,\"field\":\"uses..."])) lsp-workspace-command-execute(ccls\.xref ["{\"usr\":16804906676938032620,\"kind\":3,\"field\":\"uses..."]) lsp--send-execute-command(ccls\.xref ["{\"usr\":16804906676938032620,\"kind\":3,\"field\":\"uses..."]) #f(compiled-function (server command arguments) #<bytecode 0xeec6edf447ce4a6>)(ccls ccls\.xref ["{\"usr\":16804906676938032620,\"kind\":3,\"field\":\"uses..."]) apply(#f(compiled-function (server command arguments) #<bytecode 0xeec6edf447ce4a6>) ccls (ccls\.xref ["{\"usr\":16804906676938032620,\"kind\":3,\"field\":\"uses..."])) #f(compiled-function (arg &rest args) #<bytecode 0x137c210314b86916>)(ccls ccls\.xref ["{\"usr\":16804906676938032620,\"kind\":3,\"field\":\"uses..."]) apply(#f(compiled-function (arg &rest args) #<bytecode 0x137c210314b86916>) ccls ccls\.xref ["{\"usr\":16804906676938032620,\"kind\":3,\"field\":\"uses..."]) lsp-execute-command(ccls ccls\.xref ["{\"usr\":16804906676938032620,\"kind\":3,\"field\":\"uses..."]) lsp--execute-command(#<hash-table equal 3/3 0x1ff7f7e7fb1d>) #f(compiled-function () (interactive nil) #<bytecode -0x1c34a3eaa4ebfd80>)() funcall-interactively(#f(compiled-function () (interactive nil) #<bytecode -0x1c34a3eaa4ebfd80>)) call-interactively(#f(compiled-function () (interactive nil) #<bytecode -0x1c34a3eaa4ebfd80>) nil nil) #f(compiled-function (cmd &optional record-flag keys special) "Execute CMD as an editor command.\nCMD must be a symbol that satisfies the `commandp' predicate.\n\nOptional second arg RECORD-FLAG non-nil means unconditionally put\nthis command in the variable `command-history'. Otherwise, that\nis done only if an arg is read using the minibuffer.\n\nThe argument KEYS specifies the value to use instead of the\nreturn value of the `this-command-keys' function when reading the\narguments; if it is nil, `this-command-keys' is used.\n\nThe argument SPECIAL, if non-nil, means that this command is\nexecuting a special event, so ignore the prefix argument and\ndon't clear it." #<bytecode -0x1298ba8baa864141>)(#f(compiled-function () (interactive nil) #<bytecode -0x1c34a3eaa4ebfd80>) nil nil nil) ad-Advice-command-execute(#f(compiled-function (cmd &optional record-flag keys special) "Execute CMD as an editor command.\nCMD must be a symbol that satisfies the `commandp' predicate.\n\nOptional second arg RECORD-FLAG non-nil means unconditionally put\nthis command in the variable `command-history'. Otherwise, that\nis done only if an arg is read using the minibuffer.\n\nThe argument KEYS specifies the value to use instead of the\nreturn value of the `this-command-keys' function when reading the\narguments; if it is nil, `this-command-keys' is used.\n\nThe argument SPECIAL, if non-nil, means that this command is\nexecuting a special event, so ignore the prefix argument and\ndon't clear it." #<bytecode -0x1298ba8baa864141>) #f(compiled-function () (interactive nil) #<bytecode -0x1c34a3eaa4ebfd80>)) apply(ad-Advice-command-execute #f(compiled-function (cmd &optional record-flag keys special) "Execute CMD as an editor command.\nCMD must be a symbol that satisfies the `commandp' predicate.\n\nOptional second arg RECORD-FLAG non-nil means unconditionally put\nthis command in the variable `command-history'. Otherwise, that\nis done only if an arg is read using the minibuffer.\n\nThe argument KEYS specifies the value to use instead of the\nreturn value of the `this-command-keys' function when reading the\narguments; if it is nil, `this-command-keys' is used.\n\nThe argument SPECIAL, if non-nil, means that this command is\nexecuting a special event, so ignore the prefix argument and\ndon't clear it." #<bytecode -0x1298ba8baa864141>) #f(compiled-function () (interactive nil) #<bytecode -0x1c34a3eaa4ebfd80>)) command-execute(#f(compiled-function () (interactive nil) #<bytecode -0x1c34a3eaa4ebfd80>))
The text was updated successfully, but these errors were encountered:
@seagle0128 , the PR here #108 should fix your problem.
Sorry, something went wrong.
@altomcat Thanks for letting me know!
Fix: fail to call ccls.xref
a19b155
See emacs-lsp/emacs-ccls#109.
No branches or pull requests
Hi I got this error while finding the references via
ccls.xref
.The text was updated successfully, but these errors were encountered: