Closed jackatbancast closed 9 years ago
I'm also getting this error. On Ubuntu 14.10, on atom v0.165.0
TypeError: Cannot read property 'start' of null
at Function.module.exports.Range.fromObject (/usr/share/atom/resources/app/node_modules/text-buffer/lib/range.js:26:31)
at MarkerManager.module.exports.MarkerManager.markRange (/usr/share/atom/resources/app/node_modules/text-buffer/lib/marker-manager.js:84:36)
at TextBuffer.module.exports.TextBuffer.markRange (/usr/share/atom/resources/app/node_modules/text-buffer/lib/text-buffer.js:641:27)
at DisplayBuffer.module.exports.DisplayBuffer.markBufferRange (/usr/share/atom/resources/app/src/display-buffer.js:1256:41)
at TextEditor.module.exports.TextEditor.markBufferRange (/usr/share/atom/resources/app/src/text-editor.js:1251:59)
at LinterView.display (/home/athan/.atom/packages/linter/lib/linter-view.coffee:179:26)
at LinterView.processMessage (/home/athan/.atom/packages/linter/lib/linter-view.coffee:156:6)
at LinterView.processMessage (/home/athan/.atom/packages/linter/lib/linter-view.coffee:1:1)
at /home/athan/.atom/packages/linter/lib/linter-view.coffee:139:14
at LinterHLint.processMessage (/home/athan/.atom/packages/linter-hlint/lib/linter-hlint.coffee:31:5)
at /home/athan/.atom/packages/linter/lib/linter.coffee:140:8
at BufferedProcess.triggerExitCallback (/usr/share/atom/resources/app/src/buffered-process.js:63:47)
at /usr/share/atom/resources/app/src/buffered-process.js:70:18
at Socket.<anonymous> (/usr/share/atom/resources/app/src/buffered-process.js:150:18)
at Socket.emit (events.js:129:20)
at Pipe.close (net.js:461:12)
@athanclark, @jackatbancast , can't repro this, can you let us know what linters you are running and specifically a file example where this is happening?
I get the error messages when using hlint.
As a temporary workaround, disabling Lint on Change
seems to resolve the issue while using hlint
.
I'm also getting this error with hlint, when writing new code in the last line of a file.
Same!
Can you report this issue on the linter-hslint
?
Uncaught TypeError: Cannot read property 'start' of null
Atom Version: 0.161.0 System: Mac OS X 10.10.1 Thrown From: linter package, v0.9.0
Steps To Reproduce
Stack Trace
/cc @atom/core