Just open a *.log file in atom. Remark: File is empty.
Error is displayed.
Atom: 1.25.0-beta3 x64
Electron: 1.7.11
OS: Mac OS X 10.13.3
Thrown From: language-log package 1.10.0
Stack Trace
Uncaught TypeError: Cannot match against 'undefined' or 'null'.
At /Applications/Atom.app/Contents/Resources/app/src/text-mate-language-mode.js:542
TypeError: Cannot match against 'undefined' or 'null'.
at TextMateLanguageMode.bufferRangeForScopeAtPosition (/Applications/Atom.app/Contents/Resources/app/src/text-mate-language-mode.js:542:43)
at TextEditor.bufferRangeForScopeAtPosition (/Applications/Atom.app/Contents/Resources/app/src/text-editor.js:3684:48)
at LogFilter.module.exports.LogFilter.getLineTimestamp (/packages/language-log/lib/log-filter.coffee:204:27)
at LogFilter.module.exports.LogFilter.getLastTimestamp (/packages/language-log/lib/log-filter.coffee:197:23)
at LogView.module.exports.LogView.updateTimestamps (/packages/language-log/lib/log-view.coffee:222:31)
at /packages/language-log/lib/log-view.coffee:137:10
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 TextEditor.languageModeSubscription.languageMode.onDidTokenize.languageMode.onDidTokenize (/Applications/Atom.app/Contents/Resources/app/src/text-editor.js:197:26)
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 TextMateLanguageMode.markTokenizationComplete (/Applications/Atom.app/Contents/Resources/app/src/text-mate-language-mode.js:324:26)
at TextMateLanguageMode.tokenizeNextChunk (/Applications/Atom.app/Contents/Resources/app/src/text-mate-language-mode.js:318:18)
at _.defer (/Applications/Atom.app/Contents/Resources/app/src/text-mate-language-mode.js:279:63)
at /Applications/Atom.app/Contents/Resources/app/node_modules/underscore/underscore.js:666:53
[Enter steps to reproduce:]
Atom: 1.25.0-beta3 x64 Electron: 1.7.11 OS: Mac OS X 10.13.3 Thrown From: language-log package 1.10.0
Stack Trace
Uncaught TypeError: Cannot match against 'undefined' or 'null'.
Commands
Non-Core Packages