Skip to content
This repository was archived by the owner on Aug 27, 2020. It is now read-only.
This repository was archived by the owner on Aug 27, 2020. It is now read-only.

Uncaught TypeError: Cannot read property 'split' of null #84

@TriMoon

Description

@TriMoon

I am opening a fresh issue of #49, to attract attention to it.
Because #49 has been closed since it started and has had many other reports since then but the issue stayed closed without a fix.
That said;

BUG REPORT

[Enter steps to reproduce:]

  1. Go in a directory that has no git tracking yet
  2. Enter at console: git init --separate-git-dir=/gitrepos/xxxx --shared=group
    Take note that /gitrepos/xxxx is any existing directory you want the git administrative files to be kept in...
  3. Press CTRL+F5 to reload the atom window in case you executed the above step inside a terminal emulator inside the Atom Window like i use.
    Otherwise start your Atom Editor with the directory you just initialized git in.
  4. Press CTRL+SHIFT+P to bring up the command menu.
  5. Select "Git Log Show"

Atom: 1.35.0-beta0 x64
Electron: 2.0.16
OS: Debian GNU/Linux
Thrown From: git-log package 0.4.1

Stack Trace

Uncaught TypeError: Cannot read property 'split' of null

At /home/<username>/.atom/packages/git-log/lib/logparser.js:116

TypeError: Cannot read property 'split' of null
    at parse_git_log (/packages/git-log/lib/logparser.js:116:21)
    at GitLogView.parser (/packages/git-log/lib/git-log-view.js:117:16)
    at GitLogView.log_callback (/packages/git-log/lib/git-log-view.js:69:10)
    at /packages/git-log/lib/git-log-view.js:50:18
    at o (/usr/share/atom-beta/resources/app/static/<embedded>:14:1039005)
    at e.bufferStream (/usr/share/atom-beta/resources/app/static/<embedded>:14:1039093)
    at Socket.e.on (/usr/share/atom-beta/resources/app/static/<embedded>:14:1037761)
    at emitOne (events.js:121:20)
    at Socket.emit (events.js:211:7)
    at Pipe._handle.close [as _onclose] (net.js:554:12)

Commands

     -5:02.8.0 intentions:highlight (input.hidden-input)
     -5:02.2.0 command-palette:toggle (input.hidden-input)
     -4:57.9.0 core:confirm (input.hidden-input)
     -4:57.9.0 git-log:show (input.hidden-input)
     -4:55.6.0 core:confirm (input.hidden-input)

Non-Core Packages

atom-json-editor 0.4.1 
atom-material-syntax 1.0.8 
atom-material-ui 2.1.3 
atom-minify 0.8.0 
atomic-management 0.3.1 
bezier-curve-editor 0.7.2 
busy-signal 2.0.0 
color-picker 2.3.0 
docblockr 0.13.7 
editorconfig 2.2.2 
file-icons 2.1.29 
git-log 0.4.1 
gitlab-integration 0.4.8 
intentions 1.1.5 
language-babel 2.85.0 
language-vue 0.24.0 
linter 2.3.0 
linter-ui-default 1.7.1 
minimap 4.29.9 
minimap-autohider 1.6.0 
minimap-bookmarks 0.4.2 
minimap-codeglance 0.4.7 
minimap-linter 2.2.1 
pigments 0.40.2 
platformio-ide-terminal 2.9.0 
project-manager 3.3.6 
vuejs2-snippets 1.1.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