-
Notifications
You must be signed in to change notification settings - Fork 154
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
[android] RuntimeException
when app gets paused and returns to foreground
#196
Comments
RuntimeException
when app gets Paused and returns to foregroundRuntimeException
when app gets paused and returns to foreground
How long was the App waiting for a response before the user exited the App? |
Not long, the Sentry logs for the starting of the UDP broadcast and the
event, have the exact same timestamp... Which makes me wonder: is it possible the app is crashing? |
I also had a look at this and created this pr: #197. Given that it's a nullpointer exception it looks like either:
I've added both a safeguard and replaced the AsyncTask with a better alternative. |
Fixed by #197. |
Description
We see the following errors in our Sentry logging:
This error has occured for multiple users with different devices (all Android). The error always occurs after the activity was paused (e.g. app put to background) and the user returns to the application.
I can not share the exact code but I believe the error occurs if the user suspends the app before a response was received for a UDP broadcast message and then returns to the app.
Current behavior
An error is thrown
Expected behavior
No error is thrown, null reference is handled gracefully (?)
Relevant information
The text was updated successfully, but these errors were encountered: