BadTokenException in ViewRootImpl
<p>I often get crash</p>

<p>Fatal Exception: android.view.WindowManager$BadTokenException
Unable to add window -- token android.os.BinderProxy@278263e9 is not valid; is your activity running?</p>

<p>from fabric.io with this or similar stacktrace:</p>

<pre><code>android.view.ViewRootImpl.setView (ViewRootImpl.java:566)
android.view.WindowManagerGlobal.addView (WindowManagerGlobal.java:282)
android.view.WindowManagerImpl.addView (WindowManagerImpl.java:85)
android.app.ActivityThread.handleResumeActivity (ActivityThread.java:3121)
android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2447)
android.app.ActivityThread.access$800 (ActivityThread.java:156)
android.app.ActivityThread$H.handleMessage (ActivityThread.java:1351)
android.os.Handler.dispatchMessage (Handler.java:102)
android.os.Looper.loop (Looper.java:211)
android.app.ActivityThread.main (ActivityThread.java:5373)
java.lang.reflect.Method.invoke (Method.java)
java.lang.reflect.Method.invoke (Method.java:372)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1020)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:815)
de.robv.android.xposed.XposedBridge.main (XposedBridge.java:102)
</code></pre>

<p>That stacktrace isn't initialized from my code and i can't reproduce that. 
I have several variations of that stacktrace but all come to an end in method setView ViewRootImpl.java class. </p>

<p>I don't understand how i can find source of crash. Help me please</p>

<p>EDIT: code where i using fabric.io:</p>

<pre><code>public class App extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        Fabric.with(this, new Crashlytics.Builder().core(new CrashlyticsCore.Builder().disabled(!BuildConfig.REPORT_CRASHES).build()).build());
}
</code></pre>