-
-
Notifications
You must be signed in to change notification settings - Fork 677
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
Websocket nullpointerexceptions for subscribeTo #2852
Comments
It's failing on this line: Line 244 in 84aa445
The check before it uses the subscription ID instead of the flow to determine if it needs to create a new flow, so it looks like the subscription ID is still set while the flow is already Lines 226 to 239 in 84aa445
I'll do some tests to verify this and (hopefully) submit a fix soon. Edit: add a Stacktrace
|
I believe this is the result of changes in #2801 so the latest stable release should be fine, but if you do spot it in other versions please mention it @dshokouhi ! |
So far only in Beta 2646, lets see what happens after the next beta push on Saturday. Also I think you are right about the race, most (if not all) of the events are related to screen turning on. I suspect if its not widgets it may be the users who have persistent connection set to Screen On and never changed the setting. |
The current stacktraces show widgets and device controls as the source. The persistent connection uses a different function to handle subscribing/unsubscribing (for now), so I would expect a slightly different stacktrace in that case, line 277 for beta-2646: Line 277 in 84aa445
|
Found one more thats similar
|
Home Assistant Android version:
beta-2646-84aa4454
Android version:
12/13
Phone model:
Pixel 5
Home Assistant version:
unknown
Last working Home Assistant release (if known):
unknown
Description of problem:
3 very similar null pointer errors in Sentry for the latest beta in the play store
Traceback (if applicable, to get the logs you may refer to: https://companion.home-assistant.io/docs/troubleshooting/faqs/#android-crash-logs):
Screenshot of problem:
Additional information:
The text was updated successfully, but these errors were encountered: