firebase-android-sdk: RuntimeException: Uncaught exception in Firebase Database runloop (19.4.0)
So i’m getting a RuntimeException
Here are the errors
Fatal Exception: java.lang.RuntimeException: Uncaught exception in Firebase Database runloop (19.4.0). 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:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:7325) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
Caused by java.lang.RuntimeException: java.lang.AssertionError: hardAssert failed: at com.google.firebase.database.core.persistence.DefaultPersistenceManager.runInTransaction(DefaultPersistenceManager.java:244) at com.google.firebase.database.core.SyncTree.removeEventRegistration(SyncTree.java:586) at com.google.firebase.database.core.SyncTree.removeAllEventRegistrations(SyncTree.java:579) at com.google.firebase.database.core.SyncTree$ListenContainer.onListenComplete(SyncTree.java:143) at com.google.firebase.database.core.Repo$4$1.onRequestResult(Repo.java:191) at com.google.firebase.database.connection.PersistentConnectionImpl.onListenRevoked(PersistentConnectionImpl.java:827) at com.google.firebase.database.connection.PersistentConnectionImpl.onDataPush(PersistentConnectionImpl.java:808) at com.google.firebase.database.connection.PersistentConnectionImpl.onDataMessage(PersistentConnectionImpl.java:415) at com.google.firebase.database.connection.Connection.onDataMessage(Connection.java:164) at com.google.firebase.database.connection.Connection.onMessage(Connection.java:128) at com.google.firebase.database.connection.WebsocketConnection.appendFrame(WebsocketConnection.java:257) at com.google.firebase.database.connection.WebsocketConnection.handleIncomingFrame(WebsocketConnection.java:304) at com.google.firebase.database.connection.WebsocketConnection.access$500(WebsocketConnection.java:34) at com.google.firebase.database.connection.WebsocketConnection$WSClientTubesock$2.run(WebsocketConnection.java:86) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:154) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:269) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818)
Caused by java.lang.AssertionError: hardAssert failed: at com.google.firebase.database.core.utilities.Utilities.hardAssert(Utilities.java:234) at com.google.firebase.database.core.utilities.Utilities.hardAssert(Utilities.java:229) at com.google.firebase.database.core.ZombieEventManager.unRecordEventRegistration(ZombieEventManager.java:94) at com.google.firebase.database.core.ZombieEventManager.onZombied(ZombieEventManager.java:155) at com.google.firebase.database.core.EventRegistration.zombify(EventRegistration.java:50) at com.google.firebase.database.core.view.View.removeEventRegistration(View.java:153) at com.google.firebase.database.core.SyncPoint.removeEventRegistration(SyncPoint.java:180) at com.google.firebase.database.core.SyncTree$12.call(SyncTree.java:603) at com.google.firebase.database.core.SyncTree$12.call(SyncTree.java:587) at com.google.firebase.database.core.persistence.DefaultPersistenceManager.runInTransaction(DefaultPersistenceManager.java:239) at com.google.firebase.database.core.SyncTree.removeEventRegistration(SyncTree.java:586) at com.google.firebase.database.core.SyncTree.removeAllEventRegistrations(SyncTree.java:579) at com.google.firebase.database.core.SyncTree$ListenContainer.onListenComplete(SyncTree.java:143) at com.google.firebase.database.core.Repo$4$1.onRequestResult(Repo.java:191) at com.google.firebase.database.connection.PersistentConnectionImpl.onListenRevoked(PersistentConnectionImpl.java:827) at com.google.firebase.database.connection.PersistentConnectionImpl.onDataPush(PersistentConnectionImpl.java:808) at com.google.firebase.database.connection.PersistentConnectionImpl.onDataMessage(PersistentConnectionImpl.java:415) at com.google.firebase.database.connection.Connection.onDataMessage(Connection.java:164) at com.google.firebase.database.connection.Connection.onMessage(Connection.java:128) at com.google.firebase.database.connection.WebsocketConnection.appendFrame(WebsocketConnection.java:257) at com.google.firebase.database.connection.WebsocketConnection.handleIncomingFrame(WebsocketConnection.java:304) at com.google.firebase.database.connection.WebsocketConnection.access$500(WebsocketConnection.java:34) at com.google.firebase.database.connection.WebsocketConnection$WSClientTubesock$2.run(WebsocketConnection.java:86) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:154) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:269) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818)
I already have all the dependencies up to date
can you fix the error please?
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 15 (2 by maintainers)
This has already been addressed with https://github.com/firebase/firebase-android-sdk/pull/2079. We are currently working on a patch release and are aiming to release it by the end of week.
implementation “com.google.firebase:firebase-database:19.3.0”
Thank you! @yorondahacker