Fatal Exception: java.lang.RuntimeException: Uncaught exception in Firebase Database runloop (20.0.2)
See original GitHub issueEnvironment
- Android Studio version: Arctic Fox 2020.3.1 Patch 3
- Firebase Component: Database
- Component version: 20.0.2
implementation platform("com.google.firebase:firebase-bom:28.4.2")
implementation "com.google.firebase:firebase-analytics"
implementation "com.google.firebase:firebase-config"
implementation "com.google.firebase:firebase-database"
implementation "com.google.firebase:firebase-auth"
implementation "com.google.firebase:firebase-appindexing"
implementation "com.google.firebase:firebase-dynamic-links"
implementation "com.google.firebase:firebase-crashlytics"
implementation "com.firebaseui:firebase-ui-auth:8.0.0"
Problem
After updating firebase realtime database dependency from 19.3.1 to 20.0.2 a lot of crashes are getting reported. Not really changed anything else with the latest release. It affects around 15% of active users. Anyone experiencing the same issue? Any help is highly appreciated!
Fatal Exception: java.lang.RuntimeException: Uncaught exception in Firebase Database runloop (20.0.2). If you are not already on the latest version of the Firebase SDKs, try updating your dependencies. Should this problem persist, please file a report at https://github.com/firebase/firebase-android-sdk
at com.google.firebase.database.android.AndroidPlatform$1$1.run(AndroidPlatform.java:96)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:246)
at android.app.ActivityThread.main(ActivityThread.java:8633)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
Caused by java.lang.AssertionError: hardAssert failed: Expected connection state disconnected, but was GettingToken
at com.google.firebase.database.connection.ConnectionUtils.hardAssert(ConnectionUtils.java:67)
at com.google.firebase.database.connection.PersistentConnectionImpl.lambda$tryScheduleReconnect$2(PersistentConnectionImpl.java:771)
at com.google.firebase.database.connection.PersistentConnectionImpl.$r8$lambda$TPmxS5Ul3aIZupJNWDNIbn3GMUQ(PersistentConnectionImpl.java)
at com.google.firebase.database.connection.PersistentConnectionImpl$$InternalSyntheticLambda$0$f57df02977d75c35b83110250a87e74eafeeceab6f42dcc20508ee097d4a2331$0.onSuccess(PersistentConnectionImpl.java:11)
at com.google.android.gms.tasks.zzm.run(zzm.java:1)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (4 by maintainers)
Top Results From Across the Web
java.lang.RuntimeException: Uncaught exception in Firebase ...
Fatal Exception : java.lang.RuntimeException: Uncaught exception in Firebase Database runloop (20.0.4). #3643.
Read more >Uncaught exception in Firebase Database runloop (20.0.6)
I get the following error stack trace when trying to navigate to a screen that uses Firebase Realtime Database for the second time...
Read more >Firebase 9.0.2 Uncaught exception fatal exception
Fatal Exception : java.lang.RuntimeException: Uncaught exception in Firebase runloop (3.0.0). Please report to sup...@firebase.com.
Read more >DatabaseException | Firebase - Google
Dismiss Got it. class DatabaseException : RuntimeException ... From java.lang.Throwable ... Java is a registered trademark of Oracle and/or its affiliates.
Read more >App Stops working while using Firebase
E/RunLoop: Uncaught exception in Firebase Database runloop (3.0.0). Please report to firebase-database-client@google.com java.lang.
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 Free
Top 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
This will be part of our next release. We are already working on verifying this release.
when to release a new version firebase-database with fixed?