question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Production error using Rx2Firebase

See original GitHub issue

Hi @FrangSierra, I have plenty of users hitting non-fatal exceptions pointing to:

Non-fatal Exception: durdinapps.rxfirebase2.exceptions.RxFirebaseDataException
       at durdinapps.rxfirebase2.RxFirebaseDatabase$3$1.onComplete(RxFirebaseDatabase.java:130)
       at com.google.android.gms.internal.zzeck.run(Unknown Source)
       at android.os.Handler.handleCallback(Handler.java:739)
       at android.os.Handler.dispatchMessage(Handler.java:95)
       at android.os.Looper.loop(Looper.java:145)
       at android.app.ActivityThread.main(ActivityThread.java:7007)
       at java.lang.reflect.Method.invoke(Method.java)
       at java.lang.reflect.Method.invoke(Method.java:372)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)

As per the decompiled class, the error happens on public static Completable setValue(@NonNull final DatabaseReference ref, final Object value), but that method doesn’t seems to be using any RxFirebaseDataException instance. I can’t seem to find any logic nor explanation to why this might be happening 😕 . I’m a little bit puzzled with this, so any help you might be able to provide will be awesome!

Thanks man!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mradzinskicommented, Jan 20, 2018

Hey @FrangSierra We just released yesterday, so I took some time and waited before calling it a victory. It seems my original assumption that the issue was related to a bug in our app which was manifesting wrongly through your library was right. As soon as we fixed the bug the non-fatal errors stopped showing up. So yeah, lets keep this issue closed and locked.

Thanks for your assistance and time!!! I owe you a couple beers!

0reactions
FrangSierracommented, Jan 19, 2018

I added a few checks on the onFailure of the library that maybe was causing this error on your calls, anyway I have done a lot of tests using the methods and I don’t understand why this can be happening. At the moment it doesnt look to be a problem of the library, so please, keep me updated about this topic.

I will close the issue, feel free to re-open it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Report errors | Cloud Functions for Firebase - Google
Manually reporting errors. To report an error to Error Reporting from a function, use the Cloud Logging API. Importing dependencies.
Read more >
Firebase phoneAuth gives error in production build
I'm using react-native-firebase 5.0 Firebase phoneAuth is working fine when in development build but when i signed in the apk, ...
Read more >
Using Firebase Crashlytics - FlutterFire
The error will be shown on the Firebase Crashlytics dashboard as an instance of FirebaseCrashlyticsTestCrash , with a message of This is a...
Read more >
Firebase Cloud Messaging (FCM) Troubleshooting Guide
If any of the following errors are showing in your dashboard Error Console, there is a configuration issue with your Firebase Cloud Message...
Read more >
How to fix Firestore Error: PERMISSION_DENIED - Medium
First of all, let's understand what this error actually represents. Generally, when we interact with Firebase products, and something goes ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found