livestyle / atom

LiveStyle plugin for Atom editor
http://livestyle.io
135 stars 9 forks source link

I'm unable to split panes because of an Uncaught TypeError: Cannot read property 'getDomNode' of undefined #35

Closed SiamKing closed 7 years ago

SiamKing commented 7 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.19.2 x64 Electron: 1.6.9 OS: Mac OS X 10.11.6 Thrown From: livestyle-atom package 0.2.9

Stack Trace

Uncaught TypeError: Cannot read property 'getDomNode' of undefined

At /Users/TJ/.atom/packages/livestyle-atom/lib/analyzer/hyperlink.js:101

TypeError: Cannot read property 'getDomNode' of undefined
    at getLinesDomNode (/packages/livestyle-atom/lib/analyzer/hyperlink.js:101:58)
    at module.exports (/packages/livestyle-atom/lib/analyzer/hyperlink.js:85:5)
    at atom.workspace.observeTextEditors.editor (/packages/livestyle-atom/lib/analyzer/decorator.js:28:13)
    at /Applications/Atom.app/Contents/Resources/app/src/workspace.js:721: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/workspace.js:594:34
    at /Applications/Atom.app/Contents/Resources/app/src/workspace.js:595:19
    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 PaneContainer.didAddPaneItem (/Applications/Atom.app/Contents/Resources/app/src/pane-container.js:270:24)
    at PaneContainer.didAddPane (/Applications/Atom.app/Contents/Resources/app/src/pane-container.js:242:18)
    at Pane.module.exports.Pane.setContainer (/Applications/Atom.app/Contents/Resources/app/src/pane.js:162:32)
    at PaneAxis.module.exports.PaneAxis.addChild (/Applications/Atom.app/Contents/Resources/app/src/pane-axis.js:154:19)
    at PaneAxis.module.exports.PaneAxis.insertChildAfter (/Applications/Atom.app/Contents/Resources/app/src/pane-axis.js:225:25)
    at Pane.module.exports.Pane.split (/Applications/Atom.app/Contents/Resources/app/src/pane.js:1004:29)
    at Pane.module.exports.Pane.splitRight (/Applications/Atom.app/Contents/Resources/app/src/pane.js:964:25)
    at HTMLElement.pane:split-right-and-copy-active-item (/Applications/Atom.app/Contents/Resources/app/src/register-default-commands.js:269:38)
    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:347:31)
    at emitThree (events.js:116:13)
    at EventEmitter.emit (events.js:194:7)

Commands

  2x -4:19 tree-view:show (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)
  4x -3:22.7.0 core:backspace (input.hidden-input)
  2x -2:57.6.0 editor:newline (input.hidden-input)
  5x -2:47.4.0 core:backspace (input.hidden-input)
  5x -2:30.9.0 editor:newline (input.hidden-input)
     -1:23.8.0 core:save (input.hidden-input)
     -1:16.8.0 editor:newline (input.hidden-input)
     -1:16.2.0 snippets:next-tab-stop (input.hidden-input)
     -1:16.2.0 snippets:expand (input.hidden-input)
     -1:16.2.0 editor:indent (input.hidden-input)
     -1:14.1.0 core:backspace (input.hidden-input)
  2x -1:02.1.0 pane:split-right-and-copy-active-item (div.line)

Non-Core Packages

atom-html-preview 0.1.22 
atom-jade 0.3.0 
atom-runner 2.7.1 
auto-indent 0.5.0 
auto-update-packages 1.0.1 
autosave-plus 0.6.0 
bezier-curve-editor 0.7.2 
busy-signal 1.4.3 
caniuse 0.9.2 
color-picker 2.2.5 
csslint 1.1.5 
emmet 2.4.3 
erb-snippets 1.1.0 
file-explorer 0.3.0 
file-icons 2.1.11 
highlight-selected 0.13.1 
integrated-learn-environment 1.9.0 
intentions 1.1.5 
jshint 1.8.6 
jslint 1.5.1 
linter 2.2.0 
linter-htmlhint 1.3.3 
linter-ui-default 1.6.7 
linter-xo 0.23.1 
livestyle-atom 0.2.9 
minimap 4.29.6 
minimap-hide 0.3.0 
preview-plus 1.2.7 
Sublime-Style-Column-Selection 1.7.4