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

Crash on WebSocketService#onDestroy #311

Closed
jmattheis opened this issue Sep 16, 2023 · 0 comments · Fixed by #318
Closed

Crash on WebSocketService#onDestroy #311

jmattheis opened this issue Sep 16, 2023 · 0 comments · Fixed by #318
Labels
a:bug Something isn't working

Comments

@jmattheis
Copy link
Member

From the Google play console:

Exception java.lang.RuntimeException:
  at android.app.ActivityThread.handleStopService (ActivityThread.java:4900)
  at android.app.ActivityThread.-$$Nest$mhandleStopService
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2264)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loopOnce (Looper.java:210)
  at android.os.Looper.loop (Looper.java:299)
  at android.app.ActivityThread.main (ActivityThread.java:8252)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:559)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:954)
Caused by java.lang.IllegalArgumentException: NetworkCallback was not registered
  at android.net.ConnectivityManager.unregisterNetworkCallback (ConnectivityManager.java:4979)
  at com.github.gotify.service.WebSocketService.onDestroy (WebSocketService.kt:83)
  at android.app.ActivityThread.handleStopService (ActivityThread.java:4880)

Likely introduced in #288 not sure yet why this is happening yet.

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

Successfully merging a pull request may close this issue.

1 participant