-
Notifications
You must be signed in to change notification settings - Fork 373
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
[Bug]: OneSignalService.onPostAppCreated java.lang.NullPointerException #1917
Comments
Thank you for reaching out! We'll investigate this. |
Hello we released a new version with the 5.1.1 and the error persists (But we reduced ARN thx!). This is a log with the last version Can you give me some feedback @jennantilla please is the most frequent error on our app. Regards |
Hello? any news regarding this @jennantilla. |
Hi @albertoderodrigo, Thank you for following up with your updates and attaching new stacktraces. I am noting for ourselves to investigate that the stacktraces show two scenarios that triggered the
We have no updates yet. |
Hi @nan-li, We can add more logs or traces at the moment that the exception is raised. What information could help you? |
I have looked at your logs again, and they all arise from your app's method
Also, do you see any crashes that originate from other sources that are not from you calilng the method, such as BroadcastReceivers, etc? |
Hi @nan-li. We use the getApplicationContext from the custom Application. This is provided on the onCreate event. ![]() I just checked a lot of this crashes an all are originated from the same source. Has your |
We have a fix that will lower and possibly fix all crashes related to this @albertoderodrigo if you continue to seeing this issue after updating to 5.1.6 please let us know the new percentages of crashes the new stack traces. |
Hi @jkasten2, we just releases a hotfix with your update. On Monday I will let you know if it has disappeared or not. Thx |
Hi @jkasten2, the error disappeared!! Thx! |
@albertoderodrigo That is awesome to hear! Appreciate you reporting back the results! |
What happened?
Since que upgraded from OneSignal 4.X.X to OneSignal 5.0.4 we started to see the following error on Firebase crashlytics.
Full Log
This happens on the start up and in a variety of devices and Android Versions.
Steps to reproduce?
What did you expect to happen?
No errors on FIrebase crashlytics
OneSignal Android SDK version
5.0.4
Android version
13, 12, 11, 10, 9
Specific Android models
No response
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: