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
11.9k stars 921 forks source link

TypeError: Cannot read properties of null (reading 'writeValue') #3504

Open rindPHI opened 1 month ago

rindPHI commented 1 month ago

Steps to Reproduce

This happened when I pressed "start" for a task freshly imported from OpenProjects. Before, I enabled transition tracking. The app crashed and asked me to report the issue. By the way, I love superProductivity! That was the first crash. The only other issue I have is that I had to create a new access token for OpenProjects several times before the others magically stopped to "work..."

/edit: It is related to transition tracking. When I disable this feature, nothing crashes when I press "start." So steps would be:

Error Log (Desktop only)

Console Output

Meta Info

META: SP10.0.1 Electron – en-US – MacIntel – Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) superProductivity/10.0.1 Chrome/126.0.6478.185 Electron/31.3.1 Safari/537.36

Stacktrace

setUpControl (file:///Applications/superProductivity.app/Contents/Resources/app.asar/dist/browser/node_modules/@angular/forms/fesm2022/forms.mjs:3154:20)
_setUpStandalone (file:///Applications/superProductivity.app/Contents/Resources/app.asar/dist/browser/node_modules/@angular/forms/fesm2022/forms.mjs:4241:6)
_setUpControl (file:///Applications/superProductivity.app/Contents/Resources/app.asar/dist/browser/node_modules/@angular/forms/fesm2022/forms.mjs:4229:34)
this._checkName (file:///Applications/superProductivity.app/Contents/Resources/app.asar/dist/browser/node_modules/@angular/forms/fesm2022/forms.mjs:4188:13)
getSimpleChangesStore (file:///Applications/superProductivity.app/Contents/Resources/app.asar/dist/browser/node_modules/@angular/core/fesm2022/core.mjs:3975:9)
callHookInternal (file:///Applications/superProductivity.app/Contents/Resources/app.asar/dist/browser/node_modules/@angular/core/fesm2022/core.mjs:5004:9)
callHook (file:///Applications/superProductivity.app/Contents/Resources/app.asar/dist/browser/node_modules/@angular/core/fesm2022/core.mjs:5031:4)
assertEqual(isInCheckNoChangesMode (file:///Applications/superProductivity.app/Contents/Resources/app.asar/dist/browser/node_modules/@angular/core/fesm2022/core.mjs:4988:8)
assertNotEqual (file:///Applications/superProductivity.app/Contents/Resources/app.asar/dist/browser/node_modules/@angular/core/fesm2022/core.mjs:4943:4)
executeCheckHooks (file:///Applications/superProductivity.app/Contents/Resources/app.asar/dist/browser/node_modules/@angular/core/fesm2022/core.mjs:11548:8)

Actions Before Error

1726837500558: [Improvement] Delete multiple Improvements 
1726837518352: [Project] Update Project Issue Provider Cfg 
1726837518354: [Persistence] Save to DB 
1726837589052: [Project] Update Project Issue Provider Cfg 
1726837589054: [Persistence] Save to DB 
1726837611887: [Project] Update Project Issue Provider Cfg 
1726837611920: [Persistence] Save to DB 
1726837620796: [Task] Update Task 
1726837620797: [Persistence] Save to DB 
1726837620991: [Task][Issue] Add Task 
1726837620993: [Persistence] Save to DB (2) 
1726837620993: [Task][Issue] Add Task 
1726837620994: [Persistence] Save to DB (2) 
1726837620994: [Task][Issue] Add Task 
1726837620996: [Persistence] Save to DB (2) 
1726837620996: [Task][Issue] Add Task 
1726837620997: [Persistence] Save to DB (2) 
1726837620997: [Task][Issue] Add Task 
1726837620998: [Persistence] Save to DB (2) 
1726837786815: [Project] Update Project Issue Provider Cfg 
1726837786851: [Persistence] Save to DB 
1726837810422: [Task] Update Task Tags 
1726837810423: [Persistence] Save to DB (3) 
1726837816468: [Task] Update Task Tags 
1726837816470: [Persistence] Save to DB (3) 
1726837821335: [Task] Update Task Tags 
1726837821337: [Persistence] Save to DB (3) 
1726837828953: [Task] Update Task Tags 
1726837828954: [Persistence] Save to DB (3) 
1726837835652: [Task] SetCurrentTask
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 rindPHI! 👋

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. 💖