Skip to content

Uncaught TypeError: Cannot read property 'activateItem' of null #145

@abcsds

Description

@abcsds

Hi, here are the steps to reproduce:

  1. Open a git diff view on a file.
  2. Close the diff version of the file and click on "Close without saving"

Atom: 1.38.2 x64
Electron: 4.2.5
OS: "Manjaro Linux"
Thrown From: git-time-machine package 2.1.0

Stack Trace

Uncaught TypeError: Cannot read property 'activateItem' of null

At /home/abcsds/.dotfiles/atom/atom.symlink/packages/git-time-machine/lib/git-revision-view.coffee:47

TypeError: Cannot read property 'activateItem' of null
    at GitRevisionView.module.exports.GitRevisionView.activateTimeMachineEditorForEditor (/packages/git-time-machine/lib/git-revision-view.coffee:47:41)
    at /packages/git-time-machine/lib/git-revision-view.coffee:24:34
    at /packages/editor-stats/node_modules/underscore/underscore.js:768:19

Commands

     -5:52.6.0 command-palette:toggle (input.hidden-input)
  2x -5:42.4.0 git-diff:toggle-diff-list (input.hidden-input)
     -4:55.8.0 git-time-machine:toggle (input.hidden-input)
     -2:37.7.0 core:backspace (input.hidden-input)
     -2:35.3.0 intentions:highlight (input.hidden-input)
     -2:35.2.0 core:save (input.hidden-input)
     -0:56.4.0 core:backspace (input.hidden-input)
     -0:52.7.0 intentions:highlight (input.hidden-input)
     -0:52.2.0 editor:toggle-line-comments (input.hidden-input)
     -0:51.7.0 intentions:highlight (input.hidden-input)
     -0:51.6.0 core:save (input.hidden-input)
     -0:47.2.0 core:backspace (input.hidden-input)
     -0:46.6.0 autocomplete-plus:activate (atom-text-editor.editor.split-diff)
 14x -0:41.9.0 core:backspace (input.hidden-input)
     -0:32 intentions:highlight (input.hidden-input)
     -0:31.5.0 core:save (input.hidden-input)

Non-Core Packages

atom-beautify 0.33.4 
autocomplete-bibtex 1.2.1 
autocomplete-python 1.14.1 
busy-signal 2.0.1 
city-lights-syntax 1.1.8 
city-lights-ui 1.5.3 
color-picker 2.3.0 
docker 0.8.0 
editor-stats 0.17.0 
file-icons 2.1.33 
git-time-machine 2.1.0 
Hydrogen 2.10.0 
ink 0.10.10 
intentions 1.1.5 
jekyll 2.1.0 
julia-client 0.8.9 
language-csv 1.1.2 
language-julia 0.19.0 
language-latex 1.2.0 
language-matlab 0.2.1 
language-r 0.4.2 
language-viml 1.1.9 
latex-autocomplete 1.1.1 
latex-plus 0.9.1 
linter 2.3.0 
linter-flake8 2.4.0 
linter-julia 0.7.4 
linter-ui-default 1.7.1 
material-syntax 0.6.1 
pdf-view 0.71.0 
pigments 0.40.2 
python-tools 0.6.9 
set-syntax 0.4.0 
split-diff 1.4.0 
uber-juno 0.2.0 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions