question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GitHub Desktop launches with white screen and unresponsive

See original GitHub issue

Description

I opened the GitHub Desktop on Windows, and it got only white screen.

Version

GitHub Desktop version: 1.0.13

OS version: 10.0.16299.248

Steps to Reproduce

  1. Open the program normally
  2. It was frozen with white screen

Expected behavior: Display the application like normal

Actual behavior: The screen turned white and there is error in console.

Reproduces how often: Right now, it happens all the time.

Logs

2018-01-22T15:26:14.827Z - info: [ui] [AppStore] loading 2 repositories from store
2018-01-22T15:26:14.829Z - info: [ui] [AppStore] found account: Be1con (Kittanan Jamnongrit)
2018-01-22T15:26:18.155Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.158s)
2018-01-22T15:26:18.157Z - info: [ui] Executing getRecentBranches: git log -g --no-abbrev-commit --pretty=oneline HEAD -n 2500 -- (took 3.146s)
2018-01-22T15:26:18.158Z - info: [ui] Executing getBranches: git for-each-ref --format=%(refname)%00%(refname:short)%00%(upstream:short)%00%(objectname)%00%(author)%00%(parent)%00%(symref)%00%(subject)%00%(body)%00%1F refs/heads refs/remotes (took 3.166s)
2018-01-22T15:26:19.530Z - info: [ui] Executing getCommits: git log 2f724a20accb665a2d648a04f9fbba800843b933 --date=raw --max-count=1 --pretty=%H%x1F%s%x1F%b%x1F%an <%ae> %ad%x1F%P -z --no-color -- (took 1.528s)
2018-01-22T15:26:23.528Z - info: [ui] Executing getCommits: git log origin/PrivateBranch..PrivateBranch --date=raw --max-count=100 --pretty=%H%x1F%s%x1F%b%x1F%an <%ae> %ad%x1F%P -z --no-color -- (took 3.197s)
2018-01-22T15:26:23.712Z - info: [ui] Executing getWorkingDirectoryDiff: git diff HEAD --no-ext-diff --patch-with-raw -z --no-color -- ExerciseExpress/ExerciseExpress.Android/ExerciseExpress.Android.csproj (took 3.449s)
2018-01-22T15:26:23.712Z - info: [ui] Executing getAuthorIdentity: git var GIT_AUTHOR_IDENT (took 3.299s)
2018-01-22T15:26:23.712Z - info: [ui] Executing getRemotes: git remote -v (took 3.339s)
2018-01-22T15:26:25.234Z - info: [ui] launching: 1.0.11 (Windows 10.0.16299)
2018-01-22T15:26:53.533Z - info: [ui] [AppStore] adding repository at D:\My Documents\MUICT\Senior Project\REST to store
2018-01-22T15:27:00.158Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 8.769s)
2018-01-22T15:27:01.589Z - info: [ui] Executing isUsingLFS: git lfs track (took 8.027s)
2018-01-22T15:31:37.560Z - info: [ui] Executing push: git -c credential.helper= push origin master --set-upstream --progress (took 239.392s)
2018-01-22T15:31:51.569Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 14.008s)

Additional Information

