Cannot read properties of undefined (reading 'fetchStart')
See original GitHub issueAfter deploying RUM, I don’t seem to get data from some users. Got their data in Sentry though, so here it is:
Browser
name | Chrome |
---|---|
version | 96.0.4664 |
OS
Name | Windows |
---|---|
Version | 10 |
SDK
Name | @elastic/apm-rum |
---|---|
Version | 5.9.1 |
Stacktrace
TypeError: Cannot read properties of undefined (reading 'fetchStart')
at ? (./node_modules/@elastic/apm-rum-core/dist/es/common/compress.js:115:27)
at Array.forEach(<anonymous>)
at compressMarks(./node_modules/@elastic/apm-rum-core/dist/es/common/compress.js:113:31)
at compressTransaction(./node_modules/@elastic/apm-rum-core/dist/es/common/compress.js:195:8)
at ? (./node_modules/@elastic/apm-rum-core/dist/es/common/apm-server.js:313:94)
at Array.map(<anonymous>)
at ndjsonTransactions(./node_modules/@elastic/apm-rum-core/dist/es/common/apm-server.js:291:25)
at sendEvents(./node_modules/@elastic/apm-rum-core/dist/es/common/apm-server.js:359:87)
at onFlush(./node_modules/@elastic/apm-rum-core/dist/es/common/apm-server.js:33:27)
at flush(./node_modules/@elastic/apm-rum-core/dist/es/common/queue.js:34:10)
at apply(./node_modules/@elastic/apm-rum-core/dist/es/common/queue.js:20:20)
at r(./node_modules/@sentry/browser/esm/helpers.js:72:23)
It seems to work for most users, and not for some others.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Getting TypeError: Cannot read properties of undefined ...
While trying to fetch values in a class component I am getting the below error. Here I am trying to get data from...
Read more >Cannot read property 'isStarted' of undefined #2640 - GitHub
When running the service in build mode I get this error: /app/api/node_modules/elastic-apm-node/lib/agent.js:209 if (this.
Read more >Can Not Read Properties of Undefined Reading Map in React ...
If you are looking at can not read properties of undefined reading map in react js error or map function is not displaying...
Read more >Error: TypeError: Cannot read property 'startTime' of undefined
I need help with the error I'm getting: TypeError: Cannot read property 'startTime' of undefined. Is there anything special in your setup?
Read more >PerformanceTiming.fetchStart - Web APIs | MDN
The legacy PerformanceTiming.fetchStart read-only property returns an unsigned long long representing the moment, in milliseconds since the ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ah sorry, only saw your reply just now, sorry about the lack of a reply! Thankfully you were able to reproduce, I found it hard to repro it reliably at all. Please LMK once this is fixed, atm it makes me unable to gather data from a subset of users.
Hi @kanadaj a new release with the fix is available.