Skip to content

Error: Querying obsolete object #52

@cgay

Description

@cgay

We've been getting this error for a long time and up to now I've been just restarting the server because there were more pressing problems. Time to fix it soon.

D 2026-03-20T10:24:35.000-0400 [Main thread] Received JSON:
{
  "jsonrpc": "2.0",
  "method": "textDocument/didSave",
  "params": {
    "textDocument": {
      "uri": "file:///Users/cgay/dylan/workspaces/deft/sources/workspaces/workspaces.dylan",
      "version": 571
    }
  }
}
D 2026-03-20T10:24:36.000-0400 [Main thread] Sent JSON:
{
  "jsonrpc": "2.0",
  "method": "window/showMessage",
  "params": {
    "message": "Build complete, 1 warning",
    "type": 3
  }
}
D 2026-03-20T10:24:36.000-0400 [Main thread] send-notification: "window/showMessage"
D 2026-03-20T10:24:36.000-0400 [Main thread] Sent JSON:
{
  "jsonrpc": "2.0",
  "method": "textDocument/publishDiagnostics",
  "params": {
    "diagnostics": [{
                      "message": "Reference to undefined binding {find-registry-directory in %workspaces}.",
                      "range": {
                        "end": {
                          "character": 39,
                          "line": 113
                        },
                        "start": {
                          "character": 16,
                          "line": 113
                        }
                      },
                      "severity": 1,
                      "source": "Open Dylan",
                      "uri": "file:///Users/cgay/dylan/workspaces/deft/sources/workspaces/workspaces.dylan"
                    }],
    "uri": "file:///Users/cgay/dylan/workspaces/deft/sources/workspaces/workspaces.dylan"
  }
}
D 2026-03-20T10:24:36.000-0400 [Main thread] send-notification: "textDocument/publishDiagnostics"
D 2026-03-20T10:24:36.000-0400 [Main thread] lsp-active-state-loop: waiting for message
Querying obsolete object {<method-object>}
Backtrace:
  invoke-debugger:internal:dylan##1 + 0x29
  default-handler:dylan:dylan##1 + 0x12
  default-last-handler:common-dylan-internals:common-dylan##0 + 0x303
  error:dylan:dylan##0 + 0x2a
  choose-server:environment-protocols:environment-protocols##2 + 0x282
  environment-object-home-name:environment-protocols:environment-protocols##1 + 0x25
  environment-object-description:environment-protocols:environment-protocols##1 + 0x4d
  environment-object-description:environment-protocols:environment-protocols##2 + 0x137
  environment-object-description:environment-protocols:environment-protocols##6 + 0x6f
  handle-textdocument/hover:lsp-dylan-impl:lsp-dylan + 0x121
  invoke-message-handler:lsp-dylan-impl:lsp-dylan + 0x27a
  lsp-active-state-loop:lsp-dylan-impl:lsp-dylan + 0x5b
  lsp-server-top-level:lsp-dylan:lsp-dylan + 0xcf
  main:dylan-lsp-server:dylan-lsp-server + 0x281
  main + 0x19

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions