Crash in Android 7 and 8 with FirebaseInstallations
See original GitHub issueStep 2: Describe your environment
- Android Studio version: 4.0.0
- Firebase Component: Might be any of Firebase performance, config, messaging dynamic links or analytics
- Component version: Following the order of the last sentence: 19.0.7, 19.1.4, 20.2.0, 19.1.0 and 17.4.2
Step 3:
Getting a crash in both Android 8 and 7 with the following message in crashlytics:
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object com.android.org.conscrypt.SSLParametersImpl.clone()' on a null object reference
Steps to reproduce:
Full stacktrace:
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object com.android.org.conscrypt.SSLParametersImpl.clone()' on a null object reference
at com.android.org.conscrypt.OpenSSLSocketFactoryImpl.createSocket(OpenSSLSocketFactoryImpl.java:106)
at com.android.okhttp.Connection.connectTls(Connection.java:1494)
at com.android.okhttp.Connection.connectSocket(Connection.java:1458)
at com.android.okhttp.Connection.connect(Connection.java:1413)
at com.android.okhttp.Connection.connectAndSetOwner(Connection.java:1700)
at com.android.okhttp.OkHttpClient$1.connectAndSetOwner(OkHttpClient.java:133)
at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:466)
at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:371)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:503)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:130)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:261)
at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getOutputStream(DelegatingHttpsURLConnection.java:218)
at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java)
at com.google.firebase.installations.remote.FirebaseInstallationServiceClient.writeRequestBodyToOutputStream(FirebaseInstallationServiceClient.java:208)
at com.google.firebase.installations.remote.FirebaseInstallationServiceClient.writeFIDCreateRequestBodyToOutputStream(FirebaseInstallationServiceClient.java:190)
at com.google.firebase.installations.remote.FirebaseInstallationServiceClient.createFirebaseInstallation(FirebaseInstallationServiceClient.java:160)
at com.google.firebase.installations.FirebaseInstallations.registerFidWithServer(FirebaseInstallations.java:464)
at com.google.firebase.installations.FirebaseInstallations.doNetworkCall(FirebaseInstallations.java:341)
at com.google.firebase.installations.FirebaseInstallations.lambda$doRegistrationInternal$0(FirebaseInstallations.java:331)
at com.google.firebase.installations.FirebaseInstallations$$Lambda$5.run(FirebaseInstallations.java)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:762)
Issue Analytics
- State:
- Created 3 years ago
- Comments:25 (11 by maintainers)
Top Results From Across the Web
FirebaseInstallation class crashing in Android - Stack Overflow
Firebase Crashlytics have been reporting this crash on huge number of devices having Android 8 and Android 6 on playstore.
Read more >Firebase Android SDK Release Notes - Google
Performance Monitoring version 20.3.0. Fixed a NullPointerException crash when instrumenting screen traces on Android 7, 8, and 9.
Read more >How to fix Maps when it crashes - Android - Google Maps Help
If the Google Maps app on your phone or tablet crashes or has other issues that affect your experience on Maps, try the...
Read more >Bug - Applovin ad module crashes. - Unity Forum
I develop Android app only and use Rewarded Ad only. I have installed Applovin connector from Unity Editor (by clicking the button)
Read more >Massive Spike In "Firebaseinstallations.Java" Background Crashes ...
Java" Background Crashes On Samsung S7 Edges Running Android 8 ... Solved: PSA: Apps Crashing FIX Android System Webview Cra FYI I've been...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ankitaj224 Alas. We can’t reproduce it locally. I can only see these crash reports in console.
Hello @ankitaj224, no problem at all! I can confirm that we have
16.3.1
for firebase-installations and also just in case we are having16.0.0
of firebase-installations-interop. Unfortunately I couldn’t reproduce it in my side. The only exception I see that most likely is not related is this one for crashlytics:Would you confirm me that this is not related? Anything else or other info I can provide?