android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@bc07a88 is not valid; is your activity running?
at android.view.ViewRootImpl.setView(ViewRootImpl.java:702)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:342)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:94)
at android.app.Dialog.show(Dialog.java:337)
at Model.MFBUtil.Alert(MFBUtil.java:53)
at Model.MFBImageInfo.lambda$UploadPendingImage$0$MFBImageInfo(MFBImageInfo.java:730)
at Model.MFBImageInfo$$Lambda$0.run(Unknown Source)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6247)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:872)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:762)
Unable to add window -- token android.os.BinderProxy@bc07a88 is not valid; is your activity running?Unable to add window -- token android.os.BinderProxy@bc07a88 is not valid; is your activity running?
android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@bc07a88 is not valid; is your activity running? at android.view.ViewRootImpl.setView(ViewRootImpl.java:702) at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:342) at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:94) at android.app.Dialog.show(Dialog.java:337) at Model.MFBUtil.Alert(MFBUtil.java:53) at Model.MFBImageInfo.lambda$UploadPendingImage$0$MFBImageInfo(MFBImageInfo.java:730) at Model.MFBImageInfo$$Lambda$0.run(Unknown Source) at android.os.Handler.handleCallback(Handler.java:751) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6247) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:872) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:762) Unable to add window -- token android.os.BinderProxy@bc07a88 is not valid; is your activity running?Unable to add window -- token android.os.BinderProxy@bc07a88 is not valid; is your activity running?