Title: Uncaught TypeError: Cannot read properties of undefined (reading 'startTime') in `getCLS` logic · Issue #6083 · getsentry/sentry-javascript · GitHub
Open Graph Title: Uncaught TypeError: Cannot read properties of undefined (reading 'startTime') in `getCLS` logic · Issue #6083 · getsentry/sentry-javascript
X Title: Uncaught TypeError: Cannot read properties of undefined (reading 'startTime') in `getCLS` logic · Issue #6083 · getsentry/sentry-javascript
Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using the latest SDK release https://github.com/...
Open Graph Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
X Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/6083
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Uncaught TypeError: Cannot read properties of undefined (reading 'startTime') in `getCLS` logic","articleBody":"### Is there an existing issue for this?\r\n\r\n- [X] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues\r\n- [X] I have reviewed the documentation https://docs.sentry.io/\r\n- [X] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases\r\n\r\n### How do you use Sentry?\r\n\r\nSelf-hosted/on-premise\r\n\r\n### Which package are you using?\r\n\r\n@sentry/vue\r\n\r\n### SDK Version\r\n\r\n7.17.2\r\n\r\n### Framework Version\r\n\r\n7.17.2\r\n\r\n### Link to Sentry event\r\nhttps://sentry.tukan.hu/share/issue/cc80369f87ff438e88e5d6caf67987c9/\r\n\r\n### Steps to Reproduce\r\n\r\nMove the mouse around on an element creating a layout shift (eg a row that expands on hover)\r\n\r\n\r\n\r\n### Expected Result\r\n\r\nNo error\r\n\r\n### Actual Result\r\n\r\nJs error on line \r\nhttps://github.com/getsentry/sentry-javascript/blob/master/packages/tracing/src/browser/web-vitals/getCLS.ts#L64\r\n`Uncaught TypeError: Cannot read properties of undefined (reading 'startTime')`\r\n\r\n\r\n\r\n\r\n`firstSessionEntry` and `lastSessionEntry` are undefined but being used without any check","author":{"url":"https://github.com/Tofandel","@type":"Person","name":"Tofandel"},"datePublished":"2022-10-28T12:13:47Z","url":"https://github.com/getsentry/sentry-javascript/issues/6083"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0e3b5a92-dd34-e7b4-2656-cd9dcd5f235a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D0B8:1E6AC8:441482:5FE2E3:6B047098 |
| html-safe-nonce | b30ae0f16fedf009dc7d8798046cefe1843c4b3a5726485116688e748c9739ce |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMEI4OjFFNkFDODo0NDE0ODI6NUZFMkUzOjZCMDQ3MDk4IiwidmlzaXRvcl9pZCI6IjEzMDAxMjkyNTk5MDk4MzY5NTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2d3fcb38614231626e204dd720f3859b786ba298b8defbf80bd64f132b024d2d |
| hovercard-subject-tag | issue:1427173377 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/6083/issue_layout |
| twitter:image | https://opengraph.githubassets.com/30df9b42cf66c06020210248a7d8b536c0d33c656ba528f14ed4b1fdb2360ee2/getsentry/sentry-javascript/issues/6083 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/30df9b42cf66c06020210248a7d8b536c0d33c656ba528f14ed4b1fdb2360ee2/getsentry/sentry-javascript/issues/6083 |
| og:image:alt | Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Tofandel |
| hostname | github.com |
| expected-hostname | github.com |
| None | ae8802492f12d3ba4f6b0d814054e617a2a5616b6327bf8555c10cd5b0dc2a6f |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cfb5f24c6e01d85f70804652a5107e5cac03a161 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width