Project

General

Profile

Ошибка #260

Updated by Victor K. over 5 years ago

Crashlytics detected a new issue. 
 *MainActivity.java line 593* in @@ 

 This issue is affecting at least 1 user who has crashed at least 1 time. 

 More information: https://fabric.io/droidoncar/android/apps/com.roher.carservice/issues/82791404337549510a0d78b3d3bbbf90?utm_medium=service_hooks-redmine&utm_source=issue_impact 

 Details: 
 This crash is usually caused by your app trying to display a dialog using a previously-finished Activity as a context. For example, this can happen if an Activity triggers an AsyncTask that tries to display a dialog when it is finished, but the user navigates back from the Activity before the task is completed. 
 External resources: 
 "Android – Displaying Dialogs From Background Threads":http://dimitar.me/android-displaying-dialogs-from-background-threads 
 "Error : BinderProxy@45d459c0 is not valid; is your activity running?":http://stackoverflow.com/questions/7811993/error-binderproxy45d459c0-is-not-valid-is-your-activity-running 

 Stacktrace: 
 <pre> 
 Fatal Exception: android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@808099 for displayid = 0 is not valid; is your activity running? 
        at android.view.ViewRootImpl.setView + 931(ViewRootImpl.java:931) 
        at android.view.WindowManagerGlobal.addView + 398(WindowManagerGlobal.java:398) 
        at android.view.WindowManagerImpl.addView + 129(WindowManagerImpl.java:129) 
        at android.app.Dialog.show + 471(Dialog.java:471) 
        at android.support.v7.app.d$a.c + 958(AlertDialog.java:958) 
        at com.roher.carservice.MainActivity.a + 593(MainActivity.java:593) 
        at com.roher.carservice.MainActivity.a + 87(MainActivity.java:87) 
        at com.roher.carservice.MainActivity$1.onReceive + 165(MainActivity.java:165) 
        at android.support.v4.b.c.a + 308(LocalBroadcastManager.java:308) 
        at android.support.v4.b.c.a + 46(LocalBroadcastManager.java:46) 
        at android.support.v4.b.c$1.handleMessage + 118(LocalBroadcastManager.java:118) 
        at android.os.Handler.dispatchMessage + 109(Handler.java:109) 
        at android.os.Looper.loop + 207(Looper.java:207) 
        at android.app.ActivityThread.main + 7539(ActivityThread.java:7539) 
        at java.lang.reflect.Method.invoke(Method.java) 
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run + 524(RuntimeInit.java:524) 
        at com.android.internal.os.ZygoteInit.main + 958(ZygoteInit.java:958) 
 </pre>

Back