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

Crashing - FATAL EXCEPTION: mqt_native_modules #166

Open
MaheshPeri19 opened this issue Dec 2, 2020 · 9 comments
Open

Crashing - FATAL EXCEPTION: mqt_native_modules #166

MaheshPeri19 opened this issue Dec 2, 2020 · 9 comments
Labels
backlog Added to the backlog documentation Improvements or additions to documentation

Comments

@MaheshPeri19
Copy link

I am getting fatal exception " FATAL EXCEPTION: mqt_native_modules" and "java.lang.ExceptionInInitializerError".

Here is the complete logs :

E/AndroidRuntime( 6120): FATAL EXCEPTION: mqt_native_modules
E/AndroidRuntime( 6120): java.lang.ExceptionInInitializerError
E/AndroidRuntime( 6120): at okhttp3.OkHttpClient.(OkHttpClient.kt:211)
E/AndroidRuntime( 6120): at okhttp3.OkHttpClient$Builder.build(OkHttpClient.kt:944)
E/AndroidRuntime( 6120): at com.facebook.react.modules.network.OkHttpClientProvider.createClient(OkHttpClientProvider.java:51)
E/AndroidRuntime( 6120): at com.facebook.react.modules.fresco.FrescoModule.getDefaultConfigBuilder(FrescoModule.java:143)
E/AndroidRuntime( 6120): at com.facebook.react.modules.fresco.FrescoModule.getDefaultConfig(FrescoModule.java:130)
E/AndroidRuntime( 6120): at com.facebook.react.modules.fresco.FrescoModule.initialize(FrescoModule.java:93)
E/AndroidRuntime( 6120): at com.facebook.react.bridge.ModuleHolder.doInitialize(ModuleHolder.java:222)
E/AndroidRuntime( 6120): at com.facebook.react.bridge.ModuleHolder.markInitializable(ModuleHolder.java:97)
E/AndroidRuntime( 6120): at com.facebook.react.bridge.NativeModuleRegistry.notifyJSInstanceInitialized(NativeModuleRegistry.java:102)
E/AndroidRuntime( 6120): at com.facebook.react.bridge.CatalystInstanceImpl$2.run(CatalystInstanceImpl.java:441)
E/AndroidRuntime( 6120): at android.os.Handler.handleCallback(Handler.java:938)
E/AndroidRuntime( 6120): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 6120): at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:26)
E/AndroidRuntime( 6120): at android.os.Looper.loop(Looper.java:223)
E/AndroidRuntime( 6120): at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:225)
E/AndroidRuntime( 6120): at java.lang.Thread.run(Thread.java:923)
E/AndroidRuntime( 6120): Caused by: java.lang.IllegalStateException: Expected Android API level 21+ but was 30
E/AndroidRuntime( 6120): at okhttp3.internal.platform.AndroidPlatform$Companion.buildIfSupported(AndroidPlatform.kt:370)
E/AndroidRuntime( 6120): at okhttp3.internal.platform.Platform$Companion.findPlatform(Platform.kt:204)
E/AndroidRuntime( 6120): at okhttp3.internal.platform.Platform$Companion.access$findPlatform(Platform.kt:178)
E/AndroidRuntime( 6120): at okhttp3.internal.platform.Platform.(Platform.kt:179)
E/AndroidRuntime( 6120): ... 16 more
E/JitsiMeetSDK( 6120): JitsiMeetUncaughtExceptionHandler FATAL ERROR
E/JitsiMeetSDK( 6120): java.lang.ExceptionInInitializerError
E/JitsiMeetSDK( 6120): at okhttp3.OkHttpClient.(OkHttpClient.kt:211)
E/JitsiMeetSDK( 6120): at okhttp3.OkHttpClient$Builder.build(OkHttpClient.kt:944)
E/JitsiMeetSDK( 6120): at com.facebook.react.modules.network.OkHttpClientProvider.createClient(OkHttpClientProvider.java:51)
E/JitsiMeetSDK( 6120): at com.facebook.react.modules.fresco.FrescoModule.getDefaultConfigBuilder(FrescoModule.java:143)
E/JitsiMeetSDK( 6120): at com.facebook.react.modules.fresco.FrescoModule.getDefaultConfig(FrescoModule.java:130)
E/JitsiMeetSDK( 6120): at com.facebook.react.modules.fresco.FrescoModule.initialize(FrescoModule.java:93)
E/JitsiMeetSDK( 6120): at com.facebook.react.bridge.ModuleHolder.doInitialize(ModuleHolder.java:222)
E/JitsiMeetSDK( 6120): at com.facebook.react.bridge.ModuleHolder.markInitializable(ModuleHolder.java:97)
E/JitsiMeetSDK( 6120): at com.facebook.react.bridge.NativeModuleRegistry.notifyJSInstanceInitialized(NativeModuleRegistry.java:102)
E/JitsiMeetSDK( 6120): at com.facebook.react.bridge.CatalystInstanceImpl$2.run(CatalystInstanceImpl.java:441)
E/JitsiMeetSDK( 6120): at android.os.Handler.handleCallback(Handler.java:938)
E/JitsiMeetSDK( 6120): at android.os.Handler.dispatchMessage(Handler.java:99)
E/JitsiMeetSDK( 6120): at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:26)
E/JitsiMeetSDK( 6120): at android.os.Looper.loop(Looper.java:223)
E/JitsiMeetSDK( 6120): at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:225)
E/JitsiMeetSDK( 6120): at java.lang.Thread.run(Thread.java:923)
E/JitsiMeetSDK( 6120): Caused by: java.lang.IllegalStateException: Expected Android API level 21+ but was 30
E/JitsiMeetSDK( 6120): at okhttp3.internal.platform.AndroidPlatform$Companion.buildIfSupported(AndroidPlatform.kt:370)
E/JitsiMeetSDK( 6120): at okhttp3.internal.platform.Platform$Companion.findPlatform(Platform.kt:204)
E/JitsiMeetSDK( 6120): at okhttp3.internal.platform.Platform$Companion.access$findPlatform(Platform.kt:178)
E/JitsiMeetSDK( 6120): at okhttp3.internal.platform.Platform.(Platform.kt:179)
E/JitsiMeetSDK( 6120): ... 16 more
E/JitsiMeetSDK( 6120):
E/JitsiMeetSDK( 6120): java.lang.ExceptionInInitializerError
E/JitsiMeetSDK( 6120): at okhttp3.OkHttpClient.(OkHttpClient.kt:211)
E/JitsiMeetSDK( 6120): at okhttp3.OkHttpClient$Builder.build(OkHttpClient.kt:944)
E/JitsiMeetSDK( 6120): at com.facebook.react.modules.network.OkHttpClientProvider.createClient(OkHttpClientProvider.java:51)
E/JitsiMeetSDK( 6120): at com.facebook.react.modules.fresco.FrescoModule.getDefaultConfigBuilder(FrescoModule.java:143)
E/JitsiMeetSDK( 6120): at com.facebook.react.modules.fresco.FrescoModule.getDefaultConfig(FrescoModule.java:130)
E/JitsiMeetSDK( 6120): at com.facebook.react.modules.fresco.FrescoModule.initialize(FrescoModule.java:93)
E/JitsiMeetSDK( 6120): at com.facebook.react.bridge.ModuleHolder.doInitialize(ModuleHolder.java:222)
E/JitsiMeetSDK( 6120): at com.facebook.react.bridge.ModuleHolder.markInitializable(ModuleHolder.java:97)
E/JitsiMeetSDK( 6120): at com.facebook.react.bridge.NativeModuleRegistry.notifyJSInstanceInitialized(NativeModuleRegistry.java:102)
E/JitsiMeetSDK( 6120): at com.facebook.react.bridge.CatalystInstanceImpl$2.run(CatalystInstanceImpl.java:441)
E/JitsiMeetSDK( 6120): at android.os.Handler.handleCallback(Handler.java:938)
E/JitsiMeetSDK( 6120): at android.os.Handler.dispatchMessage(Handler.java:99)
E/JitsiMeetSDK( 6120): at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:26)
E/JitsiMeetSDK( 6120): at android.os.Looper.loop(Looper.java:223)
E/JitsiMeetSDK( 6120): at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:225)
E/JitsiMeetSDK( 6120): at java.lang.Thread.run(Thread.java:923)
E/JitsiMeetSDK( 6120): Caused by: java.lang.IllegalStateException: Expected Android API level 21+ but was 30
E/JitsiMeetSDK( 6120): at okhttp3.internal.platform.AndroidPlatform$Companion.buildIfSupported(AndroidPlatform.kt:370)
E/JitsiMeetSDK( 6120): at okhttp3.internal.platform.Platform$Companion.findPlatform(Platform.kt:204)
E/JitsiMeetSDK( 6120): at okhttp3.internal.platform.Platform$Companion.access$findPlatform(Platform.kt:178)
E/JitsiMeetSDK( 6120): at okhttp3.internal.platform.Platform.(Platform.kt:179)
E/JitsiMeetSDK( 6120): ... 16 more
I/Process ( 6120): Sending signal. PID: 6120 SIG: 9
Lost connection to device.
Exited (sigterm)

