Describe the bug
This is a crash caused by your app dismissing a dialog attached to an Activity which is finishing or finished. This can happen in a number of ways -- for example, if an AsyncTask is running while a ProgressDialog is showing, and the user rotates the device, causing the Activity to be recreated.
App version (please complete the following information):
App version 0.7.0
Additional context or information
Fatal Exception: java.lang.IllegalArgumentException: View=DecorView@a4b92d5[Even geduld] not attached to window manager
at android.view.WindowManagerGlobal.findViewLocked(WindowManagerGlobal.java:533)
at android.view.WindowManagerGlobal.removeView(WindowManagerGlobal.java:433)
at android.view.WindowManagerImpl.removeViewImmediate(WindowManagerImpl.java:124)
at android.app.Dialog.dismissDialog(Dialog.java:518)
at android.app.Dialog.dismiss(Dialog.java:501)
at com.toonapps.toon.view.fragments.LoginFragment.dismissProgressDialog(LoginFragment.java:239)
at com.toonapps.toon.view.fragments.LoginFragment.access$500(LoginFragment.java:51)
at com.toonapps.toon.view.fragments.LoginFragment$3.onDeviceError(LoginFragment.java:191)
at com.toonapps.toon.controller.DeviceController.onError(DeviceController.java:70)
at com.toonapps.toon.controller.DeviceController.onResponseError(DeviceController.java:82)
at com.toonapps.toon.data.RestClient.errorToResponseHandler(RestClient.java:623)
at com.toonapps.toon.data.RestClient.access$500(RestClient.java:32)
at com.toonapps.toon.data.RestClient$37.onResponse(RestClient.java:537)
at com.toonapps.toon.data.RestClient$37.onResponse(RestClient.java:529)
at com.android.volley.toolbox.StringRequest.deliverResponse(StringRequest.java:82)
at com.android.volley.toolbox.StringRequest.deliverResponse(StringRequest.java:29)
at com.android.volley.ExecutorDelivery$ResponseDeliveryRunnable.run(ExecutorDelivery.java:102)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7050)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)
Describe the bug This is a crash caused by your app dismissing a dialog attached to an Activity which is finishing or finished. This can happen in a number of ways -- for example, if an AsyncTask is running while a ProgressDialog is showing, and the user rotates the device, causing the Activity to be recreated.
App version (please complete the following information):
Additional context or information