atom / ide-json

MIT License
24 stars 15 forks source link

Uncaught Error: Connection is closed. #14

Closed ZyanKLee closed 5 years ago

ZyanKLee commented 5 years ago

[Enter steps to reproduce:]

  1. work within a YAML file

Atom: 1.33.0 x64 Electron: 2.0.11 OS: Mac OS X 10.14.1 Thrown From: ide-json package 0.2.1

Stack Trace

Uncaught Error: Connection is closed.

At /Users/xyz/.atom/packages/ide-json/node_modules/vscode-jsonrpc/lib/main.js:613

Error: Connection is closed.
    at /packages/ide-json/node_modules/vscode-jsonrpc/lib/main.js:138:28)
    at throwIfClosedOrDisposed (/packages/ide-json/node_modules/vscode-jsonrpc/lib/main.js:613:19)
    at Object.sendNotification (/packages/ide-json/node_modules/vscode-jsonrpc/lib/main.js:667:13)
    at LanguageClientConnection._sendNotification (/packages/ide-puppet/node_modules/atom-languageclient/build/lib/languageclient.js:242:15)
    at LanguageClientConnection.didChangeTextDocument (/packages/ide-puppet/node_modules/atom-languageclient/build/lib/languageclient.js:131:10)
    at TextEditorSyncAdapter.sendFullChanges (/packages/ide-puppet/node_modules/atom-languageclient/build/lib/adapters/document-sync-adapter.js:181:22)
    at Function.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1190583)
    at Emitter.emit (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1192024)
    at disposables.add.displayLayer.onDidChange.e (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:6510)
    at Function.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1190583)
    at Emitter.emit (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1192024)
    at DisplayLayer.emitDeferredChangeEvents (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:91875)
    at TextBuffer.emitDidChangeTextEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:504112)
    at TextBuffer.transact (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:492131)
    at TextEditor.transact (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:24215)
    at TextEditor.moveCursors (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:33112)
    at TextEditor.setCursorScreenPosition (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:30265)
    at TextEditorComponent.didMouseDownOnContent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:95794)

Commands

     -4:14 git-plus:fetch-all (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-solarized-dark-syntax.theme-one-dark-ui)
     -4:00.1.0 git-plus:menu (input.hidden-input)
  3x -3:57 core:move-down (input.hidden-input)
     -3:56.2.0 core:confirm (input.hidden-input)
     -3:49.6.0 editor:consolidate-selections (input.hidden-input)
     -3:49.6.0 core:cancel (input.hidden-input)
     -3:47.1.0 git-plus:menu (input.hidden-input)
     -3:45.7.0 core:backspace (input.hidden-input)
  3x -3:42.8.0 core:move-down (input.hidden-input)
     -3:39.2.0 core:confirm (input.hidden-input)
     -1:31.3.0 find-and-replace:show (input.hidden-input)
     -1:28.9.0 core:confirm (input.hidden-input)
  3x -1:27.2.0 core:backspace (input.hidden-input)
     -1:25.6.0 core:confirm (input.hidden-input)
  3x -1:24.8.0 core:backspace (input.hidden-input)
  6x -0:53 core:delete (input.hidden-input)

Non-Core Packages

aligner 1.2.4 
aligner-javascript 1.3.0 
aligner-puppet 0.1.1 
atom-cform-yaml 0.5.1-0 
atom-ide-ui 0.13.0 
atom-inline-blame 0.0.6 
build 0.70.0 
build-dockerfile 1.0.1 
build-gradle 0.6.0 
busy-signal 1.4.3 
docker 0.8.0 
editorconfig 2.2.2 
git-plus 8.2.0 
go-plus 6.0.2 
Hydrogen 2.7.0 
ide-docker 0.1.0 
ide-json 0.2.1 
ide-puppet 1.3.1 
ide-python 1.1.0 
ide-yaml 0.4.4 
language-ansible 0.2.2 
language-docker 1.1.8 
language-groovy 0.7.0 
language-jenkinsfile 0.1.1 
language-puppet 0.23.0 
language-yaml-cloudformation 0.3.1 
linter 2.2.0 
linter-docker 0.3.2 
linter-jenkins 1.0.3 
linter-js-cloudformation-yaml 2.2.1 
linter-puppet-lint 0.8.4 
multi-cursor 2.1.5 
sort-lines 0.18.0 
tab-length 0.1.0 
todo-show 2.3.2 
xml-formatter 0.11.0 
ZyanKLee commented 5 years ago

Duplicate of #3