Skip to content

Instantly share code, notes, and snippets.

@jesperes
Last active October 1, 2020 10:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jesperes/719bb7c71d58d686401491a419c0a877 to your computer and use it in GitHub Desktop.
Save jesperes/719bb7c71d58d686401491a419c0a877 to your computer and use it in GitHub Desktop.
Debugger entered--Lisp error: (wrong-type-argument consp nil)
  json-serialize((:jsonrpc "2.0" :method "workspace/didChangeConfiguration" :params (:settings #<hash-table equal 1/65 0x1430c35>)) :null-object nil :false-object :json-false)
  lsp--make-message((:jsonrpc "2.0" :method "workspace/didChangeConfiguration" :params (:settings #<hash-table equal 1/65 0x1430c35>)))
  #f(compiled-function (it) #<bytecode 0x1430d25>)(#s(lsp--workspace :ewoc #s(ewoc :buffer #<buffer *lsp-log: groovy-ls:403828*> :pretty-printer lsp--log-entry-pp :header [[[[... #5 ... #<marker at 4728 in *lsp-log: groovy-ls:403828*>] #4 "" #<marker at 4923 in *lsp-log: groovy-ls:403828*>] #3 DL-LIST #<marker at 4923 in *lsp-log: groovy-ls:403828*>] [#3 [#4 [#5 ... ... #<marker at 4658 in *lsp-log: groovy-ls:403828*>] #s(lsp--log-entry :timestamp "12:35:56 " :process-time 434 :type incoming-resp :method "initialize" :id 5 :body #<hash-table equal 1/1 0x13e1e09>) #<marker at 4084 in *lsp-log: groovy-ls:403828*>] #s(lsp--log-entry :timestamp "12:35:56 " :process-time nil :type outgoing-req :method "initialize" :id 5 :body (:processId nil :rootPath "/home/jesperes/dev/jenkins-shared-library" :clientInfo ... :rootUri "file:///home/jesperes/dev/jenkins-shared-lib..." :capabilities ... :initializationOptions nil :workDoneToken "1")) #<marker at 1 in *lsp-log: groovy-ls:403828*>] "" #<marker at 1 in *lsp-log: groovy-ls:403828*>] :footer [[[[... #5 ... #<marker at 4084 in *lsp-log: groovy-ls:403828*>] #4 #s(lsp--log-entry :timestamp "12:35:56 " :process-time nil :type outgoing-notif :method "initialized" :id nil :body #<hash-table eql 0/65 0xd93935>) #<marker at 4658 in *lsp-log: groovy-ls:403828*>] #3 #s(lsp--log-entry :timestamp "12:35:56 " :process-time nil :type outgoing-notif :method "workspace/didChangeConfiguration" :id nil :body (:settings #<hash-table equal 1/65 0x1430c35>)) #<marker at 4728 in *lsp-log: groovy-ls:403828*>] [#3 [#4 [#5 ... ... #<marker at 1 in *lsp-log: groovy-ls:403828*>] "" #<marker at 1 in *lsp-log: groovy-ls:403828*>] DL-LIST #<marker at 4923 in *lsp-log: groovy-ls:403828*>] "" #<marker at 4923 in *lsp-log: groovy-ls:403828*>] :dll [[[[... #5 ... #<marker at 4658 in *lsp-log: groovy-ls:403828*>] #4 #s(lsp--log-entry :timestamp "12:35:56 " :process-time nil :type outgoing-notif :method "workspace/didChangeConfiguration" :id nil :body ...) #<marker at 4728 in *lsp-log: groovy-ls:403828*>] #3 "" #<marker at 4923 in *lsp-log: groovy-ls:403828*>] [#3 [#4 [#5 ... ... #<marker at 4084 in *lsp-log: groovy-ls:403828*>] #s(lsp--log-entry :timestamp "12:35:56 " :process-time nil :type outgoing-req :method "initialize" :id 5 :body ...) #<marker at 1 in *lsp-log: groovy-ls:403828*>] "" #<marker at 1 in *lsp-log: groovy-ls:403828*>] DL-LIST #<marker at 4923 in *lsp-log: groovy-ls:403828*>] :last-node nil :hf-pp insert) :server-capabilities #<hash-table equal 10/10 0x13e1e31> :registered-server-capabilities nil :root "/home/jesperes/dev/jenkins-shared-library" :client #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn) #<bytecode 0x12d1d59>) :test\? #f(compiled-function () #<bytecode 0x12d1d71>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x12d1d7d> :request-handlers #<hash-table equal 0/65 0x12d2055> :response-handlers #<hash-table eql 3/65 0x12d2075> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x12d2095> :action-handlers #<hash-table equal 0/65 0x12d38c5> :major-modes (groovy-mode) :activation-fn nil :priority -1 :server-id groovy-ls :multi-root nil :initialization-options nil :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn #f(compiled-function (workspace) #<bytecode 0x12d1cd5>) :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 0x12d34c5> :download-server-fn nil :download-in-progress? nil :buffers nil) :host-root nil :proc #<process groovy-ls> :cmd-proc #<process groovy-ls> :buffers (#<buffer OrphanJobs.groovy>) :semantic-highlighting-faces nil :semantic-highlighting-modifier-faces nil :extra-client-capabilities nil :status initialized :metadata #<hash-table equal 0/65 0xe5bc31> :watches #<hash-table equal 0/65 0xe64c59> :workspace-folders nil :last-id 0 :status-string nil :shutdown-action nil :diagnostics #<hash-table equal 0/65 0xec4fbd> :work-done-tokens #<hash-table equal 0/65 0xef8615>))
  mapcar(#f(compiled-function (it) #<bytecode 0x1430d25>) (#s(lsp--workspace :ewoc #s(ewoc :buffer #<buffer *lsp-log: groovy-ls:403828*> :pretty-printer lsp--log-entry-pp :header [[[[... #7 ... #<marker at 4728 in *lsp-log: groovy-ls:403828*>] #6 "" #<marker at 4923 in *lsp-log: groovy-ls:403828*>] #5 DL-LIST #<marker at 4923 in *lsp-log: groovy-ls:403828*>] [#5 [#6 [#7 ... ... #<marker at 4658 in *lsp-log: groovy-ls:403828*>] #s(lsp--log-entry :timestamp "12:35:56 " :process-time 434 :type incoming-resp :method "initialize" :id 5 :body #<hash-table equal 1/1 0x13e1e09>) #<marker at 4084 in *lsp-log: groovy-ls:403828*>] #s(lsp--log-entry :timestamp "12:35:56 " :process-time nil :type outgoing-req :method "initialize" :id 5 :body (:processId nil :rootPath "/home/jesperes/dev/jenkins-shared-library" :clientInfo ... :rootUri "file:///home/jesperes/dev/jenkins-shared-library" :capabilities ... :initializationOptions nil :workDoneToken "1")) #<marker at 1 in *lsp-log: groovy-ls:403828*>] "" #<marker at 1 in *lsp-log: groovy-ls:403828*>] :footer [[[[... #7 ... #<marker at 4084 in *lsp-log: groovy-ls:403828*>] #6 #s(lsp--log-entry :timestamp "12:35:56 " :process-time nil :type outgoing-notif :method "initialized" :id nil :body #<hash-table eql 0/65 0xd93935>) #<marker at 4658 in *lsp-log: groovy-ls:403828*>] #5 #s(lsp--log-entry :timestamp "12:35:56 " :process-time nil :type outgoing-notif :method "workspace/didChangeConfiguration" :id nil :body (:settings #<hash-table equal 1/65 0x1430c35>)) #<marker at 4728 in *lsp-log: groovy-ls:403828*>] [#5 [#6 [#7 ... ... #<marker at 1 in *lsp-log: groovy-ls:403828*>] "" #<marker at 1 in *lsp-log: groovy-ls:403828*>] DL-LIST #<marker at 4923 in *lsp-log: groovy-ls:403828*>] "" #<marker at 4923 in *lsp-log: groovy-ls:403828*>] :dll [[[[... #7 ... #<marker at 4658 in *lsp-log: groovy-ls:403828*>] #6 #s(lsp--log-entry :timestamp "12:35:56 " :process-time nil :type outgoing-notif :method "workspace/didChangeConfiguration" :id nil :body ...) #<marker at 4728 in *lsp-log: groovy-ls:403828*>] #5 "" #<marker at 4923 in *lsp-log: groovy-ls:403828*>] [#5 [#6 [#7 ... ... #<marker at 4084 in *lsp-log: groovy-ls:403828*>] #s(lsp--log-entry :timestamp "12:35:56 " :process-time nil :type outgoing-req :method "initialize" :id 5 :body ...) #<marker at 1 in *lsp-log: groovy-ls:403828*>] "" #<marker at 1 in *lsp-log: groovy-ls:403828*>] DL-LIST #<marker at 4923 in *lsp-log: groovy-ls:403828*>] :last-node nil :hf-pp insert) :server-capabilities #<hash-table equal 10/10 0x13e1e31> :registered-server-capabilities nil :root "/home/jesperes/dev/jenkins-shared-library" :client #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn) #<bytecode 0x12d1d59>) :test\? #f(compiled-function () #<bytecode 0x12d1d71>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x12d1d7d> :request-handlers #<hash-table equal 0/65 0x12d2055> :response-handlers #<hash-table eql 3/65 0x12d2075> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x12d2095> :action-handlers #<hash-table equal 0/65 0x12d38c5> :major-modes (groovy-mode) :activation-fn nil :priority -1 :server-id groovy-ls :multi-root nil :initialization-options nil :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn #f(compiled-function (workspace) #<bytecode 0x12d1cd5>) :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 0x12d34c5> :download-server-fn nil :download-in-progress? nil :buffers nil) :host-root nil :proc #<process groovy-ls> :cmd-proc #<process groovy-ls> :buffers (#<buffer OrphanJobs.groovy>) :semantic-highlighting-faces nil :semantic-highlighting-modifier-faces nil :extra-client-capabilities nil :status initialized :metadata #<hash-table equal 0/65 0xe5bc31> :watches #<hash-table equal 0/65 0xe64c59> :workspace-folders nil :last-id 0 :status-string nil :shutdown-action nil :diagnostics #<hash-table equal 0/65 0xec4fbd> :work-done-tokens #<hash-table equal 0/65 0xef8615>)))
  lsp--send-notification((:jsonrpc "2.0" :method "workspace/didChangeConfiguration" :params (:settings #<hash-table equal 1/65 0x1430c35>)))
  lsp-notify("workspace/didChangeConfiguration" (:settings #<hash-table equal 1/65 0x1430c35>))
  lsp--set-configuration(#<hash-table equal 1/65 0x1430c35>)
  #f(compiled-function (workspace) #<bytecode 0x12d1cd5>)(#s(lsp--workspace :ewoc #s(ewoc :buffer #<buffer *lsp-log: groovy-ls:403828*> :pretty-printer lsp--log-entry-pp :header [[[[... #5 ... #<marker at 4728 in *lsp-log: groovy-ls:403828*>] #4 "" #<marker at 4923 in *lsp-log: groovy-ls:403828*>] #3 DL-LIST #<marker at 4923 in *lsp-log: groovy-ls:403828*>] [#3 [#4 [#5 ... ... #<marker at 4658 in *lsp-log: groovy-ls:403828*>] #s(lsp--log-entry :timestamp "12:35:56 " :process-time 434 :type incoming-resp :method "initialize" :id 5 :body #<hash-table equal 1/1 0x13e1e09>) #<marker at 4084 in *lsp-log: groovy-ls:403828*>] #s(lsp--log-entry :timestamp "12:35:56 " :process-time nil :type outgoing-req :method "initialize" :id 5 :body (:processId nil :rootPath "/home/jesperes/dev/jenkins-shared-library" :clientInfo ... :rootUri "file:///home/jesperes/dev/jenkins-shared-lib..." :capabilities ... :initializationOptions nil :workDoneToken "1")) #<marker at 1 in *lsp-log: groovy-ls:403828*>] "" #<marker at 1 in *lsp-log: groovy-ls:403828*>] :footer [[[[... #5 ... #<marker at 4084 in *lsp-log: groovy-ls:403828*>] #4 #s(lsp--log-entry :timestamp "12:35:56 " :process-time nil :type outgoing-notif :method "initialized" :id nil :body #<hash-table eql 0/65 0xd93935>) #<marker at 4658 in *lsp-log: groovy-ls:403828*>] #3 #s(lsp--log-entry :timestamp "12:35:56 " :process-time nil :type outgoing-notif :method "workspace/didChangeConfiguration" :id nil :body (:settings #<hash-table equal 1/65 0x1430c35>)) #<marker at 4728 in *lsp-log: groovy-ls:403828*>] [#3 [#4 [#5 ... ... #<marker at 1 in *lsp-log: groovy-ls:403828*>] "" #<marker at 1 in *lsp-log: groovy-ls:403828*>] DL-LIST #<marker at 4923 in *lsp-log: groovy-ls:403828*>] "" #<marker at 4923 in *lsp-log: groovy-ls:403828*>] :dll [[[[... #5 ... #<marker at 4658 in *lsp-log: groovy-ls:403828*>] #4 #s(lsp--log-entry :timestamp "12:35:56 " :process-time nil :type outgoing-notif :method "workspace/didChangeConfiguration" :id nil :body ...) #<marker at 4728 in *lsp-log: groovy-ls:403828*>] #3 "" #<marker at 4923 in *lsp-log: groovy-ls:403828*>] [#3 [#4 [#5 ... ... #<marker at 4084 in *lsp-log: groovy-ls:403828*>] #s(lsp--log-entry :timestamp "12:35:56 " :process-time nil :type outgoing-req :method "initialize" :id 5 :body ...) #<marker at 1 in *lsp-log: groovy-ls:403828*>] "" #<marker at 1 in *lsp-log: groovy-ls:403828*>] DL-LIST #<marker at 4923 in *lsp-log: groovy-ls:403828*>] :last-node nil :hf-pp insert) :server-capabilities #<hash-table equal 10/10 0x13e1e31> :registered-server-capabilities nil :root "/home/jesperes/dev/jenkins-shared-library" :client #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn) #<bytecode 0x12d1d59>) :test\? #f(compiled-function () #<bytecode 0x12d1d71>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x12d1d7d> :request-handlers #<hash-table equal 0/65 0x12d2055> :response-handlers #<hash-table eql 3/65 0x12d2075> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x12d2095> :action-handlers #<hash-table equal 0/65 0x12d38c5> :major-modes (groovy-mode) :activation-fn nil :priority -1 :server-id groovy-ls :multi-root nil :initialization-options nil :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn #f(compiled-function (workspace) #<bytecode 0x12d1cd5>) :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 0x12d34c5> :download-server-fn nil :download-in-progress? nil :buffers nil) :host-root nil :proc #<process groovy-ls> :cmd-proc #<process groovy-ls> :buffers (#<buffer OrphanJobs.groovy>) :semantic-highlighting-faces nil :semantic-highlighting-modifier-faces nil :extra-client-capabilities nil :status initialized :metadata #<hash-table equal 0/65 0xe5bc31> :watches #<hash-table equal 0/65 0xe64c59> :workspace-folders nil :last-id 0 :status-string nil :shutdown-action nil :diagnostics #<hash-table equal 0/65 0xec4fbd> :work-done-tokens #<hash-table equal 0/65 0xef8615>))
  #f(compiled-function (response) #<bytecode 0x107f849>)(#<hash-table equal 1/1 0x13e1e09>)
  #f(compiled-function (result) #<bytecode 0x107f8c1>)(#<hash-table equal 1/1 0x13e1e09>)
  #f(compiled-function (result) #<bytecode 0x107f8dd>)(#<hash-table equal 1/1 0x13e1e09>)
  lsp--parser-on-message(#<hash-table equal 3/3 0x13e1db1> #s(lsp--workspace :ewoc #s(ewoc :buffer #<buffer *lsp-log: groovy-ls:403828*> :pretty-printer lsp--log-entry-pp :header [[[[... #6 ... #<marker at 4728 in *lsp-log: groovy-ls:403828*>] #5 "" #<marker at 4923 in *lsp-log: groovy-ls:403828*>] #4 DL-LIST #<marker at 4923 in *lsp-log: groovy-ls:403828*>] [#4 [#5 [#6 ... ... #<marker at 4658 in *lsp-log: groovy-ls:403828*>] #s(lsp--log-entry :timestamp "12:35:56 " :process-time 434 :type incoming-resp :method "initialize" :id 5 :body #<hash-table equal 1/1 0x13e1e09>) #<marker at 4084 in *lsp-log: groovy-ls:403828*>] #s(lsp--log-entry :timestamp "12:35:56 " :process-time nil :type outgoing-req :method "initialize" :id 5 :body (:processId nil :rootPath "/home/jesperes/dev/jenkins-shared-library" :clientInfo ... :rootUri "file:///home/jesperes/dev/jenkins-shared-lib..." :capabilities ... :initializationOptions nil :workDoneToken "1")) #<marker at 1 in *lsp-log: groovy-ls:403828*>] "" #<marker at 1 in *lsp-log: groovy-ls:403828*>] :footer [[[[... #6 ... #<marker at 4084 in *lsp-log: groovy-ls:403828*>] #5 #s(lsp--log-entry :timestamp "12:35:56 " :process-time nil :type outgoing-notif :method "initialized" :id nil :body #<hash-table eql 0/65 0xd93935>) #<marker at 4658 in *lsp-log: groovy-ls:403828*>] #4 #s(lsp--log-entry :timestamp "12:35:56 " :process-time nil :type outgoing-notif :method "workspace/didChangeConfiguration" :id nil :body (:settings #<hash-table equal 1/65 0x1430c35>)) #<marker at 4728 in *lsp-log: groovy-ls:403828*>] [#4 [#5 [#6 ... ... #<marker at 1 in *lsp-log: groovy-ls:403828*>] "" #<marker at 1 in *lsp-log: groovy-ls:403828*>] DL-LIST #<marker at 4923 in *lsp-log: groovy-ls:403828*>] "" #<marker at 4923 in *lsp-log: groovy-ls:403828*>] :dll [[[[... #6 ... #<marker at 4658 in *lsp-log: groovy-ls:403828*>] #5 #s(lsp--log-entry :timestamp "12:35:56 " :process-time nil :type outgoing-notif :method "workspace/didChangeConfiguration" :id nil :body ...) #<marker at 4728 in *lsp-log: groovy-ls:403828*>] #4 "" #<marker at 4923 in *lsp-log: groovy-ls:403828*>] [#4 [#5 [#6 ... ... #<marker at 4084 in *lsp-log: groovy-ls:403828*>] #s(lsp--log-entry :timestamp "12:35:56 " :process-time nil :type outgoing-req :method "initialize" :id 5 :body ...) #<marker at 1 in *lsp-log: groovy-ls:403828*>] "" #<marker at 1 in *lsp-log: groovy-ls:403828*>] DL-LIST #<marker at 4923 in *lsp-log: groovy-ls:403828*>] :last-node nil :hf-pp insert) :server-capabilities #<hash-table equal 10/10 0x13e1e31> :registered-server-capabilities nil :root "/home/jesperes/dev/jenkins-shared-library" :client #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn) #<bytecode 0x12d1d59>) :test\? #f(compiled-function () #<bytecode 0x12d1d71>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x12d1d7d> :request-handlers #<hash-table equal 0/65 0x12d2055> :response-handlers #<hash-table eql 3/65 0x12d2075> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x12d2095> :action-handlers #<hash-table equal 0/65 0x12d38c5> :major-modes (groovy-mode) :activation-fn nil :priority -1 :server-id groovy-ls :multi-root nil :initialization-options nil :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn #f(compiled-function (workspace) #<bytecode 0x12d1cd5>) :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 0x12d34c5> :download-server-fn nil :download-in-progress? nil :buffers nil) :host-root nil :proc #<process groovy-ls> :cmd-proc #<process groovy-ls> :buffers (#<buffer OrphanJobs.groovy>) :semantic-highlighting-faces nil :semantic-highlighting-modifier-faces nil :extra-client-capabilities nil :status initialized :metadata #<hash-table equal 0/65 0xe5bc31> :watches #<hash-table equal 0/65 0xe64c59> :workspace-folders nil :last-id 0 :status-string nil :shutdown-action nil :diagnostics #<hash-table equal 0/65 0xec4fbd> :work-done-tokens #<hash-table equal 0/65 0xef8615>))
  #f(compiled-function (proc input) #<bytecode 0xefdc69>)(#<process groovy-ls> "Content-Length: 388\15\n\15\n{\"jsonrpc\":\"2.0\",\"id\":5,\"re...")
  read-event(nil t 2)
  sit-for(2)
  execute-extended-command(nil "lsp-workspace-restart" nil)
  funcall-interactively(execute-extended-command nil "lsp-workspace-restart" nil)
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment