Skip to content
New issue

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

Uncaught TypeError: Cannot read property 'getDecorations' of undefined #9

Open
Arnoldnuo opened this issue Jul 25, 2017 · 0 comments
Open

Comments

@Arnoldnuo
Copy link

[Enter steps to reproduce:]

  1. 通过atom-tree 打开多个文件
  2. 把右侧打开的文件都关闭

Atom: 1.18.0 x64
Electron: 1.3.15
OS: Mac OS X 10.12.5
Thrown From: atom-fecs package 0.2.1

Stack Trace

Uncaught TypeError: Cannot read property 'getDecorations' of undefined

At /Users/linuo/.atom/packages/atom-fecs/index.js:83

TypeError: Cannot read property 'getDecorations' of undefined
    at Object.keys.forEach.key (/packages/atom-fecs/index.js:83:17)
    at Array.forEach (native)
    at clearAllDecorators (/packages/atom-fecs/index.js:81:10)
    at Stream.fecs.check (/packages/atom-fecs/index.js:91:9)
    at Stream.g (events.js:286:16)
    at emitMany (events.js:127:13)
    at Stream.emit (events.js:201:7)
    at /packages/atom-fecs/node_modules/fecs/lib/reporter/index.js:164:18)
    at emitNone (events.js:86:13)
    at Stream.emit (events.js:185:7)
    at end (/packages/atom-fecs/node_modules/map-stream/index.js:116:39)
    at Stream.stream.end (/packages/atom-fecs/node_modules/map-stream/index.js:122:5)
    at Stream.onend (stream.js:59:10)
    at emitNone (events.js:91:20)
    at Stream.emit (events.js:185:7)
    at end (/packages/atom-fecs/node_modules/map-stream/index.js:116:39)
    at Stream.stream.end (/packages/atom-fecs/node_modules/map-stream/index.js:122:5)
    at Stream.onend (stream.js:59:10)
    at emitNone (events.js:91:20)
    at Stream.emit (events.js:185:7)
    at end (/packages/atom-fecs/node_modules/map-stream/index.js:116:39)
    at Stream.stream.end (/packages/atom-fecs/node_modules/map-stream/index.js:122:5)
    at Stream.onend (stream.js:59:10)
    at emitNone (events.js:91:20)
    at Stream.emit (events.js:185:7)
    at end (/packages/atom-fecs/node_modules/map-stream/index.js:116:39)
    at Stream.stream.end (/packages/atom-fecs/node_modules/map-stream/index.js:122:5)
    at Stream.onend (stream.js:59:10)
    at emitNone (events.js:91:20)
    at Stream.emit (events.js:185:7)
    at end (/packages/atom-fecs/node_modules/map-stream/index.js:116:39)
    at Stream.stream.end (/packages/atom-fecs/node_modules/map-stream/index.js:122:5)
    at Stream.onend (stream.js:59:10)
    at emitNone (events.js:91:20)
    at Stream.emit (events.js:185:7)
    at end (/packages/atom-fecs/node_modules/map-stream/index.js:116:39)
    at Stream.stream.end (/packages/atom-fecs/node_modules/map-stream/index.js:122:5)
    at DestroyableTransform.onend (/packages/atom-fecs/node_modules/readable-stream/lib/_stream_readable.js:567:10)
    at DestroyableTransform.g (events.js:286:16)
    at emitNone (events.js:91:20)
    at DestroyableTransform.emit (events.js:185:7)
    at endReadableNT (/packages/atom-fecs/node_modules/readable-stream/lib/_stream_readable.js:989:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

Commands

  2x -0:15.6.0 core:backspace (input.hidden-input)
     -0:14.1.0 vim-mode-plus:activate-normal-mode (input.hidden-input)
     -0:13.3.0 atom-beautify:beautify-editor (input.hidden-input)
     -0:12.9.0 vim-mode-plus:move-down (input.hidden-input)
     -0:12.6.0 vim-mode-plus:move-up (input.hidden-input)
     -0:12.3.0 vim-mode-plus-ex-mode:open (input.hidden-input)
     -0:12.1.0 core:confirm (input.hidden-input)
  3x -0:11.6.0 vim-mode-plus:move-down (input.hidden-input)
  2x -0:10.7.0 vim-mode-plus:move-up (input.hidden-input)
     -0:09.9.0 vim-mode-plus-ex-mode:open (input.hidden-input)
     -0:09.4.0 core:confirm (input.hidden-input)
     -0:08.4.0 tree-view:toggle-focus (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-dracula-theme.theme-one-dark-ui)
  3x -0:08.3.0 core:move-up (div.tool-panel.tree-view)
     -0:07.7.0 tree-view:open-selected-entry (div.tool-panel.tree-view)
     -0:07.5.0 core:move-down (div.tool-panel.tree-view)
     -0:07.2.0 tree-view:open-selected-entry (div.tool-panel.tree-view)

Non-Core Packages

atom-beautify 0.30.3 
atom-fecs 0.2.1 
atom-typescript 11.0.6 
busy-signal 1.4.3 
dracula-syntax 2.0.5 
dracula-theme 2.0.3 
intentions 1.1.2 
language-vue 0.23.0 
linter 2.2.0 
linter-ui-default 1.6.2 
vim-mode-plus 0.93.0 
vim-mode-plus-ex-mode 0.9.1 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant