dpa99c / cordova-plugin-firebasex

Cordova plugin for Google Firebase
MIT License
570 stars 457 forks source link

Crash in "handleExceptionWithContext" method (rare occurrence) #874

Open TheNotorius0 opened 2 months ago

TheNotorius0 commented 2 months ago

Bug report

CHECKLIST

Current behavior:

Sometimes the handleExceptionWithContext method on Firebaseplugin.java (line 3551) crashes because the context parameter is null.

Note: this is not a "not irreversible" error in crashalytics, it's actually a real crash.

Expected behavior:

It shouldn't crash, maybe placing a if (context != null) or a try {} catch{} would be enough.

Screenshots

firebasex-android-crash firebasex-android-crash-2 FureBasePluginJava-error

Environment information

Runtime issue

Other information:

The method handleExceptionWithContext is on FirebasePlugin.java on line 3551.