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 in Replays SDK - Cannot read properties of null (reading 'addEventListener') #80683

Open
gil-gross-glbe opened this issue Nov 13, 2024 · 3 comments

Comments

@gil-gross-glbe
Copy link

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

We're observing a significant number of errors in our production environment related to the Replays SDK. The error is in High volume reaching approximately 3.5M occurrences in a week.
Image

Error occurs in the Sentry Replays bundle:
https://browser.sentry-cdn.com/7.119.2/bundle.tracing.replay.debug.min.js:2:209910

Expected Result

The Replays SDK should properly handle element initialization and verify object existence before attempting to add event listeners.

Actual Result

The SDK attempts to call addEventListener on a null object

Product Area

Unknown

Link

No response

DSN

No response

Version

No response

@getsantry
Copy link
Contributor

getsantry bot commented Nov 13, 2024

Assigning to @getsentry/support for routing ⏲️

@getsantry
Copy link
Contributor

getsantry bot commented Nov 14, 2024

Routing to @getsentry/product-owners-replays for triage ⏲️

@getsantry getsantry bot moved this from Waiting for: Support to Waiting for: Product Owner in GitHub Issues with 👀 3 Nov 14, 2024
@billyvg
Copy link
Member

billyvg commented Nov 14, 2024

@gil-gross-glbe thanks we'll take a look into this. I'm assuming this is happening in a normal browser environment? does this still occur if you turn off replays sampling?

can you email me with your org slug? billy at sentry.io -- I'd like to take a look into your account and make sure these errors get credited back to your account, as this shouldn't happen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

3 participants