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
serverRequests
Sometimes when switching kernels I see an uncaught error:
connection.ts:271 Uncaught (in promise) TypeError: Cannot convert undefined or null to object at Function.values (<anonymous>) at LSPConnection.dispose (connection.ts:271:12) at DocumentConnectionManager.unregisterDocument (connection_manager.ts:428:20) at NotebookAdapter.disconnect (adapter.ts:304:30) at NotebookAdapter.reloadConnection (adapter.ts:397:10) at NotebookAdapter.onKernelChanged (notebooklspadapter.ts:209:12)
This is raised from:
jupyterlab/packages/lsp/src/connection.ts
Lines 267 to 273 in 2ceabd8
and happens because serverRequests have no initializer in constructor nor in class definition:
Lines 229 to 232 in 2ceabd8
These are only initialized after server initialization in afterInitialized:
afterInitialized
Lines 481 to 483 in 2ceabd8
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Sometimes when switching kernels I see an uncaught error:
This is raised from:
jupyterlab/packages/lsp/src/connection.ts
Lines 267 to 273 in 2ceabd8
and happens because
serverRequests
have no initializer in constructor nor in class definition:jupyterlab/packages/lsp/src/connection.ts
Lines 229 to 232 in 2ceabd8
These are only initialized after server initialization in
afterInitialized
:jupyterlab/packages/lsp/src/connection.ts
Lines 481 to 483 in 2ceabd8
Expected behavior
Context
The text was updated successfully, but these errors were encountered: