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

Hi

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] RecurringRunnableExecutor.run#230: The invocation of the method org.jitsi.videobridge.health.Health.run() 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.(Endpoint.java:277)
at org.jitsi.videobridge.Endpoint.(Endpoint.java:356)
at org.jitsi.videobridge.Conference.createLocalEndpoint(Conference.java:691)
at org.jitsi.videobridge.health.Health.check(Health.java:64)
at org.jitsi.videobridge.health.Health.performCheck(Health.java:203)
at org.jitsi.health.AbstractHealthCheckService.run(AbstractHealthCheckService.kt:144)
at org.jitsi.utils.concurrent.RecurringRunnableExecutor.run(RecurringRunnableExecutor.java:216)
at org.jitsi.utils.concurrent.RecurringRunnableExecutor.runInThread(RecurringRunnableExecutor.java:292)
at org.jitsi.utils.concurrent.RecurringRunnableExecutor.access$000(RecurringRunnableExecutor.java:36)
at org.jitsi.utils.concurrent.RecurringRunnableExecutor$1.run(RecurringRunnableExecutor.java:328)
2020-11-06 18:07:48.047 FINE: [22] org.jivesoftware.smackx.ping.PingManager$5.run: 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
https://github.com/jitsi/jitsi-maven-repository/blob/master/releases/org/jitsi/jitsi-media-transform/1.0-155-gb6af7e9/jitsi-media-transform-1.0-155-gb6af7e9-sources.jar

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