atom / github

:octocat: Git and GitHub integration for Atom
https://github.atom.io
MIT License
1.12k stars 393 forks source link

Uncaught TypeError: Cannot read property 'promptForCredentials' of null #1795

Open ghost opened 6 years ago

ghost commented 6 years ago

@berrylaw commented on Nov 12, 2018, 2:08 AM UTC:

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.32.2 x64 Electron: 2.0.9 OS: Mac OS X 10.14.1 Thrown From: Atom Core

Stack Trace

Uncaught TypeError: Cannot read property 'promptForCredentials' of null

At /private/var/folders/1j/3t5l8q6x6_303_c1t_y243gr0000gn/T/AppTranslocation/9CC68F40-0B57-4859-9A33-118812BBD284/d/Atom.app/Contents/Resources/app/static/<embedded>:11

TypeError: Cannot read property 'promptForCredentials' of null
    at GitPromptServer.promptCallback (/private/var/folders/1j/3t5l8q6x6_303_c1t_y243gr0000gn/T/AppTranslocation/9CC68F40-0B57-4859-9A33-118812BBD284/d/Atom.app/Contents/Resources/app/static/<embedded>:11:807752)
    at GitPromptServer.handleData (/private/var/folders/1j/3t5l8q6x6_303_c1t_y243gr0000gn/T/AppTranslocation/9CC68F40-0B57-4859-9A33-118812BBD284/d/Atom.app/Contents/Resources/app/static/<embedded>:14:3370180)
    at Socket.e.on.n (/private/var/folders/1j/3t5l8q6x6_303_c1t_y243gr0000gn/T/AppTranslocation/9CC68F40-0B57-4859-9A33-118812BBD284/d/Atom.app/Contents/Resources/app/static/<embedded>:14:3370023)
    at emitOne (events.js:116:13)
    at Socket.emit (events.js:211:7)
    at addChunk (_stream_readable.js:263:12)
    at readableAddChunk (_stream_readable.js:246:13)
    at Socket.Readable.push (_stream_readable.js:208:10)
    at Pipe.onread (net.js:594:20)

Commands

     -0:37.3.0 core:cancel (div.github-StagingView.staged-changes-focused)
  2x -0:33.8.0 core:confirm (span.github-FilePatchListView-path)

Non-Core Packages

atom-clock 0.1.16 
atom-eclipse-syntax 0.0.6 
autumn-highlighter-syntax 3.0.2 
city-lights-syntax 1.1.8 
city-lights-ui 1.5.3 
hey-pane 1.1.2 
Hydrogen 2.6.0 
jackhammer-syntax 1.1.0 
scroll-through-time 0.3.0 
styri-syntax 1.0.0 
teletype 0.13.3 
zentabs 0.8.9 

This issue was moved by rsese from atom/atom#18424.

rsese commented 6 years ago

Thanks for the report @berrylaw! Moved over here based on https://github.com/atom/github/issues/1192 - can you confirm a few things for us?