language-log icon indicating copy to clipboard operation
language-log copied to clipboard

Uncaught TypeError: Cannot read property 'getLineCount' of null

Open farnk05 opened this issue 7 years ago • 1 comments

[Enter steps to reproduce:]

  1. Open a log file that may dynamically change.
  2. close log filter box on the bottom of the screen.
  3. when the log file changes in the back ground with the log filter box closed it throws the following error.

Atom: 1.35.1 x64 Electron: 2.0.18 OS: Mac OS X 10.14.3 Thrown From: language-log package 1.10.1

Stack Trace

Uncaught TypeError: Cannot read property 'getLineCount' of null

At /Users/fkeefer/.atom/packages/language-log/lib/log-view.coffee:205

TypeError: Cannot read property 'getLineCount' of null
    at LogView.module.exports.LogView.updateDescription (/packages/language-log/lib/log-view.coffee:205:25)
    at /packages/language-log/lib/log-view.coffee:131:8
    at Function.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1172354)
    at Emitter.emit (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1173795)
    at TextBuffer.emitDidStopChangingEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:504571)
    at later (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:98352)

Commands

Non-Core Packages

atom-ide-ui 0.13.0 
atom-typescript 13.1.0 
busy-signal 2.0.0 
compare-files 0.8.1 
ide-html 0.5.0 
ide-java 0.8.3 
ide-json 0.2.1 
ide-python 1.2.3 
ide-typescript 0.8.0 
ide-yaml 0.4.4 
intentions 1.1.5 
language-ini 1.20.0 
language-log 1.10.1 
language-swift 0.5.0 
linter 2.3.0 
linter-jshint 3.1.14 
linter-ui-default 1.7.1 
platformio-ide-terminal 2.9.1 
sonarlint 1.2.1 

farnk05 avatar Apr 05 '19 13:04 farnk05

Duplicate of #42 Just did what is said in this yes it did worked. Don't know if this would create some issue somewhere else, but till now it's working fine.

Puspendert avatar Apr 16 '20 13:04 Puspendert