-
Notifications
You must be signed in to change notification settings - Fork 371
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]: NullPointerException at SessionService.getScheduleBackgroundRunIn #2183
Comments
Fatal Exception: java.lang.RuntimeException Caused by java.lang.NullPointerException OneSignal Android SDK versiononesignal_flutter: ^5.0.4 Android versionAndroid 12 DeviceBrand:Vivo |
OneSignal 5.1.20 - Android |
@jkasten2 Was this fixed in 5.1.20 ? |
@fanwgwg @amrutkarsuraj @michael-winkler Thanks for reporting, this looks to be a very rare bug introduced in 5.1.19. Based on the stack traces it looks like this happens if the app is backgrounded very shortly (~10-100ms) after OneSignal.initWithContext is called.
|
A fix would be great @jkasten2 |
any fixes yet ? |
we see the exact same. crash in our logs, although we are using the onesignal_flutter . |
We also received a lot of crash information, and the crash indicator suddenly went up. When will it be fixed? |
|
We are having this crash in production too, please fix |
Same here in React Native SDK! Please fix it asap |
The Issue still exist.. |
Same issue in onesignal_flutter: ^5.2.6, need to fix please |
This occurs in a rare case and is fixed in Android 5.1.25. Please upgrade to the latest SDK version and let us know if you see more of these. |
What happened?
The app crashes in background
Steps to reproduce?
The text was updated successfully, but these errors were encountered: