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.

TypeError: Cannot read property 'id' of undefined

See original GitHub issue
  1. Press “Finish day”
  2. Add some tags to “What hindered your productivity”
  3. Delete this tags

Error Log (Desktop only)

I can’t get logs. They are not in %USERPROFILE%/AppData/Roaming/superProductivity/logs/ folder

Console Output

console-output.txt

Stacktrace

TypeError: Cannot read property 'id' of undefined
    at Va.trackById [as _trackByFn] (file:///C:/Program%20Files/WindowsApps/53707johannesjo.SuperProductivity_7.6.0.0_x64__ch45amy23cdv6/app/resources/app.asar/dist/main.4297b2fe74deb2892f3c.js:1:2836614)
    at Va.check (file:///C:/Program%20Files/WindowsApps/53707johannesjo.SuperProductivity_7.6.0.0_x64__ch45amy23cdv6/app/resources/app.asar/dist/main.4297b2fe74deb2892f3c.js:1:109246)
    at Va.diff (file:///C:/Program%20Files/WindowsApps/53707johannesjo.SuperProductivity_7.6.0.0_x64__ch45amy23cdv6/app/resources/app.asar/dist/main.4297b2fe74deb2892f3c.js:1:109075)
    at t.ngDoCheck (file:///C:/Program%20Files/WindowsApps/53707johannesjo.SuperProductivity_7.6.0.0_x64__ch45amy23cdv6/app/resources/app.asar/dist/main.4297b2fe74deb2892f3c.js:1:1297080)
    at Se (file:///C:/Program%20Files/WindowsApps/53707johannesjo.SuperProductivity_7.6.0.0_x64__ch45amy23cdv6/app/resources/app.asar/dist/main.4297b2fe74deb2892f3c.js:1:47731)
    at Ae (file:///C:/Program%20Files/WindowsApps/53707johannesjo.SuperProductivity_7.6.0.0_x64__ch45amy23cdv6/app/resources/app.asar/dist/main.4297b2fe74deb2892f3c.js:1:47532)
    at Oe (file:///C:/Program%20Files/WindowsApps/53707johannesjo.SuperProductivity_7.6.0.0_x64__ch45amy23cdv6/app/resources/app.asar/dist/main.4297b2fe74deb2892f3c.js:1:47252)
    at Mr (file:///C:/Program%20Files/WindowsApps/53707johannesjo.SuperProductivity_7.6.0.0_x64__ch45amy23cdv6/app/resources/app.asar/dist/main.4297b2fe74deb2892f3c.js:1:71794)
    at Object.xr (file:///C:/Program%20Files/WindowsApps/53707johannesjo.SuperProductivity_7.6.0.0_x64__ch45amy23cdv6/app/resources/app.asar/dist/main.4297b2fe74deb2892f3c.js:1:71637)
    at template (file:///C:/Program%20Files/WindowsApps/53707johannesjo.SuperProductivity_7.6.0.0_x64__ch45amy23cdv6/app/resources/app.asar/dist/main.4297b2fe74deb2892f3c.js:1:2839155)

Meta Info

META: SP7.6.0 Electron – en-US – Win32 – Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) superProductivity/7.6.0 Chrome/91.0.4472.124 Electron/13.1.7 Safari/537.36

Actions Before Error

1635952508573: [Persistence] Save to DB 
1635952513481: [Metric] Upsert Metric 
1635952513485: [Obstruction] Delete multiple Obstructions 
1635952513485: [Persistence] Save to DB 
1635952515485: [Metric] Upsert Metric 
1635952515487: [Obstruction] Delete multiple Obstructions 
1635952515493: [Persistence] Save to DB 
1635952521569: [Obstruction] Add Obstruction 
1635952521569: [Persistence] Save to DB 
1635952521569: [Metric] Upsert Metric 
1635952521579: [Obstruction] Delete multiple Obstructions 
1635952521579: [Persistence] Save to DB 
1635952541871: [SP_ALL] Load(import) all data 
1635952541881: [SP_ALL] All Data was loaded 
1635952541993: [Task] SetSelectedTask 
1635952545892: [Task] Toggle start 
1635952545895: [Persistence] Save to DB 
1635952545895: [Task] UnsetCurrentTask 
1635952561257: [SP_ALL] Load(import) all data 
1635952561260: [SP_ALL] All Data was loaded 
1635952561321: [Task] SetSelectedTask 
1635952603762: [SP_ALL] Load(import) all data 
1635952603766: [SP_ALL] All Data was loaded 
1635952608252: [Task] SetSelectedTask 
1635952665444: [Layout] Toggle SideBar (2) 
1635952665448: [Layout] Hide SideBar 
1635952667253: [Task] SetSelectedTask 
1635952688544: [SP_ALL] Load(import) all data 
1635952688547: [SP_ALL] All Data was loaded 
1635952691543: [Task] SetSelectedTask

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
malchikovmacommented, Nov 4, 2021

Today I can’t reproduce the error, so I close the issue. Thank you for attention.

0reactions
johannesjocommented, Nov 3, 2021

Oh, it does? In that case: Would you be willing to share an export of your data to contact@super-productivity.com? That would be very helpful!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot read properties of undefined (reading 'id') - TrackJS
TypeError is a subset of JavaScript Error that is thrown when code attempts to do something that does not exist on the target...
Read more >
"Cannot read property 'id' of undefined" when parsing an array ...
First, as said in the comments, you need to make sure the message object passed is really the one you're looking for.
Read more >
Uncaught TypeError: Cannot read property 'id' of undefined
My solution how to hundel this error ... Try and Catch is the solution but not in each place that you have the...
Read more >
TypeError: Cannot read property 'id' of undefined - JavaScript
I am trying to work around the problem but it seem strange as I am not proficient with JS Objects. Following is my...
Read more >
Cannot read property 'id' of undefined Stack
While accessing the Sprint backlogs in Azure DevOps, few users are getting error with a message: An unexpected error occurred within this region...
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