johannesjo / super-productivity

Super Productivity is an advanced todo list app with integrated Timeboxing and time tracking capabilities. It also comes with integrations for Jira, Gitlab, GitHub and Open Project.
http://super-productivity.com
MIT License
12.03k stars 932 forks source link

TypeError: Cannot read properties of undefined (reading 'shutdownNow') #3614

Closed MonsterDruide1 closed 1 month ago

MonsterDruide1 commented 1 month ago

Steps to Reproduce

  1. Try setting up syncing via WebDAV while having an "incomplete sync" in the cloud
  2. When first prompted about a conflict, select "Keep remote"
  3. Then the app reports the broken state of remote, select "Shutdown App" here
  4. Note that the app does not close, but only shows the (internal) crash screen instead

Meta Info

META: SP10.0.11 Browser – de-DE – Linux aarch64 – Mozilla/5.0 (Linux; Android 11; Redmi Note 8 Pro Build/RP1A.200720.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/129.0.6668.81 Mobile Safari/537.36

Stacktrace

TypeError: Cannot read properties of undefined (reading 'shutdownNow')
    at e.closeApp (https://localhost/main-ANTT3B72.js:237:5967)
    at https://localhost/main-ANTT3B72.js:237:5420
    at Qte (https://localhost/main-ANTT3B72.js:98:103558)
    at n (https://localhost/main-ANTT3B72.js:98:103746)
    at HTMLButtonElement.<anonymous> (https://localhost/main-ANTT3B72.js:99:26910)
    at a.invokeTask (https://localhost/polyfills-KL5Y42F4.js:1:39327)
    at Object.onInvokeTask (https://localhost/main-ANTT3B72.js:98:30477)
    at a.invokeTask (https://localhost/polyfills-KL5Y42F4.js:1:39248)
    at b.runTask (https://localhost/polyfills-KL5Y42F4.js:1:34626)
    at l.invokeTask [as invoke] (https://localhost/polyfills-KL5Y42F4.js:1:40400)

Actions Before Error

1729524274520: [FocusMode] Set focus session elapsed time 
1729524274734: [SP_ALL] Load(import) all data 
1729524274749: [SP_ALL] All Data was loaded 
1729524280520: [Layout] Toggle SideBar 
1729524283568: [Layout] Hide SideBar (2) 
1729524338667: [Global Config] Update Global Config Section 
1729524338829: [Persistence] Save to DB 
1729524353063: [Global Config] Update Global Config Section 
1729524353269: [Persistence] Save to DB 
1729524366249: [Global Config] Update Global Config Section 
1729524366660: [Persistence] Save to DB 
1729524382920: [Global Config] Update Global Config Section 
1729524383150: [Persistence] Save to DB 
1729524406439: [Global Config] Update Global Config Section 
1729524406616: [Persistence] Save to DB 
1729524409981: [Global Config] Update Global Config Section 
1729524410186: [Persistence] Save to DB 
1729524467047: [Global Config] Update Global Config Section 
1729524467048: [Persistence] Save to DB 
1729524678769: [Global Config] Update Global Config Section 
1729524678878: [Persistence] Save to DB
github-actions[bot] commented 1 month ago

Thank you very much for opening up this issue! I am currently a bit overwhelmed by the many requests that arrive each week, so please forgive me, if I fail to respond personally. I am still very likely to at least skim read your request and I'll probably try to fix all (real) bugs if possible and I will likely review every single PR being made (please, give me a heads up if you intent to do so) and I will try to work on popular requests (please upvote via thumbs up on the original issue) whenever possible, but trying to respond to every single issue over the last years has been kind of draining and I need to adjust my approach for this project to remain fun for me and to make any progress with actually coding new stuff. Thanks for your understanding!

github-actions[bot] commented 1 month ago

Hello there MonsterDruide1! 👋

Thank you and congratulations 🎉 for opening your very first issue in this project! 💖

In case you want to claim this issue, please comment down below! We will try to get back to you as soon as we can. 👀

For more open ended discussions and/or specific questions, please visit the discussions page. 💖

MonsterDruide1 commented 1 month ago

Screenshots: Conflicting Data

Incomplete Sync

Error Screen

johannesjo commented 1 month ago

Thank you very much! A fix will be out with the next release.