index.html:1 Uncaught (in promise) ninner: nullmessage: "Transaction committed too early. See http://bit.ly/2kdckMn"name: "PrematureCommitError"_e: Error
    at w (file:///C:/Users/Kittanan/AppData/Local/GitHubDesktop/app-1.0.13/resources/app/renderer.js:5:202692)
    at new n (file:///C:/Users/Kittanan/AppData/Local/GitHubDesktop/app-1.0.13/resources/app/renderer.js:5:250254)
    at file:///C:/Users/Kittanan/AppData/Local/GitHubDesktop/app-1.0.13/resources/app/renderer.js:5:223240
    at file:///C:/Users/Kittanan/AppData/Local/GitHubDesktop/app-1.0.13/resources/app/renderer.js:5:209329
    at j (file:///C:/Users/Kittanan/AppData/Local/GitHubDesktop/app-1.0.13/resources/app/renderer.js:5:206549)
    at $ (file:///C:/Users/Kittanan/AppData/Local/GitHubDesktop/app-1.0.13/resources/app/renderer.js:5:207207)
    at X (file:///C:/Users/Kittanan/AppData/Local/GitHubDesktop/app-1.0.13/resources/app/renderer.js:5:207061)
    at <anonymous>stack: "Error↵    at w (file:///C:/Users/Kittanan/AppData/Local/GitHubDesktop/app-1.0.13/resources/app/renderer.js:5:202692)↵    at new n (file:///C:/Users/Kittanan/AppData/Local/GitHubDesktop/app-1.0.13/resources/app/renderer.js:5:250254)↵    at file:///C:/Users/Kittanan/AppData/Local/GitHubDesktop/app-1.0.13/resources/app/renderer.js:5:223240↵    at file:///C:/Users/Kittanan/AppData/Local/GitHubDesktop/app-1.0.13/resources/app/renderer.js:5:209329↵    at j (file:///C:/Users/Kittanan/AppData/Local/GitHubDesktop/app-1.0.13/resources/app/renderer.js:5:206549)↵    at $ (file:///C:/Users/Kittanan/AppData/Local/GitHubDesktop/app-1.0.13/resources/app/renderer.js:5:207207)↵    at X (file:///C:/Users/Kittanan/AppData/Local/GitHubDesktop/app-1.0.13/resources/app/renderer.js:5:207061)↵    at <anonymous>"__proto__: Objectconstructor: function Error()prepareStackTrace: function r(e,t)stackTraceLimit: 10arguments: nullcaller: nullcaptureStackTrace: function captureStackTrace()length: 1name: "Error"prototype: Object__proto__: function ()message: ""name: "Error"toString: function toString()arguments: nullcaller: nulllength: 0name: "toString"__proto__: function ()__proto__: Objectconstructor: function Object()arguments: nullassign: function assign()caller: nullcreate: function create()defineProperties: function defineProperties()defineProperty: function defineProperty()entries: function entries()freeze: function freeze()getOwnPropertyDescriptor: function getOwnPropertyDescriptor()getOwnPropertyDescriptors: function getOwnPropertyDescriptors()getOwnPropertyNames: function getOwnPropertyNames()getOwnPropertySymbols: function getOwnPropertySymbols()getPrototypeOf: function getPrototypeOf()is: function is()isExtensible: function isExtensible()isFrozen: function isFrozen()isSealed: function isSealed()keys: function keys()length: 1name: "Object"preventExtensions: function preventExtensions()prototype: Objectseal: function seal()setPrototypeOf: function setPrototypeOf()values: function values()__proto__: function ()[[FunctionLocation]]: <unknown>hasOwnProperty: function hasOwnProperty()isPrototypeOf: function isPrototypeOf()propertyIsEnumerable: function propertyIsEnumerable()toLocaleString: function toLocaleString()toString: function toString()valueOf: function valueOf()__defineGetter__: function __defineGetter__()__defineSetter__: function __defineSetter__()__lookupGetter__: function __lookupGetter__()__lookupSetter__: function __lookupSetter__()get __proto__: function __proto__()set __proto__: function __proto__()stack: "PrematureCommitError: Transaction committed too early. See http://bit.ly/2kdckMn↵    at file:///C:/Users/Kittanan/AppData/Local/GitHubDesktop/app-1.0.13/resources/app/renderer.js:5:223240↵    at file:///C:/Users/Kittanan/AppData/Local/GitHubDesktop/app-1.0.13/resources/app/renderer.js:5:209329↵    at j (file:///C:/Users/Kittanan/AppData/Local/GitHubDesktop/app-1.0.13/resources/app/renderer.js:5:206549)↵    at $ (file:///C:/Users/Kittanan/AppData/Local/GitHubDesktop/app-1.0.13/resources/app/renderer.js:5:207207)↵    at X (file:///C:/Users/Kittanan/AppData/Local/GitHubDesktop/app-1.0.13/resources/app/renderer.js:5:207061)↵    at <anonymous>"__proto__: Tconstructor: function n(e,n)stack: (...)__proto__: Errorconstructor: function T(e,t)arguments: [Exception: TypeError: 'caller' and 'arguments' are restricted function properties and cannot be accessed in this context.
    at Function.remoteFunction (<anonymous>:2:14)]caller: [Exception: TypeError: 'caller' and 'arguments' are restricted function properties and cannot be accessed in this context.
    at Function.remoteFunction (<anonymous>:2:14)]length: 2name: "T"prototype: Errorconstructor: function T(e,t)arguments: [Exception: TypeError: 'caller' and 'arguments' are restricted function properties and cannot be accessed in this context.
    at Function.remoteFunction (<anonymous>:2:14)]caller: [Exception: TypeError: 'caller' and 'arguments' are restricted function properties and cannot be accessed in this context.
    at Function.remoteFunction (<anonymous>:2:14)]length: 2name: "T"prototype: Errorconstructor: function T(e,t)stack: [Exception: TypeError: Cannot read property 'stack' of undefined
    at E (file:///C:/Users/Kittanan/AppData/Local/GitHubDesktop/app-1.0.13/resources/app/renderer.js:5:202725)
    at Error.get (file:///C:/Users/Kittanan/AppData/Local/GitHubDesktop/app-1.0.13/resources/app/renderer.js:5:250038)
    at Error.remoteFunction (<anonymous>:2:14)]toString: function ()arguments: [Exception: TypeError: 'caller' and 'arguments' are restricted function properties and cannot be accessed in this context.
    at Function.remoteFunction (<anonymous>:2:14)]caller: [Exception: TypeError: 'caller' and 'arguments' are restricted function properties and cannot be accessed in this context.
    at Function.remoteFunction (<anonymous>:2:14)]length: 0name: "toString"prototype: Objectconstructor: function ()arguments: (...)caller: (...)length: 0name: "toString"prototype: Object__proto__: function ()[[FunctionLocation]]: dexie.es.js:399__proto__: Object__proto__: function ()[[FunctionLocation]]: dexie.es.js:399get stack: function ()__proto__: Object__proto__: function ()[[FunctionLocation]]: dexie.es.js:382stack: (...)toString: function ()get stack: function ()__proto__: Object__proto__: function ()[[FunctionLocation]]: dexie.es.js:382stack: (...)toString: function ()get stack: function ()__proto__: Object

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:8
  • Comments:87 (20 by maintainers)

github_iconTop GitHub Comments

25reactions
shiftkeycommented, Feb 22, 2018

@Be1con my psychic debugger thinks this is related to our IndexedDB usage:

index.html:1 Uncaught (in promise) ninner: nullmessage: "Transaction committed too early. See http://bit.ly/2kdckMn"name: "PrematureCommitError"e: Error
at w (file:///C:/Users/Kittanan/AppData/Local/GitHubDesktop/app-1.0.13/resources/app/renderer.js:5:202692)

It’s not clear whether this is a recoverable error, but as a workaround you can try this:

  • close Desktop (or whatever’s left of it)
  • remove all the files in %APPDATA%\GitHub Desktop\
  • launch Desktop again

This should put you into a clean slate again. Let me know if that addresses the issue.

7reactions
Nibbelscommented, Mar 11, 2018

I am just now having the same issue. If I start the client once, nothing happens. If I start it twice I get the white screen. This screen is reacting to F11 -> full screen and Alt+F4

Downloading and executing GitHubDesktopSetup.exe did not help.

screenshot_4

deleting the folder file__0.indexeddb.leveldb recovered the client for me: screenshot_3 And I had a new folder then.

deleting this new folder and replacing it with the previous file__0.indexeddb.leveldb put me back to the white screen. screenshot_5

So i tempered with deleting single files within the folder. deleting 000007.log is the jackpot. It was 1928 kb. screenshot_6

When I had back my Github Desktop Client my changes did not show up. I first had to switch my repository to something other and back to my project. Then my changes have been acknowledged. screenshot_7 The new 000011.log is now 25kb.

Can anyone confirm this? Otherwise I hope this information might help you guys.

Greetings

PS: I still have the faulty log file. But I dont know what credentials I could post here, so I dont do that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The application opens with a white screen #14020 - GitHub
Go to %AppData% and delete the GitHub Desktop directory; Reinstall GitHub Desktop from http://desktop.github.com. You will need to log in and ...
Read more >
Blank screen when the app starts · Issue #13906 - GitHub
When I started the program yesterday, I found a blank screen. ... Go to %AppData% and delete the GitHub Desktop directory; Reinstall GitHub ......
Read more >
White Screen of Death on launch (Windows 10) #3478 - GitHub
When launched, Desktop just displays a white window with no content ... White screen unresponsive after changing Account password #8065.
Read more >
macOS - Github Desktop opens to a white screen and is ...
Description Opening the app, the app window is completely unresponsive, though I can get to the menu just fine. It is similar to...
Read more >
Github desktop is showing a blank white screen · Issue #14794
@Advik-B download the latest version and ensure all GitHub Desktop processes in your Task Manager are ended before installing it! 1
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found