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 'postMessage') #257

Open
yrachidi1 opened this issue Oct 1, 2024 · 3 comments
Open
Labels
bug Something isn't working

Comments

@yrachidi1
Copy link

yrachidi1 commented Oct 1, 2024

Using Daily prebuilt 0.71.2, React 18.2.0,

Only sometimes this error occurs:

Cannot read properties of null (reading 'postMessage')

const instance = DailyIframe.createFrame(node);

node is a React.ref which is well defined.

Refreshing the page solves it. So it seems quite random. This is the client-side exception.

Tested on Chrome and Firefox, same issue

Edit : it seems that using version 0.66.0 works but no longer from 0.67.0

@yrachidi1 yrachidi1 added the bug Something isn't working label Oct 1, 2024
@milo-
Copy link

milo- commented Oct 8, 2024

We've also been seeing this in our Sentry logs

@fantoine
Copy link

fantoine commented Dec 6, 2024

Hi @rajneeshksoni @mattieruth or anyone from Daily team !

Have you had a chance to reproduce this issue?

This bug prevents us from updating the SDK to its latests version...

@mattieruth
Copy link
Contributor

Hi! Apologies for the radio silence. This one slipped through my radar so thank you for the latest ping. Can I get y'all to verify what daily-js versions you see this with? I have not reproduced this locally. Note: the latest daily-js (0.73) upgraded Sentry. Can you verify you still see the problem with that version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants