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

BadTokenException in RestAPI #312

Closed
Zillode opened this issue Mar 26, 2015 · 0 comments
Closed

BadTokenException in RestAPI #312

Zillode opened this issue Mar 26, 2015 · 0 comments

Comments

@Zillode
Copy link
Contributor

Zillode commented Mar 26, 2015

android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@43237e58 is not valid; is your activity running?
at android.view.ViewRootImpl.setView(ViewRootImpl.java:536)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:259)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69)
at android.app.Dialog.show(Dialog.java:294)
at android.app.AlertDialog$Builder.show(AlertDialog.java:966)
at com.nutomic.syncthingandroid.syncthing.RestApi.requireRestart(RestApi.java:369)
at com.nutomic.syncthingandroid.syncthing.RestApi$10.onDeviceIdNormalized(RestApi.java:744)
at com.nutomic.syncthingandroid.syncthing.RestApi$11.onPostExecute(RestApi.java:889)
at com.nutomic.syncthingandroid.syncthing.RestApi$11.onPostExecute(RestApi.java:876)
at android.os.AsyncTask.finish(AsyncTask.java:632)
at android.os.AsyncTask.access$600(AsyncTask.java:177)
at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:645)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:212)
at android.app.ActivityThread.main(ActivityThread.java:5135)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:878)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
at dalvik.system.NativeStart.main(Native Method)
@Zillode Zillode added the bug label Mar 26, 2015
Zillode added a commit to Zillode/syncthing-android that referenced this issue Mar 26, 2015
@syncthing syncthing locked and limited conversation to collaborators Nov 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants