Skip to content
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 crashes on ServerManagerImpl method integrationRepository #3708

Open
dshokouhi opened this issue Jul 25, 2023 · 0 comments
Open

Websocket crashes on ServerManagerImpl method integrationRepository #3708

dshokouhi opened this issue Jul 25, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@dshokouhi
Copy link
Member

Home Assistant Android app version(s):

First seen 2023.3.0-full

Android version(s):

many

Device model(s):

many

Home Assistant version:

unknown

Last working Home Assistant release (if known):

unknown

Description of problem, include YAML if issue is related to notifications:

These below crashes were taken from the play console, although the error is different they appear in the same method so I opted to keep them in the same bug

Companion App Logs:

Exception java.lang.IllegalArgumentException:
  at io.homeassistant.companion.android.common.data.servers.ServerManagerImpl.integrationRepository (ServerManagerImpl.kt:178)
  at io.homeassistant.companion.android.notifications.MessagingManager$handleMessage$4.invokeSuspend (MessagingManager.kt:304)
  at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith (ContinuationImpl.kt:33)
  at kotlinx.coroutines.DispatchedTask.run (DispatchedTask.kt:108)
  at android.os.Handler.handleCallback (Handler.java:942)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loopOnce (Looper.java:226)
  at android.os.Looper.loop (Looper.java:313)
  at android.app.ActivityThread.main (ActivityThread.java:8757)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:571)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1067)
Exception java.lang.NullPointerException:
  at io.homeassistant.companion.android.common.data.servers.ServerManagerImpl.integrationRepository (ServerManagerImpl.kt:180)
  at io.homeassistant.companion.android.qs.TileExtensions$onStartListening$1$2.invokeSuspend (TileExtensions.kt:110)
  at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith (ContinuationImpl.kt:33)
  at kotlinx.coroutines.DispatchedTask.run (DispatchedTask.kt:108)
  at android.os.Handler.handleCallback (Handler.java:942)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loopOnce (Looper.java:227)
  at android.os.Looper.loop (Looper.java:327)
  at android.app.ActivityThread.main (ActivityThread.java:7967)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:548)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:942)

Screenshot or video of problem:

Additional information:
impact is not very high but there are about 1000 users total experiencing the crashes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant