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

[React native] null is not an object(evaluating 'this.room.myroomjid') #2275

Open
vantuan88291 opened this issue May 5, 2023 · 24 comments
Open

Comments

@vantuan88291
Copy link

Steps to reproduce


When i join a room, this issue happened sometime if in a room have more than 2 people

Environment details


v1506.0.0+3fc03265

@saghul
Copy link
Member

saghul commented May 5, 2023

Can you paste a trace back? Any chance you can test a more recent LJM version?

@AkshayaFrontM
Copy link

Any updates on this? I am facing the same issue.

I can only get this from Stacktrace:

node_modules/lib-jitsi-meet/dist/umd/lib-jitsi-meet.min.js:2 null is not an object (evaluating 'this.room.myroomjid')

@saghul
Copy link
Member

saghul commented Aug 13, 2024

Are you using our RN SDK or using the library directly?

@Shalini0001
Copy link

I'm encountering the same error on both Android and iOS platforms:

Error: TypeError: null is not an object (evaluating 'this.room.myroomjid')

I'm using the following versions in my project:

"react-native": "0.72.9"
"lib-jitsi-meet": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v1847.0.0+03eef6de/lib-jitsi-meet.tgz"

Can you please assist with resolving this issue? @saghul

@saghul
Copy link
Member

saghul commented Sep 2, 2024

Do you have a full backtrace?

@Shalini0001
Copy link

yes, I am using RN SDK,
node_modules/lib-jitsi-meet/dist/umd/lib-jitsi-meet.min.js:2 null is not an object (evaluating 'this.room.myroomjid')

@saghul
Copy link
Member

saghul commented Sep 2, 2024

What RN SDK version are you using?

@Shalini0001
Copy link

2.2.1

@Shalini0001
Copy link

Please reply @saghul

@saghul
Copy link
Member

saghul commented Sep 2, 2024

Please update to the latest version.

@Shalini0001
Copy link

If I updated with latest version then this error goes out ?

@saghul
Copy link
Member

saghul commented Sep 2, 2024

I believe it was fixed yes.

@Shalini0001
Copy link

Shalini0001 commented Sep 2, 2024 via email

@Shalini0001
Copy link

I used the latest version of jitsi-meet-sdk from https://github.com/jitsi/jitsi-meet.git, with Node.js version v20.17.0, along with "react": "18.2.0" and "react-native": "0.73.8". However, when I compile the code, the app installs on the device but displays an error on the screen.
1725519548860

@saghul
Copy link
Member

saghul commented Sep 5, 2024

Please try using the released package first.

@Shalini0001
Copy link

ok... But Ihave to used sdk

@saghul
Copy link
Member

saghul commented Sep 5, 2024

@Shalini0001
Copy link

I want to customised jitsi-meet-sdk for our requirements. I cannot used package.. Please help

@saghul
Copy link
Member

saghul commented Sep 5, 2024

First make sure things work with an unmodified version. Otherwise we don't know if you caused the problem or if it was there before.

@Shalini0001
Copy link

Yes, I try with unmodified version. but did not find what the issue it is

1725519548860

@saghul
Copy link
Member

saghul commented Sep 5, 2024

Have you tried the sample app?

@Shalini0001
Copy link

yes... Clone this repo https://github.com/jitsi/jitsi-meet.git and try to compile the project

@saghul
Copy link
Member

saghul commented Sep 5, 2024

@Shalini0001
Copy link

Now I used the latest version of jitsi-meet-sdk from https://github.com/jitsi/jitsi-meet.git. but getting same error
error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants