-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Fatal Exception: java.lang.NullPointerException #1641
Comments
Hi @SergiOnGit |
I'm doing the same, and i have exactly the same problem UPDATE2: @SergiOnGit downgrade to 4.0.0 solves the issue for me |
Hi @kabus202 |
Can you try the version on master ? |
Hello @Dallas62 Thanks for fast response. Latest version on master is 5.1.0 and i already have it. So what do you mean? |
If you are able to reproduce it, you can test:
OR
|
I got this. Give me one day to test it. |
yes, i will test this also today (afternoon) |
I have updated my app in production yesterday and firebase doesn't see any error in new version. So i think it is solved. @kabus202 What about you? |
hello guys, i don't see any errors, i think it's fixed @SergiOnGit |
Hi, |
Thank you @Dallas62 |
* master: Upgrade to 5.1.1. Fix #1641 Add explanation to DO NOT USE `.configure()` INSIDE A COMPONENT, EVEN `App` # Conflicts: # CHANGELOG.md
Bug
App crashes and closing. Firebase crashlitycs catches this error "Attempt to invoke virtual method 'double java.lang.Double.doubleValue()' on a null object reference"
Environment info
react-native info
output:Library version: 5.1.0
Steps To Reproduce
Reproducible sample code
Here is my code:
I am canceling notification and then register.
PushNotification.cancelLocalNotifications({ id: '090000', });
Doesn't crash anywhere, only some devices or maybe randomly cause it happens on every model and every android version.
The text was updated successfully, but these errors were encountered: