Closed maxbrunsfeld closed 6 years ago
Same here. Happens if switching tabs or closing a file.
/Users/aheyd/.atom/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:604
Error: Connection is closed.
at new ConnectionError (/Users/aheyd/.atom/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:129:28)
at throwIfClosedOrDisposed (/Users/aheyd/.atom/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:604:19)
at Object.sendNotification (/Users/aheyd/.atom/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:658:13)
at LanguageClientConnection._sendNotification (/Users/aheyd/.atom/packages/ide-typescript/node_modules/atom-languageclient/build/lib/languageclient.js:231:15)
at LanguageClientConnection.didCloseTextDocument (/Users/aheyd/.atom/packages/ide-typescript/node_modules/atom-languageclient/build/lib/languageclient.js:128:10)
at TextEditorSyncAdapter.didClose (/Users/aheyd/.atom/packages/ide-typescript/node_modules/atom-languageclient/build/lib/adapters/document-sync-adapter.js:266:22)
at wrapped (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:101:22)
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
at TextEditor.module.exports.TextEditor.destroyed (/Applications/Atom Beta.app/Contents/Resources/app/src/text-editor.js:661:26)
at TextEditor.module.exports.Model.destroy (/Applications/Atom Beta.app/Contents/Resources/app/src/model.js:31:64)
at Pane.module.exports.Pane.destroy (/Applications/Atom Beta.app/Contents/Resources/app/src/pane.js:951:24)
at WorkspaceCenter.destroyActivePane (/Applications/Atom Beta.app/Contents/Resources/app/src/workspace-center.js:332:24)
at Workspace.closeActivePaneItemOrEmptyPaneOrWindow (/Applications/Atom Beta.app/Contents/Resources/app/src/workspace.js:1718:32)
at HTMLElement.core:close (/Applications/Atom Beta.app/Contents/Resources/app/src/register-default-commands.js:233:38)
at CommandRegistry.handleCommandEvent (/Applications/Atom Beta.app/Contents/Resources/app/src/command-registry.js:381:36)
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:621:22)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:412:28)
at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom Beta.app/Contents/Resources/app/src/window-event-handler.js:100:42)
at HTMLDocument.<anonymous> (/Applications/Atom Beta.app/Contents/Resources/app/src/window-event-handler.js:3:65)
Not able to reproduce here just with that operation.
Can you try enabling the debugging by entering atom.config.set('core.debugLSP', true)
in dev tools console window and restart?
Oddly enough I'm not able to reproduce after enabling debugging lol. And after re-disabling it, still haven't been able to reproduce. Will post back here if I come across the issue and can enable logging.
Thanks.
Just got the same error
Atom: 1.21.0-beta0 x64 Electron: 1.6.9 OS: Mac OS X 10.12.6 Thrown From: ide-typescript package 0.6.1
Uncaught Error: Connection is closed.
At /Users/julien/.atom/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:604
Error: Connection is closed.
at /packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:129:28)
at throwIfClosedOrDisposed (/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:604:19)
at Object.sendNotification (/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:658:13)
at LanguageClientConnection._sendNotification (/packages/ide-typescript/node_modules/atom-languageclient/build/lib/languageclient.js:231:15)
at LanguageClientConnection.didChangeTextDocument (/packages/ide-typescript/node_modules/atom-languageclient/build/lib/languageclient.js:124:10)
at TextEditorSyncAdapter.sendFullChanges (/packages/ide-typescript/node_modules/atom-languageclient/build/lib/adapters/document-sync-adapter.js:183:22)
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
at /Applications/Atom Beta.app/Contents/Resources/app/src/text-editor.js:626:38
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
at DisplayLayer.emitDidChangeSyncEvent (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/text-buffer/lib/display-layer.js:823:24)
at decorationLayerDisposable.textDecorationLayer.onDidInvalidateRange (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/text-buffer/lib/display-layer.js:161:20)
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
at TokenizedBuffer.module.exports.TokenizedBuffer.tokenizeNextChunk (/Applications/Atom Beta.app/Contents/Resources/app/src/tokenized-buffer.js:241:28)
at /Applications/Atom Beta.app/Contents/Resources/app/src/tokenized-buffer.js:206:32
at /Applications/Atom Beta.app/Contents/Resources/app/node_modules/underscore/underscore.js:666:53
-3:42.2.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-when-scrolling)
-3:31.8.0 settings-view:check-for-package-updates (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-monokai.theme-one-dark-ui)
-3:17.4.0 platformio-ide-terminal:toggle (div.panels-item)
-1:59.6.0 core:confirm (input.hidden-input)
atom-ember-author-kit 0.8.3
ember-snippets 2.1.0
atom-ide-ui 0.3.1
atom-terminal 0.8.0
atom-typescript 11.0.8
auto-indent 0.5.0
better-handlebars 0.1.1
block-comment 0.4.3
busy-signal 1.4.3
change-case 0.6.5
color-picker 2.2.5
docblockr 0.11.0
ember-snippets 2.1.0
ember-tabs 2.4.3
emmet 2.4.3
expand-selection-to-quotes 0.11.0
file-icons 2.1.11
file-types 0.5.5
git-plus 7.9.3
ide-typescript 0.6.1
intentions 1.1.5
javascript-snippets 1.2.1
language-crontab 1.0.0
language-nginx 0.8.0
language-slim 0.6.0
language-svg 0.9.2
language-textile 0.2.0
language-vbscript 0.9.0
linter 2.2.0
linter-eslint 8.2.1
linter-rubocop 2.1.1
linter-tslint 1.7.0
linter-ui-default 1.6.8
minimap 4.29.6
minimap-git-diff 4.3.1
monokai 0.24.0
package-cop 0.2.10
platformio-ide-terminal 2.6.0
project-manager 3.3.5
remote-atom 1.3.11
ruby-block 0.3.6
tabular 0.1.0
toggle-quotes 1.0.1
word-jumper-deluxe 1.3.0
Having that issue too.
macOS 10.12.6
Atom 1.21.0-beta0, non-default packages listed below:
atom-ide-ui 0.3.1 busy-signal 1.4.3 ide-flowtype 0.17.4 ide-typescript 0.6.1
This is happening when I try to edit any JS files in a brand new Rails 5 app. I just installed Atom beta yesterday to try out the IDE features.
Stack trace:
Error: Connection is closed.
at new ConnectionError (/Users/lucashungaro/.atom/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:129:28)
at throwIfClosedOrDisposed (/Users/lucashungaro/.atom/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:604:19)
at Object.sendNotification (/Users/lucashungaro/.atom/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:658:13)
at LanguageClientConnection._sendNotification (/Users/lucashungaro/.atom/packages/ide-typescript/node_modules/atom-languageclient/build/lib/languageclient.js:231:15)
at LanguageClientConnection.didChangeTextDocument (/Users/lucashungaro/.atom/packages/ide-typescript/node_modules/atom-languageclient/build/lib/languageclient.js:124:10)
at TextEditorSyncAdapter.sendFullChanges (/Users/lucashungaro/.atom/packages/ide-typescript/node_modules/atom-languageclient/build/lib/adapters/document-sync-adapter.js:183:22)
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
at /Applications/Atom Beta.app/Contents/Resources/app/src/text-editor.js:626:38
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
at DisplayLayer.emitDidChangeSyncEvent (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/text-buffer/lib/display-layer.js:823:24)
at decorationLayerDisposable.textDecorationLayer.onDidInvalidateRange (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/text-buffer/lib/display-layer.js:161:20)
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
at TokenizedBuffer.module.exports.TokenizedBuffer.tokenizeNextChunk (/Applications/Atom Beta.app/Contents/Resources/app/src/tokenized-buffer.js:241:28)
at /Applications/Atom Beta.app/Contents/Resources/app/src/tokenized-buffer.js:206:32
at /Applications/Atom Beta.app/Contents/Resources/app/node_modules/underscore/underscore.js:666:53
Anything I can do to help diagnose it?
I get this when editing PHP files ... it seems very random, and I am unable to reproduce it consistently. It always occurs while I am typing, so I am guessing it is related to autocompletion events of the language server. Here is my stacktrace and error report:
[Enter steps to reproduce:]
Atom: 1.21.0-beta0 x64 Electron: 1.6.9 OS: Mac OS X 10.13 Thrown From: ide-typescript package 0.6.1
Uncaught Error: Connection is closed.
At /Users/mike/.atom/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:604
Error: Connection is closed.
at /packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:129:28)
at throwIfClosedOrDisposed (/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:604:19)
at Object.sendNotification (/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:658:13)
at LanguageClientConnection._sendNotification (/packages/ide-typescript/node_modules/atom-languageclient/build/lib/languageclient.js:231:15)
at LanguageClientConnection.didChangeWatchedFiles (/packages/ide-typescript/node_modules/atom-languageclient/build/lib/languageclient.js:136:10)
at ServerManager.projectFilesChanged (/packages/ide-typescript/node_modules/atom-languageclient/build/lib/server-manager.js:257:33)
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
at /Applications/Atom.app/Contents/Resources/app/src/project.js:297:40
at PathWatcher.onNativeEvents (/Applications/Atom.app/Contents/Resources/app/src/path-watcher.js:671:15)
at /Applications/Atom.app/Contents/Resources/app/src/path-watcher.js:567:31
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
at NativeWatcher.onEvents (/Applications/Atom.app/Contents/Resources/app/src/path-watcher.js:448:26)
at handler (/Applications/Atom.app/Contents/Resources/app/src/path-watcher.js:177:15)
-2:14.2.0 core:copy (input.hidden-input)
-2:08.0 core:move-right (input.hidden-input)
2x -2:07.7.0 core:backspace (input.hidden-input)
6x -2:07.1.0 core:move-down (input.hidden-input)
2x -2:05.9.0 core:backspace (input.hidden-input)
2x -1:56.4.0 editor:newline (input.hidden-input)
6x -1:53.5.0 core:move-up (input.hidden-input)
-1:52.4.0 editor:move-to-end-of-screen-line (input.hidden-input)
-1:52.1.0 core:move-left (input.hidden-input)
-1:51.9.0 intentions:highlight (input.hidden-input)
3x -1:51.8.0 editor:select-to-beginning-of-word (input.hidden-input)
-1:51.1.0 datatip:toggle (input.hidden-input)
-1:48.4.0 core:move-right (input.hidden-input)
6x -1:48.2.0 core:move-down (input.hidden-input)
2x -1:37.4.0 core:move-right (input.hidden-input)
-1:30.9.0 core:save (input.hidden-input)
atom-ide-ui 0.3.3
busy-signal 1.4.3
close-on-left 0.9.2
file-icons 2.1.11
format-standard 4.3.0
ide-json 0.1.0
ide-php 0.6.2
ide-typescript 0.6.1
ide-vue 0.1.3
intentions 1.1.5
language-blade 0.34.0
linter-csslint 2.0.0
linter-json-lint 0.1.2
linter-markdown 5.2.0
linter-phpmd 1.5.3
linter-scss-lint 3.1.1
linter-tidy 2.3.1
platformio-ide-terminal 2.6.0
sync-settings 0.8.3
zentabs 0.8.8
Same issue:
[Enter steps to reproduce:]
Atom: 1.20.0 x64 Electron: 1.6.9 OS: Microsoft Windows 10 Enterprise Thrown From: ide-typescript package 0.1.6
Uncaught Error: Connection is closed.
At C:\Users\v6a.EUROPE\.atom\packages\ide-typescript\node_modules\vscode-jsonrpc\lib\main.js:604
Error: Connection is closed.
at /packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:129:28)
at throwIfClosedOrDisposed (/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:604:19)
at Object.sendNotification (/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:658:13)
at LanguageClientConnection._sendNotification (/packages/ide-typescript/node_modules/atom-languageclient/build/lib/languageclient.js:233:15)
at LanguageClientConnection.didChangeTextDocument (/packages/ide-typescript/node_modules/atom-languageclient/build/lib/languageclient.js:126:10)
at TextEditorSyncAdapter.sendFullChanges (/packages/ide-typescript/node_modules/atom-languageclient/build/lib/adapters/document-sync-adapter.js:196:22)
at Function.module.exports.Emitter.simpleDispatch (~/AppData/Local/atom/app-1.20.0/resources/app/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (~/AppData/Local/atom/app-1.20.0/resources/app/node_modules/event-kit/lib/emitter.js:141:34)
at ~/AppData/Local/atom/app-1.20.0/resources/app/src/text-editor.js:636:38
at Function.module.exports.Emitter.simpleDispatch (~/AppData/Local/atom/app-1.20.0/resources/app/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (~/AppData/Local/atom/app-1.20.0/resources/app/node_modules/event-kit/lib/emitter.js:141:34)
at DisplayLayer.reset (~/AppData/Local/atom/app-1.20.0/resources/app/node_modules/text-buffer/lib/display-layer.js:87:26)
at TextEditor.module.exports.TextEditor.update (~/AppData/Local/atom/app-1.20.0/resources/app/src/text-editor.js:532:31)
at TextEditor.module.exports.TextEditor.setEditorWidthInChars (~/AppData/Local/atom/app-1.20.0/resources/app/src/text-editor.js:897:25)
at TextEditorComponent.updateModelSoftWrapColumn (~/AppData/Local/atom/app-1.20.0/resources/app/src/text-editor-component.js:2134:30)
at TextEditorComponent.updateSyncBeforeMeasuringContent (~/AppData/Local/atom/app-1.20.0/resources/app/src/text-editor-component.js:368:16)
at TextEditorComponent.updateSync (~/AppData/Local/atom/app-1.20.0/resources/app/src/text-editor-component.js:275:16)
at TextEditorComponent.didShow (~/AppData/Local/atom/app-1.20.0/resources/app/src/text-editor-component.js:1468:18)
at TextEditorComponent.didAttach (~/AppData/Local/atom/app-1.20.0/resources/app/src/text-editor-component.js:1435:20)
at HTMLElement.attachedCallback (~/AppData/Local/atom/app-1.19.1/resources/app/src/text-editor-element.js:41:25)
at HTMLElement.PaneElement.activeItemChanged (~/AppData/Local/atom/app-1.19.1/resources/app/src/pane-element.js:144:24)
at Function.module.exports.Emitter.simpleDispatch (~/AppData/Local/atom/app-1.20.0/resources/app/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (~/AppData/Local/atom/app-1.20.0/resources/app/node_modules/event-kit/lib/emitter.js:141:34)
at Pane.module.exports.Pane.setActiveItem (~/AppData/Local/atom/app-1.20.0/resources/app/src/pane.js:337:28)
at Pane.module.exports.Pane.activateItem (~/AppData/Local/atom/app-1.20.0/resources/app/src/pane.js:492:27)
at TabBarView.module.exports.TabBarView.onClick (~/AppData/Local/atom/app-1.20.0/resources/app/node_modules/tabs/lib/tab-bar-view.js:715:25)
-3:08.3.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-always)
atom-easy-jsdoc 4.12.3
atom-ide-ui 0.3.3
busy-signal 1.4.3
editorconfig 2.2.2
file-icons 2.1.12
ide-typescript 0.1.6
intentions 1.1.5
jsdoc-preview 1.2.1
language-javascript-jsx 0.3.7
linter 2.2.0
linter-eslint 8.3.2
linter-ui-default 1.6.10
pigments 0.40.2
project-manager 3.3.5
Stylus 3.1.1
svg-preview 0.11.0
[Enter steps to reproduce:]
Atom: 1.20.0 x64 Electron: 1.6.9 OS: Mac OS X 10.12.6 Thrown From: ide-typescript package 0.1.6
Uncaught Error: Connection is closed.
At /Users/bruce/.atom/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:604
Error: Connection is closed.
at /packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:129:28)
at throwIfClosedOrDisposed (/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:604:19)
at Object.sendNotification (/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:658:13)
at LanguageClientConnection._sendNotification (/packages/ide-typescript/node_modules/atom-languageclient/build/lib/languageclient.js:233:15)
at LanguageClientConnection.didChangeTextDocument (/packages/ide-typescript/node_modules/atom-languageclient/build/lib/languageclient.js:126:10)
at TextEditorSyncAdapter.sendFullChanges (/packages/ide-typescript/node_modules/atom-languageclient/build/lib/adapters/document-sync-adapter.js:196:22)
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
at /Applications/Atom.app/Contents/Resources/app/src/text-editor.js:626:38
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
at DisplayLayer.emitDidChangeSyncEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/display-layer.js:823:24)
at decorationLayerDisposable.textDecorationLayer.onDidInvalidateRange (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/display-layer.js:161:20)
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
at TokenizedBuffer.module.exports.TokenizedBuffer.tokenizeNextChunk (/Applications/Atom.app/Contents/Resources/app/src/tokenized-buffer.js:241:28)
at /Applications/Atom.app/Contents/Resources/app/src/tokenized-buffer.js:206:32
at /Applications/Atom.app/Contents/Resources/app/node_modules/underscore/underscore.js:666:53
-1:35.1.0 project-find:show (input.hidden-input)
-1:32.9.0 core:confirm (input.hidden-input)
atom-easy-jsdoc 4.12.3
atom-ide-ui 0.3.3
atom-material-syntax 1.0.6
atom-material-ui 2.0.4
atom-typescript 11.0.9
busy-signal 1.4.3
git-plus 7.9.3
ide-json 0.1.0
ide-typescript 0.1.6
intentions 1.1.5
language-typescript-grammars-only 1.6.0
linter 2.2.0
linter-json-lint 0.1.2
linter-ui-default 1.6.10
mocha-test-runner 1.0.0
pretty-json 1.6.4
split-diff 1.5.1
Termrk 1.0.0
xml-formatter 0.11.0
[Enter steps to reproduce:]
Atom: 1.20.0 x64 Electron: 1.6.9 OS: Mac OS X 10.12.6 Thrown From: ide-typescript package 0.1.6
Uncaught Error: Connection is closed.
At /Users/bruce/.atom/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:604
Error: Connection is closed.
at /packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:129:28)
at throwIfClosedOrDisposed (/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:604:19)
at Object.sendNotification (/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:658:13)
at LanguageClientConnection._sendNotification (/packages/ide-typescript/node_modules/atom-languageclient/build/lib/languageclient.js:233:15)
at LanguageClientConnection.didChangeTextDocument (/packages/ide-typescript/node_modules/atom-languageclient/build/lib/languageclient.js:126:10)
at TextEditorSyncAdapter.sendFullChanges (/packages/ide-typescript/node_modules/atom-languageclient/build/lib/adapters/document-sync-adapter.js:196:22)
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
at /Applications/Atom.app/Contents/Resources/app/src/text-editor.js:626:38
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
at DisplayLayer.emitDidChangeSyncEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/display-layer.js:823:24)
at decorationLayerDisposable.textDecorationLayer.onDidInvalidateRange (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/display-layer.js:161:20)
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
at TokenizedBuffer.module.exports.TokenizedBuffer.tokenizeNextChunk (/Applications/Atom.app/Contents/Resources/app/src/tokenized-buffer.js:241:28)
at /Applications/Atom.app/Contents/Resources/app/src/tokenized-buffer.js:206:32
at /Applications/Atom.app/Contents/Resources/app/node_modules/underscore/underscore.js:666:53
-4:03.9.0 application:reopen-project (input.hidden-input)
-0:32.2.0 project-find:show (input.hidden-input)
-0:31.6.0 core:paste (input.hidden-input)
-0:30.6.0 core:confirm (input.hidden-input)
atom-easy-jsdoc 4.12.3
atom-ide-ui 0.3.3
atom-material-syntax 1.0.6
atom-material-ui 2.0.4
atom-typescript 11.0.9
busy-signal 1.4.3
git-plus 7.9.3
ide-json 0.1.0
ide-typescript 0.1.6
intentions 1.1.5
language-typescript-grammars-only 1.6.0
linter 2.2.0
linter-json-lint 0.1.2
linter-ui-default 1.6.10
mocha-test-runner 1.0.0
pretty-json 1.6.4
split-diff 1.5.1
Termrk 1.0.0
xml-formatter 0.11.0
Is there any useful info I can add to this issue to help debug? I've tried atom-ide-ui
a few times now but each time I've run into this issue consistently which makes the editor unusable and I have to disable the ide packages.
Same situation.
Me 2. Anything I can do? I have to go back to vscode now.
Same here. Has made Atom completely unusable with IDE on. Wondering how many others this is affecting, so adding my voice here.
If anyone can turn on the LSP debugging in the dev tools window;
atom.config.set('core.debugLSP', true)
You'll need to restart atom. Now next time it happens if you can take a peek in the dev tools window and let me know what the messages were before it happened.
This message basically means communication has closed with the language server - should only happen if you're shutting down Atom or have closed all .ts/.js files (it should then auto re-open).
Only other thing I can think of is that the server is crashing - I've put some more diagnostics and capturing information in the low-level library and will bump a new ide-typescript soon that contains that so we can get to the bottom of this.
Thanks for your patience.
I have been receiving this error repeatedly this afternoon. I enabled the debugLSP and saved my console output to the following file. Let me know if I can provide any further detail.
Atom: 1.20.1 x64 Electron: 1.6.9 OS: Mac OS X 10.12.6 Thrown From: ide-typescript package 0.1.6
Uncaught Error: Connection is closed.
At /Users/williamholmes/.atom/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:604
Error: Connection is closed.
at /packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:129:28)
at throwIfClosedOrDisposed (/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:604:19)
at Object.sendNotification (/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:658:13)
at LanguageClientConnection._sendNotification (/packages/ide-typescript/node_modules/atom-languageclient/build/lib/languageclient.js:233:15)
at LanguageClientConnection.didCloseTextDocument (/packages/ide-typescript/node_modules/atom-languageclient/build/lib/languageclient.js:130:10)
at TextEditorSyncAdapter.didDestroy (/packages/ide-typescript/node_modules/atom-languageclient/build/lib/adapters/document-sync-adapter.js:240:22)
at wrapped (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:101:22)
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
at TextEditor.module.exports.TextEditor.destroyed (/Applications/Atom.app/Contents/Resources/app/src/text-editor.js:661:26)
at TextEditor.module.exports.Model.destroy (/Applications/Atom.app/Contents/Resources/app/src/model.js:31:64)
at Pane.module.exports.Pane.destroyItem (/Applications/Atom.app/Contents/Resources/app/src/pane.js:707:66)
at TabBarView.module.exports.TabBarView.closeTab (/Applications/Atom.app/Contents/Resources/app/node_modules/tabs/lib/tab-bar-view.js:341:32)
at TabBarView.module.exports.TabBarView.closeAllTabs (/Applications/Atom.app/Contents/Resources/app/node_modules/tabs/lib/tab-bar-view.js:472:33)
at Object.TabBarView.addElementCommands.tabs:close-all-tabs (/Applications/Atom.app/Contents/Resources/app/node_modules/tabs/lib/tab-bar-view.js:117:32)
at HTMLUListElement.commandsWithPropagationStopped.(anonymous function) (/Applications/Atom.app/Contents/Resources/app/node_modules/tabs/lib/tab-bar-view.js:83:42)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:265:35)
at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:65)
at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:166:25)
at AtomEnvironment.module.exports.AtomEnvironment.dispatchContextMenuCommand (/Applications/Atom.app/Contents/Resources/app/src/atom-environment.js:1344:34)
at EventEmitter.outerCallback (/Applications/Atom.app/Contents/Resources/app/src/application-delegate.js:348:31)
at emitThree (events.js:116:13)
at EventEmitter.emit (events.js:194:7)
-0:37.4.0 tabs:close-all-tabs (div.title.icon.js-icon.medium-yellow)
atom-beautify 0.30.5
atom-clock 0.1.15
atom-ide-ui 0.4.0
atom-import-sort 3.3.0
atom-jasmine 0.8.1
atom-material-syntax 1.0.6
autoclose-html 0.23.0
autocomplete-json 5.5.0
autocomplete-modules 1.7.0
autocomplete-paths 2.11.0
busy-signal 1.4.3
clipboard-plus 0.5.1
color-picker 2.2.5
custom-title 1.0.1
docblockr 0.11.0
editorconfig 2.2.2
expose 0.14.0
file-icons 2.1.12
git-control 0.9.0
git-diff-details 1.4.0
git-plus 7.9.3
git-time-machine 1.5.9
highlight-selected 0.13.1
ide-typescript 0.1.6
intentions 1.1.5
isotope-ui 2.8.5
javascript-snippets 1.2.1
language-babel 2.74.2
linter 2.2.0
linter-eslint 8.3.2
linter-sass-lint 1.8.0
linter-ui-default 1.6.10
markdown-preview-plus 2.4.10
material-syntax 0.6.1
minimap 4.29.7
minimap-highlight-selected 4.6.1
nord-atom-syntax 0.9.1
nord-atom-ui 0.11.0
open-recent 5.0.0
pigments 0.40.2
pretty-json 1.6.4
react 0.16.2
react-es6-snippets 0.3.0
react-snippets 0.9.0
simple-drag-drop-text 0.3.4
sort-lines 0.15.0
todo-show 2.0.0
toggle-quotes 1.0.1
For me it is happening all the time. After about 15 seconds of typing / hovering in a JavaScript file I get these.
Here is the output just before it fails:
Here's the copied data:
Atom: 1.21.0 x64 Electron: 1.6.9 OS: Mac OS X 10.12.6 Thrown From: ide-typescript package 0.6.1
Uncaught Error: Connection is closed.
At /Users/peter/.atom/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:606
Error: Connection is closed.
at /packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:131:28)
at throwIfClosedOrDisposed (/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:606:19)
at Object.sendNotification (/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:660:13)
at LanguageClientConnection._sendNotification (/packages/ide-typescript/node_modules/atom-languageclient/build/lib/languageclient.js:244:15)
at LanguageClientConnection.didChangeWatchedFiles (/packages/ide-typescript/node_modules/atom-languageclient/build/lib/languageclient.js:145:10)
at ServerManager.projectFilesChanged (/packages/ide-typescript/node_modules/atom-languageclient/build/lib/server-manager.js:262:33)
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
at /Applications/Atom.app/Contents/Resources/app/src/project.js:297:40
at PathWatcher.onNativeEvents (/Applications/Atom.app/Contents/Resources/app/src/path-watcher.js:671:15)
at /Applications/Atom.app/Contents/Resources/app/src/path-watcher.js:567:31
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
at NativeWatcher.onEvents (/Applications/Atom.app/Contents/Resources/app/src/path-watcher.js:448:26)
at handler (/Applications/Atom.app/Contents/Resources/app/src/path-watcher.js:177:15)
-4:54.4.0 core:move-down (input.hidden-input)
-4:54.2.0 autocomplete-plus:confirm (input.hidden-input)
-4:49.7.0 core:backspace (input.hidden-input)
-4:48.7.0 core:save (input.hidden-input)
2x -4:38.9.0 diagnostics:toggle-table (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-ariake-dark-syntax.theme-one-dark-ui)
-4:35.5.0 linter-ui-default:toggle-panel (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-ariake-dark-syntax.theme-one-dark-ui)
-4:28.5.0 settings-view:open (atom-pane.pane)
2x -4:07.5.0 diagnostics:toggle-table (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-ariake-dark-syntax.theme-one-dark-ui)
-3:48.7.0 core:save (input.hidden-input)
-3:45.7.0 intentions:highlight (input.hidden-input)
6x -3:45.7.0 datatip:toggle (input.hidden-input)
-3:42 intentions:highlight (input.hidden-input)
5x -3:41.4.0 datatip:toggle (input.hidden-input)
-3:37.6.0 intentions:highlight (input.hidden-input)
2x -3:37.6.0 datatip:toggle (input.hidden-input)
-3:28.7.0 window:toggle-dev-tools (atom-pane.pane.active)
ariake-dark-syntax 0.1.3
atom-beautify 0.30.5
atom-dark-fusion-syntax 2.2.0
atom-ide-ui 0.4.0
atom-material-syntax 1.0.6
atom-material-ui 2.0.4
atom-sonic 0.3.2
atom-switch-extension 0.1.5
autocomplete-modules 1.7.2
busy-signal 1.4.3
chester-atom-syntax 0.3.0
color-picker 2.2.5
cucumber 0.6.0
duotone-dark-forest-syntax 2.1.0
duotone-dark-syntax 2.1.0
file-icons 2.1.12
git-blame 1.3.1
git-plus 7.9.3
haskell-grammar 0.4.0
highlight-selected 0.13.1
hyperclick 0.0.0
ide-typescript 0.6.1
inc 0.0.4
intentions 1.1.5
isotope-ui 2.8.5
js-hyperclick 1.11.1
language-babel 2.75.1
language-gradle 0.0.3
language-groovy 0.7.0
language-ini 1.19.0
language-ocaml 1.9.5
language-scala 1.1.9
language-swift 0.5.0
linter 2.2.0
linter-csslint 2.0.0
linter-eslint 8.3.2
linter-stylelint 4.0.2
linter-swiftc 2.0.0
linter-ui-default 1.6.10
merge-conflicts 1.4.5
node-requirer 0.1.12
nord-atom-syntax 0.9.1
nord-atom-ui 0.11.0
nucleus-dark-ui 0.12.3
prettier-atom 0.40.0
pretty-json 1.6.4
quick-file-actions 0.2.1
react 0.16.2
sort-lines 0.15.0
split-diff 1.5.1
tool-bar 1.1.0
Same problem open a ts file and wait several minutes, and then edit it, an alert will show up.
Thanks for deleting that, was inappropriate. :)
Any update on this bug?
[Enter steps to reproduce:]
Update : I let these steps here, but after a reboot and trying to work again with this file, it looks like any modification on it after 10 seconds (without stopwatch) is throwing the bug. After relaunching Atom, I can work with other JS files.
// var NOMEN_ARTICLE_EXT = require('./NOMEN_ARTICLE_EXT.json');
require(['./NOMEN_ARTICLE_EXT.js'], function (foo) {
console.log('foo');
});
var NOMEN_ATTRIB_REF = require('./NOMEN_ATTRIB_REF.json');
var NOMEN_AUTHORITY_EXT = require('./NOMEN_AUTHORITY_EXT.json');
var NOMEN_CODE_DESC_HIST = require('./NOMEN_CODE_DESC_HIST.json');
var NOMEN_CODE_FEE_LIM_HIST = require('./NOMEN_CODE_FEE_LIM_HIST.json');
var NOMEN_CODE_RULES_TOT_PRIM = require('./NOMEN_CODE_RULES_TOT_PRIM.json');
var NOMEN_FEE_BIS_FK_CAT = require('./NOMEN_FEE_BIS_FK_CAT.json');
var NOMEN_SUB_ART_RULES = require('./NOMEN_SUB_ART_RULES.json');
var NOMEN_ATTRIB_CAT = require('./NOMEN_ATTRIB_CAT.json'); var NOMEN_ATTRIB_REL = require('./NOMEN_ATTRIB_REL.json'); var NOMEN_AUTHORITY_KEYWORDS_EXT = require('./NOMEN_AUTHORITY_KEYWORDS_EXT.json'); var NOMEN_CODE_FEE_BIS_LIM = require('./NOMEN_CODE_FEE_BIS_LIM.json'); var NOMEN_CODE_KEY_LETTER_HIST = require('./NOMEN_CODE_KEY_LETTER_HIST.json'); var NOMEN_CODE_RULES_TOT_SEC = require('./NOMEN_CODE_RULES_TOT_SEC.json'); var NOMEN_LEGALCHANGE = require('./NOMEN_LEGALCHANGE.json'); var NOMEN_SUMMARY_EXT = require('./NOMEN_SUMMARY_EXT.json');
var NOMEN_ATTRIB_CODE_LIM = require('./NOMEN_ATTRIB_CODE_LIM.json'); var NOMEN_ATTRIB_SUBART_LIM = require('./NOMEN_ATTRIB_SUBART_LIM.json'); var NOMEN_CODE_ARTICLE_EXT = require('./NOMEN_CODE_ARTICLE_EXT.json'); var NOMEN_CODE_FEE_BIS_LIM_HIST = require('./NOMEN_CODE_FEE_BIS_LIM_HIST.json'); var NOMEN_CODE_KEY_LETTER_VALUE = require('./NOMEN_CODE_KEY_LETTER_VALUE.json'); var NOMEN_FEECODES = require('./NOMEN_FEECODES.json'); var NOMEN_RULES = require('./NOMEN_RULES.json'); var RELATIVE_PREST_EXT = require('./RELATIVE_PREST_EXT.json');
var NOMEN_ATTRIB_DET = require('./NOMEN_ATTRIB_DET.json'); var NOMEN_ATTRIB_TOT_LIM = require('./NOMEN_ATTRIB_TOT_LIM.json'); var NOMEN_CODE_AUTHORITY_LIM = require('./NOMEN_CODE_AUTHORITY_LIM.json'); var NOMEN_CODE_FEE_LIM = require('./NOMEN_CODE_FEE_LIM.json'); var NOMEN_CODE_RULES = require('./NOMEN_CODE_RULES.json'); var NOMEN_FEECODES_CAT = require('./NOMEN_FEECODES_CAT.json'); var NOMEN_RULES_CAT = require('./NOMEN_RULES_CAT.json');
2. Select `var`
3. Hold `cmd+d` to select all `var` occurences
4. move with alt and use alt+shift to select all variables names
5. cmd+c
6. try to add a new line between }); and first var
It does that to me every after completely closing and reopening Atom, all packages are up-to-date. Once the error is thrown, I'm still able to open any file that is not .js but all js files that I try to open have their names in the navigation bar but their content is not shown.
**Atom**: 1.21.1 x64
**Electron**: 1.6.15
**OS**: Mac OS X 10.12.6
**Thrown From**: [ide-typescript](https://github.com/atom/ide-typescript) package 0.6.2
### Stack Trace
Uncaught Error: Connection is closed.
At /Users/fthuin/.atom/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:606
Error: Connection is closed. at /packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:131:28) at throwIfClosedOrDisposed (/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:606:19) at Object.sendNotification (/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:660:13) at LanguageClientConnection._sendNotification (/packages/ide-typescript/node_modules/atom-languageclient/build/lib/languageclient.js:244:15) at LanguageClientConnection.didChangeWatchedFiles (/packages/ide-typescript/node_modules/atom-languageclient/build/lib/languageclient.js:145:10) at ServerManager.projectFilesChanged (/packages/ide-typescript/node_modules/atom-languageclient/build/lib/server-manager.js:262:33) at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20) at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34) at /Applications/Atom.app/Contents/Resources/app/src/project.js:297:40 at PathWatcher.onNativeEvents (/Applications/Atom.app/Contents/Resources/app/src/path-watcher.js:671:15) at /Applications/Atom.app/Contents/Resources/app/src/path-watcher.js:567:31 at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20) at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34) at NativeWatcher.onEvents (/Applications/Atom.app/Contents/Resources/app/src/path-watcher.js:448:26) at handler (/Applications/Atom.app/Contents/Resources/app/src/path-watcher.js:177:15)
### Commands
-3:52.1.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-always)
-3:15.4.0 editor:toggle-line-comments (input.hidden-input)
-3:12.8.0 core:select-all (input.hidden-input)
-3:11.8.0 core:save (input.hidden-input)
### Non-Core Packages
atom-beautify 0.30.5 atom-bootstrap3 1.2.12 atom-ide-ui 0.5.2 atom-material-ui 2.0.6 busy-signal 1.4.3 convert-file-encoding 0.1.0 docblockr 0.11.0 file-icons 2.1.13 gruvbox-plus-syntax 1.3.1 ide-typescript 0.6.2 intentions 1.1.5 linter 2.2.0 linter-jshint 3.1.6 linter-ui-default 1.6.10 minimap 4.29.7 minimap-linter 2.1.1
[Enter steps to reproduce:]
git pull
on the project from terminalgit pull
after this, even if there are no changes to pull from remote.Atom: 1.22.0-beta1 x64 Electron: 1.6.15 OS: Ubuntu 17.10 Thrown From: ide-typescript package 0.6.2
Uncaught Error: Connection is closed.
At /home/gopi/.atom/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:606
Error: Connection is closed.
at /packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:131:28)
at throwIfClosedOrDisposed (/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:606:19)
at Object.sendNotification (/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:660:13)
at LanguageClientConnection._sendNotification (/packages/ide-typescript/node_modules/atom-languageclient/build/lib/languageclient.js:244:15)
at LanguageClientConnection.didChangeWatchedFiles (/packages/ide-typescript/node_modules/atom-languageclient/build/lib/languageclient.js:145:10)
at ServerManager.projectFilesChanged (/packages/ide-typescript/node_modules/atom-languageclient/build/lib/server-manager.js:262:33)
at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom-beta/resources/app/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (/usr/share/atom-beta/resources/app/node_modules/event-kit/lib/emitter.js:141:34)
at /usr/share/atom-beta/resources/app/src/project.js:341:40
at PathWatcher.onNativeEvents (/usr/share/atom-beta/resources/app/src/path-watcher.js:671:15)
at /usr/share/atom-beta/resources/app/src/path-watcher.js:567:31
at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom-beta/resources/app/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (/usr/share/atom-beta/resources/app/node_modules/event-kit/lib/emitter.js:141:34)
at NativeWatcher.onEvents (/usr/share/atom-beta/resources/app/src/path-watcher.js:448:26)
at handler (/usr/share/atom-beta/resources/app/src/path-watcher.js:177:15)
-4:06.5.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-always)
-3:24.2.0 core:undo (input.hidden-input)
-3:23 core:save (input.hidden-input)
-3:02.1.0 fuzzy-finder:toggle-file-finder (input.hidden-input)
-3:00.6.0 core:confirm (input.hidden-input)
activate-power-mode 2.6.0
atom-beautify 0.30.5
atom-ide-ui 0.5.2
caniuse 0.9.2
file-icons 2.1.13
ide-typescript 0.6.2
sort-lines 0.18.0
Tried installing atom-ide today and got this error. Here's the log and stack trace from LSP debug thingy.
Atom: 1.21.2 x64 Electron: 1.6.15 OS: Mac OS X 10.11.6 Thrown From: ide-typescript package 0.6.2
Uncaught Error: Connection is closed.
At /Users/andrew/.atom/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:606
Error: Connection is closed.
at /packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:131:28)
at throwIfClosedOrDisposed (/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:606:19)
at Object.sendNotification (/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:660:13)
at LanguageClientConnection._sendNotification (/packages/ide-typescript/node_modules/atom-languageclient/build/lib/languageclient.js:242:15)
at LanguageClientConnection.didChangeWatchedFiles (/packages/ide-typescript/node_modules/atom-languageclient/build/lib/languageclient.js:143:10)
at ServerManager.projectFilesChanged (/packages/ide-typescript/node_modules/atom-languageclient/build/lib/server-manager.js:233:33)
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
at /Applications/Atom.app/Contents/Resources/app/src/project.js:297:40
at PathWatcher.onNativeEvents (/Applications/Atom.app/Contents/Resources/app/src/path-watcher.js:671:15)
at /Applications/Atom.app/Contents/Resources/app/src/path-watcher.js:567:31
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
at NativeWatcher.onEvents (/Applications/Atom.app/Contents/Resources/app/src/path-watcher.js:448:26)
at handler (/Applications/Atom.app/Contents/Resources/app/src/path-watcher.js:177:15)
-6:02.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-always)
2x -1:12.4.0 autocomplete-plus:cancel (input.hidden-input)
-0:50.7.0 core:copy (input.hidden-input)
-0:49 core:paste (input.hidden-input)
-0:32.1.0 core:save (input.hidden-input)
atom-ide-ui 0.5.3
docblockr 0.12.1
editorconfig 2.2.2
file-icons 2.1.13
highlight-selected 0.13.1
ide-typescript 0.6.2
language-diff 0.7.0
merge-conflicts 1.4.5
simple-drag-drop-text 0.3.6
Sublime-Style-Column-Selection 1.7.4
[Enter steps to reproduce:]
Atom: 1.21.1 x64 Electron: 1.6.15 OS: Ubuntu 17.04 Thrown From: ide-typescript package 0.6.2
Uncaught Error: Connection is closed.
At /home/user/.atom/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:606
Error: Connection is closed.
at /packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:131:28)
at throwIfClosedOrDisposed (/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:606:19)
at Object.sendNotification (/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:660:13)
at LanguageClientConnection._sendNotification (/packages/ide-typescript/node_modules/atom-languageclient/build/lib/languageclient.js:242:15)
at LanguageClientConnection.didChangeTextDocument (/packages/ide-typescript/node_modules/atom-languageclient/build/lib/languageclient.js:131:10)
at TextEditorSyncAdapter.sendFullChanges (/packages/ide-typescript/node_modules/atom-languageclient/build/lib/adapters/document-sync-adapter.js:181:22)
at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:141:34)
at /usr/share/atom/resources/app/src/text-editor.js:626:38
at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app/node_modules/text-buffer/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app/node_modules/text-buffer/node_modules/event-kit/lib/emitter.js:141:34)
at DisplayLayer.emitDidChangeSyncEvent (/usr/share/atom/resources/app/node_modules/text-buffer/lib/display-layer.js:825:24)
at /usr/share/atom/resources/app/node_modules/text-buffer/lib/text-buffer.js:780:35
at Map.forEach (native)
at TextBuffer.module.exports.TextBuffer.emitDidChangeEvent (/usr/share/atom/resources/app/node_modules/text-buffer/lib/text-buffer.js:779:47)
at TextBuffer.module.exports.TextBuffer.applyChange (/usr/share/atom/resources/app/node_modules/text-buffer/lib/text-buffer.js:762:18)
at TextBuffer.module.exports.TextBuffer.revertToCheckpoint (/usr/share/atom/resources/app/node_modules/text-buffer/lib/text-buffer.js:1001:22)
at TextBuffer.module.exports.TextBuffer.transact (/usr/share/atom/resources/app/node_modules/text-buffer/lib/text-buffer.js:955:20)
at TextEditor.module.exports.TextEditor.transact (/usr/share/atom/resources/app/src/text-editor.js:1673:32)
at /usr/share/atom/resources/app/src/text-editor.js:1234:30
at TextEditor.module.exports.TextEditor.mergeSelections (/usr/share/atom/resources/app/src/text-editor.js:2617:49)
at TextEditor.module.exports.TextEditor.mergeIntersectingSelections (/usr/share/atom/resources/app/src/text-editor.js:2583:41)
at TextEditor.module.exports.TextEditor.mutateSelectedText (/usr/share/atom/resources/app/src/text-editor.js:1232:25)
at TextEditor.module.exports.TextEditor.insertText (/usr/share/atom/resources/app/src/text-editor.js:1198:25)
at TextEditor.object.(anonymous function) [as insertText] (/usr/share/atom/resources/app/node_modules/underscore-plus/lib/underscore-plus.js:77:33)
at TextEditorComponent.didTextInput (/usr/share/atom/resources/app/src/text-editor-component.js:1630:30)
-0:48.5.0 core:backspace (input.hidden-input)
2x -0:42 core:delete (input.hidden-input)
4x -0:40.4.0 core:backspace (input.hidden-input)
2x -0:34.3.0 application:new-file (atom-pane.pane.active)
10x -0:30.2.0 core:backspace (input.hidden-input)
-0:23 editor:newline (input.hidden-input)
-0:22.2.0 core:save (input.hidden-input)
-0:07.6.0 core:copy (input.hidden-input)
atom-ide-ui 0.5.4
atom-runner 2.7.1
ide-cpp 0.0.3
ide-python 0.2.3
ide-typescript 0.6.2
[Enter steps to reproduce:]
This is very weird. I don't know which package to write the issue to.
I had ide-php installed and I was working on a typescript project so I installed ide-typescript. Then I started getting an error Uncaught Error: Connection is closed.
from ide-php. I decided to disable ide-php for the time being since I didn't need it, but the error kept showing up.
I uninstalled ide-php, restarted Atom, and restarted my computer, but I still get the error from ~\.atom\packages\ide-php\node_modules\vscode-jsonrpc\lib\main.js
which doesn't exist on my computer
If I disable ide-typescript the error goes away.
same issue as https://github.com/atom/ide-php/issues/73
Atom: 1.23.0-beta0 x64 Electron: 1.6.15 OS: Microsoft Windows 10 Pro Insider Preview Thrown From: 'ide-php' package vundefined
Uncaught Error: Connection is closed.
At C:\Users\tjbrix\.atom\packages\ide-php\node_modules\vscode-jsonrpc\lib\main.js:613
Error: Connection is closed.
at /packages/ide-php/node_modules/vscode-jsonrpc/lib/main.js:138:28)
at throwIfClosedOrDisposed (/packages/ide-php/node_modules/vscode-jsonrpc/lib/main.js:613:19)
at Object.sendNotification (/packages/ide-php/node_modules/vscode-jsonrpc/lib/main.js:667:13)
at LanguageClientConnection._sendNotification (/packages/ide-php/node_modules/atom-languageclient/build/lib/languageclient.js:242:15)
at LanguageClientConnection.didChangeTextDocument (/packages/ide-php/node_modules/atom-languageclient/build/lib/languageclient.js:131:10)
at TextEditorSyncAdapter.sendFullChanges (/packages/ide-php/node_modules/atom-languageclient/build/lib/adapters/document-sync-adapter.js:181:22)
at Function.module.exports.Emitter.simpleDispatch (~/AppData/Local/atom/app-1.23.0-beta0/resources/app/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (~/AppData/Local/atom/app-1.23.0-beta0/resources/app/node_modules/event-kit/lib/emitter.js:141:34)
at disposables.add.displayLayer.onDidChange.changes (~/AppData/Local/atom/app-1.23.0-beta0/resources/app/src/text-editor.js:588:26)
at Function.module.exports.Emitter.simpleDispatch (~/AppData/Local/atom/app-1.23.0-beta0/resources/app/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (~/AppData/Local/atom/app-1.23.0-beta0/resources/app/node_modules/event-kit/lib/emitter.js:141:34)
at DisplayLayer.emitDeferredChangeEvents (~/AppData/Local/atom/app-1.23.0-beta0/resources/app/node_modules/text-buffer/lib/display-layer.js:833:26)
at DisplayLayer.didChange (~/AppData/Local/atom/app-1.23.0-beta0/resources/app/node_modules/text-buffer/lib/display-layer.js:828:57)
at decorationLayerDisposable.textDecorationLayer.onDidInvalidateRange (~/AppData/Local/atom/app-1.23.0-beta0/resources/app/node_modules/text-buffer/lib/display-layer.js:162:20)
at Function.module.exports.Emitter.simpleDispatch (~/AppData/Local/atom/app-1.23.0-beta0/resources/app/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (~/AppData/Local/atom/app-1.23.0-beta0/resources/app/node_modules/event-kit/lib/emitter.js:141:34)
at TokenizedBuffer.tokenizeNextChunk (~/AppData/Local/atom/app-1.23.0-beta0/resources/app/src/tokenized-buffer.js:324:26)
at _.defer (~/AppData/Local/atom/app-1.23.0-beta0/resources/app/src/tokenized-buffer.js:291:63)
at ~/AppData/Local/atom/app-1.23.0-beta0/resources/app/node_modules/underscore/underscore.js:666:53
-0:38.6.0 window:toggle-dev-tools (input.hidden-input)
activate-power-mode undefined
atom-beautify 0.30.6
atom-ide-ui 0.5.4
atom-jasmine 0.8.1
atom-minify 0.8.0
atom-typescript 11.0.10
atomic-chrome 0.3.3
auto-detect-indentation 1.3.0
autoclose-html 0.23.0
autocomplete-emojis 2.5.0
autocomplete-html-entities 0.2.0
autocomplete-json 5.5.0
change-case 0.6.5
chrome-color-picker 0.8.0
code-peek 1.4.21
context-git 0.17.6
context-menu-remove 0.1.0
cson 2.0.1
cursor-history 0.12.0
dbclick-tree-view 1.6.3
docblockr 0.13.2
double-tag 1.1.0
editor-stats 0.17.0
editorconfig 2.2.2
emmet 2.4.3
external-open 0.6.3
file-icons 2.1.13
file-types 0.5.5
file-watcher 1.2.6
flex-tool-bar 0.12.0
git-time-machine 1.5.9
grammar-token-limit 0.1.1
highlight-selected 0.13.1
hyperclick 0.0.0
hyperclick-php 0.2.1
hyperlink-hyperclick 1.3.4
ide-typescript 0.7.0
intentions 1.1.5
js-hyperclick 1.12.1
keybinding-cheatsheet 0.1.1
language-babel 2.78.0
language-batch 0.4.0
language-htaccess 0.1.1
language-ini 1.19.0
language-vbscript 0.9.0
line-diff-details 1.9.0
line-ending-converter 1.3.2
linter-coffeelint 1.3.1
linter-eslint 8.4.0
linter-htmlhint 1.4.0
linter-js-yaml 1.2.8
linter-markdown 5.2.0
linter-phpcs 1.6.8
linter-sass-lint 1.8.3
linter-twig 0.4.2
linter-write-good 0.9.0
merge-conflicts 1.4.5
minimap 4.29.7
minimap-bookmarks 0.4.2
minimap-cursorline 0.2.0
minimap-find-and-replace 4.5.2
minimap-git-diff 4.3.1
minimap-hide 0.3.0
minimap-highlight-selected 4.6.1
minimap-linter 2.1.3
minimap-pigments 0.2.2
minimap-selection 4.5.0
minimap-split-diff 0.3.7
my-settings-view 0.252.2
node-debugger 1.10.1
notifications-plus 0.69.11
notifications-plus-confetti 0.1.4
npm-install 4.0.4
open 0.1.1
open_in_cmd 0.6.1
open-in-developer-mode 0.3.0
php-debug 0.2.5
php-integrator-annotations 1.2.0
php-integrator-autocomplete-plus 1.6.1
php-integrator-base 3.1.0
php-integrator-refactoring 1.4.1
php-twig 4.0.0
pigments 0.40.2
platformio-ide-terminal 2.7.0
process-palette 0.15.2
project-manager 3.3.5
react 0.17.0
Remote-FTP 1.3.1
rest-client 1.3.1
sass-autocompile 0.13.3
script undefined
scroll-editor-on-middle-click 0.4.0
scroll-sync 0.2.3
sort-lines 0.18.0
split-diff 1.5.1
Sublime-Style-Column-Selection 1.7.4
tabs-to-spaces 1.0.3
text-manipulation 0.6.0
todo-show 2.1.0
tool-bar 1.1.0
trailing-semicolon 1.1.0
trailing-spaces 0.4.0
transpile 0.1.4
transpile-decaf 0.1.3
tree-view-git-status 1.4.0
uzitech-toggle-quotes 0.0.0
vic 0.0.0
wakatime 7.0.4
web-accessibility-checker 0.1.4
Zen 0.18.0
Adding my vote to this. I've had the issue intermittently in the past and this morning my Atom is completely unusable because of this bug happening repeatedly.
If you have a solid repro you can share please do so - it's the fact I can't repro it to diagnose and fix it that's holding this up, not a lack of votes or desire.
Is there any way to get log information from the child process? It seems to crash after a while, which makes Atom unable to connect to it.
You can turn on our logging with atom.config.set('core.debugLSP', true)
however the language server child process needs to do the right things to get log messages back to us - if they just write to stdout they'll break the JSONRPC stream (which might be what's happening)
[Enter steps to reproduce:]
I've had this issue since the latest update. Also had the same issue with ide-python. I removed ide-python for the same connection closed spamming problem that makes atom non-functional.
Atom: 1.22.1 x64 Electron: 1.6.15 OS: Mac OS X 10.12.6 Thrown From: ide-typescript package 0.7.0
Uncaught Error: Connection is closed.
At /Users/matthale/Dropbox/Apps/Atom/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:613
Error: Connection is closed.
at /packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:138:28)
at throwIfClosedOrDisposed (/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:613:19)
at Object.sendNotification (/packages/ide-typescript/node_modules/vscode-jsonrpc/lib/main.js:667:13)
at LanguageClientConnection._sendNotification (/packages/ide-typescript/node_modules/atom-languageclient/build/lib/languageclient.js:242:15)
at LanguageClientConnection.didChangeWatchedFiles (/packages/ide-typescript/node_modules/atom-languageclient/build/lib/languageclient.js:143:10)
at ServerManager.projectFilesChanged (/packages/ide-typescript/node_modules/atom-languageclient/build/lib/server-manager.js:233:33)
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
at /Applications/Atom.app/Contents/Resources/app/src/project.js:341:40
at PathWatcher.onNativeEvents (/Applications/Atom.app/Contents/Resources/app/src/path-watcher.js:671:15)
at /Applications/Atom.app/Contents/Resources/app/src/path-watcher.js:567:31
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
at NativeWatcher.onEvents (/Applications/Atom.app/Contents/Resources/app/src/path-watcher.js:448:26)
at handler (/Applications/Atom.app/Contents/Resources/app/src/path-watcher.js:177:15)
-1:00.7.0 snippets:expand (input.hidden-input)
-1:00.7.0 editor:indent (input.hidden-input)
2x -0:59.5.0 core:backspace (input.hidden-input)
-0:58.9.0 core:paste (input.hidden-input)
-0:56.6.0 core:cut (input.hidden-input)
5x -0:55.2.0 core:backspace (input.hidden-input)
-0:53.2.0 markdown-writer:insert-new-line (input.hidden-input)
-0:53.2.0 editor:newline (input.hidden-input)
-0:52.5.0 markdown-writer:indent-list-line (input.hidden-input)
-0:52.5.0 snippets:next-tab-stop (input.hidden-input)
-0:52.5.0 snippets:expand (input.hidden-input)
-0:52.5.0 editor:indent (input.hidden-input)
2x -0:51.6.0 core:backspace (input.hidden-input)
-0:50.8.0 core:paste (input.hidden-input)
3x -0:48.8.0 core:backspace (input.hidden-input)
-0:44.9.0 core:save (input.hidden-input)
atom-handlebars 1.3.0
atom-ide-ui 0.5.4
ide-json 0.1.0
ide-typescript 0.7.0
language-markdown 0.25.1
markdown-image-assistant 0.2.0
markdown-scroll-sync 2.1.2
markdown-toc-auto 0.8.0
markdown-writer 2.7.3
@MLHale Did you get the native macOS “Atom Helper quit unexpectedly” popup box? If so, can you click on “Report” and paste it here (preferably in a <details>
box)?
<details>
(paste error logs here) ```
@j-f1 I'm afraid not. Just the 'connection closed' bug message popup in atom.
any update ? still happening all the time.
Sorry no updates at the moment - as Damien mentioned above, getting repro steps that work will help the team's investigation. If you or anyone has more possible steps to reproduce that we can try, please let us know.
@abramovi I found a temporarily workaround to prevent Atom from bricking.
First, assuming
The workaround is:
Remove all opened js files (files consumed by your ide-* ) in the window then do
Window: Reload
this helps to somehow like "reset" the language server when reloaded to prevent issue happens again
My Environment info:
@j-f1 As you guessed this issue is being caused for me by Atom Helper crashing. I have included the crash logs for the Helper, hope this helps.
Any progress on this issue? I only installed Atom IDE support last night, but due to this error, it is completely unusable for me today (I'm only working on Ember JS project now).
@jabbermarky does it repeatedly crash at the same point?
We're intending on putting in some automatic restarts but if it's crashing a LOT that might not be particularly helpful.
If it is crashing a lot can you let me know if you are editing a publicly available project and what OS you are on so we can repro it and drill into the underlying cause.
Its not a public project but I could share a file if that would help you. I am using atom on Mac OSX.
Mark
On Feb 15, 2018, at 17:47, Damien Guard notifications@github.com wrote:
@jabbermarky does it repeatedly crash at the same point?
We're intending on putting in some automatic restarts but if it's crashing a LOT that might not be particularly helpful.
If it is crashing a lot can you let me know if you are editing a publicly available project and what OS you are on so we can repro it and drill into the underlying cause.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
The auto restart update has shipped - if you had a reproducible case (or saw the error often), can you update ide-typescript and let us know if you still get the error?
If you still get an error after updating, sharing a public project, what OS you're on, and repro steps would be helpful for investigation as Damien mentioned above.
seems to have resolved my issue. I had ide-typescript disabled after my previously reported issue in this thread. No longer encountering the issue. I'll report if it crops back up.
I'm not sure what I did to trigger this. I was editing a JavaScript file, then left Atom open while doing other stuff on my computer, then tried to type in the JavaScript file.
/cc @damieng
Atom: 1.22.0-dev-38d9c07 x64 Electron: 1.6.9 OS: Mac OS X 10.11.6 Thrown From: ide-typescript package 0.1.6
Stack Trace
Uncaught Error: Connection is closed.
Commands
Non-Core Packages