Could not initialize class org.jitsi.nlj.stats.PacketIOActivity


I am seeing this exception in JVB with compiled jitsi-media-transform-1.0-155-gb6af7e9.jar
This issue occurred while joining conference bridge.

Videobridge.createConference#320: create_conf, id=ba18be35eab12b9b gid=null logging=false
2020-11-06 18:07:47.653 SEVERE: [19] The invocation of the method threw an exception.
java.lang.NoClassDefFoundError: Could not initialize class org.jitsi.nlj.stats.PacketIOActivity
at org.jitsi.nlj.Transceiver.(Transceiver.kt:74)
at org.jitsi.videobridge.Endpoint.(
at org.jitsi.videobridge.Endpoint.(
at org.jitsi.videobridge.Conference.createLocalEndpoint(
at org.jitsi.utils.concurrent.RecurringRunnableExecutor.runInThread(
at org.jitsi.utils.concurrent.RecurringRunnableExecutor.access$000(
at org.jitsi.utils.concurrent.RecurringRunnableExecutor$
2020-11-06 18:07:48.047 FINE: [22]$ ServerPingTask run()

Please guide me to resolve this issue

This is strange, but my first thought would be something weird with the JMT jar it was compiled against vs what it was run with…are you building/running a fat jar for the bridge? If not you’ll need to make sure the right JMT jar is in the classpath when running the bridge.

It was compiled jar. I have downloaded the source code & pom from the given links

And compiled it to create jitsi-media-transform-1.0-155-gb6af7e9.jar . I kept it in local repository to build jvb code.

Compilation got successful but the exception occurred during conf call.

One difference I observed between the size of JMT-1.0.155-gb6af7e9.jar github vs locacl compiled .

-rw-r–r-- 1 root root 719492 Nov 3 21:54 jitsi-media-transform-1.0-155-gb6af7e9.jar.orginal
-rw-r–r-- 1 root root 713599 Nov 6 20:28 jitsi-media-transform-1.0-155-gb6af7e9.jar