@MaheshPeri19
Copy link
Author

MaheshPeri19 commented Dec 2, 2020

I have used below line in app level build.gradle file. Currently app is not crashing.

implementation 'com.squareup.okhttp3:okhttp:4.9.0'

Please confirm any one having same issue.

@jimmyjose-dev
Copy link
Collaborator

Does this happen in our example app too ?

@MaheshPeri19
Copy link
Author

No. I didn't find this issue in example app. After integrating into my app, i got this error. I am using connection service in android for incoming call to notify user and firebase push notifications. I am not sure it is creating that exception.

@jimmyjose-dev
Copy link
Collaborator

Jitsi team has advised not to use the connection service
jitsi/jitsi-meet@95eb551
We have mentioned this in our readme as well.

@MaheshPeri19
Copy link
Author

Yes. I saw that and already disabled it by adding this line

featureFlag.callIntegrationEnabled = false;

But if i am not adding below line in app level gradle file, i am getting exception.
implementation 'com.squareup.okhttp3:okhttp:4.9.0'

Actually i am trying with one to one direct video calling instead of joining the user in the particular room. So that i have used call_keep flutter package to acheive incoming call to end user.

@jimmyjose-dev
Copy link
Collaborator

I will try to run a quick test this week, thanks for bringing this up.

@tuantvu
Copy link
Collaborator

tuantvu commented Apr 3, 2021

@MaheshPeri19 still happening?

@MaheshPeri19
Copy link
Author

@tuantvu

Recently i haven't got this crash. I included below line in app level build.gradle file. May be the reason for not getting again

implementation 'com.squareup.okhttp3:okhttp:4.9.0' // to avoid crashing in jitsi

@tuantvu
Copy link
Collaborator

tuantvu commented Apr 4, 2021

Thanks. Maybe we will create a common fix documentation for workarounds needed.

@tuantvu tuantvu added documentation Improvements or additions to documentation backlog Added to the backlog labels Apr 7, 2021
@tuantvu tuantvu added this to the Improve Documentation milestone Apr 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Added to the backlog documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants