Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
5 tasks done
TheNotorius0 opened this issue Mar 7, 2024 · 0 comments
Open
5 tasks done

Comments

@TheNotorius0
Copy link

Bug report

CHECKLIST

  • I have reproduced the issue using the example project or provided the necessary information to reproduce the issue.
  • I have checked that no similar issues (open or closed) already exist.

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

  • Cordova CLI version
  • Cordova platform version
    • cordova platform ls android 12.0.1
  • Plugins & versions installed in project (including this plugin)
    • cordova plugin ls cordova-plugin-firebasex 16.4.0 "Google Firebase Plugin"

Runtime issue

  • Device details (that received the crash)

    • Samsung Galaxy S10+ (Android 12)
    • Samsung Galaxy S20 FE 5G (Android 13)
    • Samsung Galaxy Galaxy A02s (Android 13)
    • OnePlus Nord CE 3 Lite 5G (Android 13)
    • Redmi Note 9 Pro (Android 12)
    • Nokia C22 (Android 12)

Other information:

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

@TheNotorius0 TheNotorius0 changed the title Crash in "handleExceptionWithContext" method. Crash in "handleExceptionWithContext" method (rare occurrence) Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant