jacogr / atom-git-control

Not maintained :(
MIT License
227 stars 70 forks source link

Uncaught TypeError: Cannot read property 'workingDirectory' of null #252

Open eugeneval opened 6 years ago

eugeneval commented 6 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.22.0 x64 Electron: 1.6.15 OS: Mac OS X 10.12.6 Thrown From: git-control package 0.9.0

Stack Trace

Uncaught TypeError: Cannot read property 'workingDirectory' of null

At /Users/Eugene1/.atom/packages/git-control/lib/git-control-view.coffee:76

TypeError: Cannot read property 'workingDirectory' of null
    at GitControlView.module.exports.GitControlView.initialize (/packages/git-control/lib/git-control-view.coffee:76:50)
    at /packages/arduino-upload/node_modules/space-pen/lib/space-pen.js:184:25)
    at /packages/git-control/lib/git-control-view.coffee:36:7)
    at Object.toggleView (/packages/git-control/lib/git-control.coffee:31:18)
    at /packages/git-control/lib/git-control.coffee:18:57)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:381:36)
    at Object.didConfirmSelection (/Applications/Atom.app/Contents/Resources/app/node_modules/command-palette/lib/command-palette-view.js:144:35)
    at SelectListView.confirmSelection (/Applications/Atom.app/Contents/Resources/app/node_modules/command-palette/node_modules/atom-select-list/src/select-list-view.js:327:26)
    at HTMLDivElement.core:confirm (/Applications/Atom.app/Contents/Resources/app/node_modules/command-palette/node_modules/atom-select-list/src/select-list-view.js:84:20)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:381:36)
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:621:22)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:412:28)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:100:42)
    at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:3:65)

Commands

  2x -5:04.9.0 core:backspace (input.hidden-input)
     -5:02.3.0 core:save (input.hidden-input)
     -2:17.6.0 command-palette:toggle (input.hidden-input)
     -0:46.4.0 settings-view:open (input.hidden-input)
     -0:43.4.0 core:confirm (input.hidden-input)
     -0:15.4.0 command-palette:toggle (input.hidden-input)
  5x -0:14.5.0 core:backspace (input.hidden-input)
     -0:10.7.0 core:confirm (input.hidden-input)
     -0:10.7.0 git-control:toggle (input.hidden-input)

Non-Core Packages

arduino-upload 1.3.2 
atom-beautify 0.30.6 
atom-clock 0.1.15 
atom-html-preview 0.2.2 
atom-python-run 0.9.3 
autoclose-html 0.23.0 
autocomplete-clang 0.11.4 
autocomplete-java 1.2.7 
autocomplete-python 1.10.3 
autocomplete-sql 0.5.0 
autocomplete-swift 1.0.3 
battery-status 0.11.7 
busy-signal 1.4.3 
color-picker 2.2.5 
data-atom 0.26.2 
git-control 0.9.0 
git-history 3.3.0 
git-log 0.4.1 
goto-definition 1.3.4 
gpp-compiler 3.0.7 
highlight-selected 0.13.1 
intentions 1.1.5 
language-arduino 0.4.3 
language-cmake 0.3.0 
language-latex 1.1.1 
language-matlab 0.2.1 
language-swift 0.5.0 
latex-autocomplete 1.0.0 
linter 2.2.0 
linter-chktex 1.3.1 
linter-clang 4.1.2 
linter-htmlhint 1.4.0 
linter-javac 1.9.4 
linter-jshint 3.1.6 
linter-markdown 5.2.0 
linter-matlab 1.1.0 
linter-php 1.5.1 
linter-processing 2.2.2 
linter-pyflakes 0.3.2 
linter-swiftc 2.0.0 
linter-ui-default 1.6.10 
minimap 4.29.7 
minimap-titles 1.13.0 
open-html-in-browser 0.2.0 
open-recent 5.0.0 
pigments 0.40.2 
platformio-ide-terminal 2.7.0 
processing 0.13.0 
processing-autocomplete 0.2.0 
processing-language 0.2.0 
pull-request 0.2.1 
script 3.17.3