Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'push' of undefined #252

Closed
tiansin opened this issue Jan 19, 2018 · 4 comments
Closed

Cannot read property 'push' of undefined #252

tiansin opened this issue Jan 19, 2018 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@tiansin
Copy link

tiansin commented Jan 19, 2018

  • GitLens Version:7.5.5
  • VSCode Version:1.9.2
  • OS Version:Windows10

Steps to Reproduce:

  1. Start vscode report error.
Cannot read property 'push' of undefined: TypeError: Cannot read property 'push' of undefined
	at xi.<anonymous> (C:\Users\xfx\.vscode\extensions\eamodio.gitlens-7.5.5\out\extension.js:1:120804)
	at Generator.next (<anonymous>)
	at fulfilled (C:\Users\xfx\.vscode\extensions\eamodio.gitlens-7.5.5\node_modules\tslib\tslib.js:102:62)
	at <anonymous>

Sorry, it happened only once and I did not get any more information.

@eamodio eamodio self-assigned this Jan 19, 2018
@eamodio eamodio added the bug Something isn't working label Jan 19, 2018
@eamodio eamodio added this to the Soon™ milestone Jan 19, 2018
@s1awek
Copy link

s1awek commented Jun 21, 2018

Still got above problem:

  • GitLens Version: 8.4
  • VSCode Version: 1.24.1
  • OS Version: Windows 10

Steps to reproduce:

  1. Click gitlens icon on left side menu (or ctrl+shif+g)
  2. Using built-in terminal checkout to any branch (eg. git checkout master)

Result:

Error: Cannot read property 'push' of undefined at ci.getChildren (C:\[private]\.vscode\extensions\eamodio.gitlens-8.4.1\out\extension.js:1:131819)

ERR Cannot read property 'document' of undefined: TypeError: Cannot read property 'document' of undefined at QualityOfLife.onChangeEditorHandler (C:\[private]\.vscode\extensions\hvyindustries.crane-0.3.8\out\src\features\qualityOfLife.js:29:19) at QualityOfLife.vscode.window.onDidChangeActiveTextEditor.editor (C:\[private]\.vscode\extensions\hvyindustries.crane-0.3.8\out\src\features\qualityOfLife.js:16:68) at e.fire (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:96:764) at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:727:112 at e.fire (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:96:764) at e.$acceptDocumentsAndEditorsDelta (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:725:330) at e._doInvokeHandler (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:636:832) at e._invokeHandler (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:636:550) at e._receiveRequest (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:635:631) at e._receiveOneMessage (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:635:400) at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:634:315 at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:637:395 at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:95:432 at e.fire (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:96:764) at Socket.<anonymous> (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:154:338) at emitOne (events.js:96:13) at Socket.emit (events.js:191:7) at readableAddChunk (_stream_readable.js:178:18) at Socket.Readable.push (_stream_readable.js:136:10) at Pipe.onread (net.js:560:20)

@eamodio
Copy link
Member

eamodio commented Jun 29, 2018

@s1awek is this still happening for you?

@s1awek
Copy link

s1awek commented Jun 29, 2018

@eamodio Yes, still got this problem.

@eamodio eamodio reopened this Jun 29, 2018
@eamodio eamodio modified the milestones: Soon™, Soonish™ Jul 15, 2018
@eamodio eamodio removed this from the Soon™ milestone Jul 19, 2019
@github-actions
Copy link

github-actions bot commented Dec 1, 2020

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants