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

TypeError: Cannot read properties of null (reading 'subTasks') #3891

Open
davihenriquedev1 opened this issue Jan 13, 2025 · 2 comments
Open

Comments

@davihenriquedev1
Copy link

Steps to Reproduce

Error Log (Desktop only)

Console Output

Meta Info

META: SP11.1.2 __ Electron – pt-BR – Linux x86_64 – Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) superProductivity/11.1.2 Chrome/130.0.6723.137 Electron/33.2.1 Safari/537.36

Stacktrace

TypeError: Cannot read properties of null (reading 'subTasks')
    at file:///snap/superproductivity/2212/resources/app.asar/dist/browser/main-SJHKELZT.js:187:120542
    at Array.forEach (<anonymous>)
    at vI (file:///snap/superproductivity/2212/resources/app.asar/dist/browser/main-SJHKELZT.js:187:120518)
    at vV.project (file:///snap/superproductivity/2212/resources/app.asar/dist/browser/main-SJHKELZT.js:187:131433)
    at vV._next (file:///snap/superproductivity/2212/resources/app.asar/dist/browser/main-SJHKELZT.js:75:20118)
    at vV.next (file:///snap/superproductivity/2212/resources/app.asar/dist/browser/main-SJHKELZT.js:75:2372)
    at eo.next (file:///snap/superproductivity/2212/resources/app.asar/dist/browser/main-SJHKELZT.js:75:7126)
    at eo.nextInfiniteTimeWindow (file:///snap/superproductivity/2212/resources/app.asar/dist/browser/main-SJHKELZT.js:75:17420)
    at Object.next (file:///snap/superproductivity/2212/resources/app.asar/dist/browser/main-SJHKELZT.js:75:44502)
    at WD.__tryOrUnsub (file:///snap/superproductivity/2212/resources/app.asar/dist/browser/main-SJHKELZT.js:75:4161)

Actions Before Error

1736731547405: [Task] Update Task Tags 
1736731547409: [Persistence] Save to DB (3) 
1736731555474: [Task] SetSelectedTask 
1736731563777: [Task] Convert SubTask to main task 
1736731563781: [Persistence] Save to DB (2) 
1736731568052: [WorkContextMeta] Move Task in Today 
1736731568054: [Persistence] Save to DB 
1736731591450: [WorkContextMeta] Move Task in Today 
1736731591451: [Persistence] Save to DB 
1736731604033: [WorkContextMeta] Move Task in Today 
1736731604035: [Persistence] Save to DB 
1736731615795: [Task] Update Task 
1736731615798: [Persistence] Save to DB 
1736731642929: [Task] Delete Task 
1736731642935: [Persistence] Save to DB (2) 
1736731642936: [Task] UnsetCurrentTask 
1736731645752: [Task] Add SubTask 
1736731645754: [Persistence] Save to DB 
1736731647764: [Task] Update Task 
1736731647766: [Persistence] Save to DB 
1736731657557: [Task] SetSelectedTask 
1736731657559: [Layout] Hide Notes 
1736731659757: [Task] Update Task Tags 
1736731659762: [Persistence] Save to DB (3) 
1736731669786: [Task] SetSelectedTask 
1736731701236: [Task] Update Task 
1736731701238: [Persistence] Save to DB 
1736731969323: [Task] Toggle Show Sub Tasks 
1736731969324: [Persistence] Save to DB 
1736731970222: [WorkContext] Set Active Work Context
Copy link

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!

Copy link

Hello there davihenriquedev1! 👋

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant