java.lang.NullPointerException at org.jitsi.videobridge.shim.ChannelShim.<init>(ChannelShim.java:163)

Hi Anindita, do you have exactly the same problem? The same issue in the log files?
Best,
C

Yes, I have face the same issue, also I have checked that if 2nd participant enable e2ee mode then the video-bridge got crashed several times. Thanks,

Are you able to build the jitsi-videobridge code yourself? I have a patch that will fix the problem for this issue, that I can send you, but you will need to build the jitsi-videobridge, or I can send you a patched .jar with the fixes in place. You can email me on craig@lateral.co.za
Best,
C

Hi @craigmj , Thanks for your response. I have sent you an email. Thanks,

Thanks a lot @craigmj I am applying the changes.

I think this bug was solved a while ago in master, are you using the latest jvb?

Hi @bbaldino My Jitsi vidobridge version is 2.1-304-g8488f77d-1

Latest stable is 2.1-417-g6112079e

Hi @damencho, how do you get that? I’ve got (for jitsi-videobridge) the latest stable tag of stable/jitsi-meet_5390. Then I pull the tag ‘jitsi-meet_5390’ from https://github.com/jitsi/jitsi-meet-debian-meta and look at jitsi-videobridge which is 2.1-416-g2f43d1b4 . Am I doing this wrong?

Oh, my mistake, it is 416

Phew - thanks! Thought I was confused again :slight_smile:

Hi @craigmj I have applied the changes you have suggested. Also modified jvb.sh with "mainClass=“org.jitsi.videobridge.MainKt” ".
But when trying to restart the video-bridge service getting below error. Have you faced this kind of issue? How can resolve that?

2021-01-18 10:16:15.099 INFO: [1] JitsiConfig.#43: Initialized newConfig: merge of system properties,application.conf @ jar:file:/usr/share/jitsi-videobridge/jitsi-videobridge.jar!/application.conf: 1,system properties,reference.conf @ jar:file:/usr/share/jitsi-videobridge/jitsi-videobridge.jar!/reference.conf: 1,reference.conf @ jar:file:/usr/share/jitsi-videobridge/lib/jitsi-media-transform-1.0-175-gd57f73e.jar!/reference.conf: 1
2021-01-18 10:16:15.107 INFO: [1] ReadOnlyConfigurationService.reloadConfiguration#51: loading config file at path /etc/jitsi/videobridge/sip-communicator.properties
2021-01-18 10:16:15.110 INFO: [1] JitsiConfig.#64: Initialized legacyConfig: sip communicator props (no description provided)
Exception in thread “main” java.lang.NoSuchMethodError: org.jitsi.config.JitsiConfig$Companion.reloadNewConfig()V
at org.jitsi.videobridge.MainKt.main(Main.kt:75)
2021-01-18 10:16:18.117 INFO: [1] JitsiConfig.#43: Initialized newConfig: merge of system properties,application.conf @ jar:file:/usr/share/jitsi-videobridge/jitsi-videobridge.jar!/application.conf: 1,system properties,reference.conf @ jar:file:/usr/share/jitsi-videobridge/jitsi-videobridge.jar!/reference.conf: 1,reference.conf @ jar:file:/usr/share/jitsi-videobridge/lib/jitsi-media-transform-1.0-175-gd57f73e.jar!/reference.conf: 1
2021-01-18 10:16:18.126 INFO: [1] ReadOnlyConfigurationService.reloadConfiguration#51: loading config file at path /etc/jitsi/videobridge/sip-communicator.properties
2021-01-18 10:16:18.128 INFO: [1] JitsiConfig.#64: Initialized legacyConfig: sip communicator props (no description provided)
Exception in thread “main” java.lang.NoSuchMethodError: org.jitsi.config.JitsiConfig$Companion.reloadNewConfig()V
at org.jitsi.videobridge.MainKt.main(Main.kt:75)
2021-01-18 10:16:21.374 INFO: [1] JitsiConfig.#43: Initialized newConfig: merge of system properties,application.conf @ jar:file:/usr/share/jitsi-videobridge/jitsi-videobridge.jar!/application.conf: 1,system properties,reference.conf @ jar:file:/usr/share/jitsi-videobridge/jitsi-videobridge.jar!/reference.conf: 1,reference.conf @ jar:file:/usr/share/jitsi-videobridge/lib/jitsi-media-transform-1.0-175-gd57f73e.jar!/reference.conf: 1
2021-01-18 10:16:21.382 INFO: [1] ReadOnlyConfigurationService.reloadConfiguration#51: loading config file at path /etc/jitsi/videobridge/sip-communicator.properties
2021-01-18 10:16:21.384 INFO: [1] JitsiConfig.#64: Initialized legacyConfig: sip communicator props (no description provided)
Exception in thread “main” java.lang.NoSuchMethodError: org.jitsi.config.JitsiConfig$Companion.reloadNewConfig()V
at org.jitsi.videobridge.MainKt.main(Main.kt:75)
2021-01-18 10:16:24.314 INFO: [1] JitsiConfig.#43: Initialized newConfig: merge of system properties,application.conf @ jar:file:/usr/share/jitsi-videobridge/jitsi-videobridge.jar!/application.conf: 1,system properties,reference.conf @ jar:file:/usr/share/jitsi-videobridge/jitsi-videobridge.jar!/reference.conf: 1,reference.conf @ jar:file:/usr/share/jitsi-videobridge/lib/jitsi-media-transform-1.0-175-gd57f73e.jar!/reference.conf: 1
2021-01-18 10:16:24.322 INFO: [1] ReadOnlyConfigurationService.reloadConfiguration#51: loading config file at path /etc/jitsi/videobridge/sip-communicator.properties
2021-01-18 10:16:24.324 INFO: [1] JitsiConfig.#64: Initialized legacyConfig: sip communicator props (no description provided)
Exception in thread “main” java.lang.NoSuchMethodError: org.jitsi.config.JitsiConfig$Companion.reloadNewConfig()V
at org.jitsi.videobridge.MainKt.main(Main.kt:75)
2021-01-18 10:16:27.439 INFO: [1] JitsiConfig.#43: Initialized newConfig: merge of system properties,application.conf @ jar:file:/usr/share/jitsi-videobridge/jitsi-videobridge.jar!/application.conf: 1,system properties,reference.conf @ jar:file:/usr/share/jitsi-videobridge/jitsi-videobridge.jar!/reference.conf: 1,reference.conf @ jar:file:/usr/share/jitsi-videobridge/lib/jitsi-media-transform-1.0-175-gd57f73e.jar!/reference.conf: 1
2021-01-18 10:16:27.448 INFO: [1] ReadOnlyConfigurationService.reloadConfiguration#51: loading config file at path /etc/jitsi/videobridge/sip-communicator.properties
2021-01-18 10:16:27.450 INFO: [1] JitsiConfig.#64: Initialized legacyConfig: sip communicator props (no description provided)
Exception in thread “main” java.lang.NoSuchMethodError: org.jitsi.config.JitsiConfig$Companion.reloadNewConfig()V
at org.jitsi.videobridge.MainKt.main(Main.kt:75)
2021-01-18 10:16:30.447 INFO: [1] JitsiConfig.#43: Initialized newConfig: merge of system properties,application.conf @ jar:file:/usr/share/jitsi-videobridge/jitsi-videobridge.jar!/application.conf: 1,system properties,reference.conf @ jar:file:/usr/share/jitsi-videobridge/jitsi-videobridge.jar!/reference.conf: 1,reference.conf @ jar:file:/usr/share/jitsi-videobridge/lib/jitsi-media-transform-1.0-175-gd57f73e.jar!/reference.conf: 1
2021-01-18 10:16:30.456 INFO: [1] ReadOnlyConfigurationService.reloadConfiguration#51: loading config file at path /etc/jitsi/videobridge/sip-communicator.properties
2021-01-18 10:16:30.459 INFO: [1] JitsiConfig.#64: Initialized legacyConfig: sip communicator props (no description provided)
Exception in thread “main” java.lang.NoSuchMethodError: org.jitsi.config.JitsiConfig$Companion.reloadNewConfig()V
at org.jitsi.videobridge.MainKt.main(Main.kt:75)