lib-jitsi-meet icon indicating copy to clipboard operation
lib-jitsi-meet copied to clipboard

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

Open vantuan88291 opened this issue 1 year ago • 24 comments

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

vantuan88291 avatar May 05 '23 02:05 vantuan88291

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

saghul avatar May 05 '23 06:05 saghul

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')

AkshayaFrontM avatar Aug 13 '24 06:08 AkshayaFrontM

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

saghul avatar Aug 13 '24 07:08 saghul

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

Shalini0001 avatar Sep 02 '24 13:09 Shalini0001

Do you have a full backtrace?

saghul avatar Sep 02 '24 13:09 saghul

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')

Shalini0001 avatar Sep 02 '24 13:09 Shalini0001

What RN SDK version are you using?

saghul avatar Sep 02 '24 13:09 saghul

2.2.1

Shalini0001 avatar Sep 02 '24 13:09 Shalini0001

Please reply @saghul

Shalini0001 avatar Sep 02 '24 13:09 Shalini0001

Please update to the latest version.

saghul avatar Sep 02 '24 14:09 saghul

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

Shalini0001 avatar Sep 02 '24 14:09 Shalini0001

I believe it was fixed yes.

saghul avatar Sep 02 '24 14:09 saghul

Ok, I will try. Thankyou for your time.

On Mon, 2 Sept 2024, 7:42 pm Saúl Ibarra Corretgé, @.***> wrote:

I believe it was fixed yes.

— Reply to this email directly, view it on GitHub https://github.com/jitsi/lib-jitsi-meet/issues/2275#issuecomment-2324851062, or unsubscribe https://github.com/notifications/unsubscribe-auth/APLLER4EJVT5OFTFQW7KDWDZURW5NAVCNFSM6AAAAABMNRGI26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRUHA2TCMBWGI . You are receiving this because you commented.Message ID: @.***>

Shalini0001 avatar Sep 02 '24 14:09 Shalini0001

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

Shalini0001 avatar Sep 05 '24 09:09 Shalini0001

Please try using the released package first.

saghul avatar Sep 05 '24 09:09 saghul

ok... But Ihave to used sdk

Shalini0001 avatar Sep 05 '24 09:09 Shalini0001

Use this package: https://www.npmjs.com/package/@jitsi/react-native-sdk

saghul avatar Sep 05 '24 09:09 saghul

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

Shalini0001 avatar Sep 05 '24 10:09 Shalini0001

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.

saghul avatar Sep 05 '24 10:09 saghul

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

1725519548860

Shalini0001 avatar Sep 05 '24 11:09 Shalini0001

Have you tried the sample app?

saghul avatar Sep 05 '24 11:09 saghul

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

Shalini0001 avatar Sep 05 '24 11:09 Shalini0001

Here is the sample app: https://github.com/jitsi/jitsi-meet-sdk-samples/tree/master/react-native

saghul avatar Sep 05 '24 12:09 saghul

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

Shalini0001 avatar Sep 06 '24 12:09 Shalini0001