jasongilman / proto-repl

A Clojure Development Environment package for the Atom editor
https://atom.io/packages/proto-repl
MIT License
565 stars 50 forks source link

Cannot read property 'row' of undefined #265

Closed lwb4 closed 6 years ago

lwb4 commented 6 years ago

EDIT: Closed because I didn't realize the issue was already reported. #229

Got this error after opening a new lein project folder in atom and executing Proto Repl: Toggle

Uncaught TypeError: Cannot read property 'row' of undefined /Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:854 Hide Stack Trace TypeError: Cannot read property 'row' of undefined at Function.module.exports.Point.fromObject (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/point.js:30:29) at Point.module.exports.Point.traverse (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/point.js:115:27) at TextBuffer.textEditor.buffer.applyChange (/Users/-------/.atom/packages/proto-repl/lib/views/repl-text-editor.coffee:158:38) at TextBuffer.module.exports.TextBuffer.setTextInRange (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:574:25) at /Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:554:32 at TextBuffer.module.exports.TextBuffer.transact (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:849:24) at TextBuffer.module.exports.TextBuffer.setTextInRange (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:552:27) at TextBuffer.module.exports.TextBuffer.insert (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:578:25) at /Users/-------/.atom/packages/proto-repl/lib/views/repl-text-editor.coffee:220:47 at ReplTextEditor.module.exports.ReplTextEditor.modifyTextWith (/Users/-------/.atom/packages/proto-repl/lib/views/repl-text-editor.coffee:100:5) at ReplTextEditor.module.exports.ReplTextEditor.appendText (/Users/-------/.atom/packages/proto-repl/lib/views/repl-text-editor.coffee:218:8) at ReplTextEditor.module.exports.ReplTextEditor.stdout (/Users/-------/.atom/packages/proto-repl/lib/views/repl-text-editor.coffee:232:6) at /Users/-------/.atom/packages/proto-repl/lib/process/local-repl-process.coffee:120:17 at /Applications/Atom.app/Contents/Resources/app/src/task.js:128: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 ChildProcess. (/Applications/Atom.app/Contents/Resources/app/src/task.js:80:40) at emitTwo (events.js:106:13) at ChildProcess.emit (events.js:191:7) at process.nextTick (internal/child_process.js:744:12) at _combinedTickCallback (internal/process/next_tick.js:67:7) at process._tickCallback (internal/process/next_tick.js:98:9)