166506988: FirebaseInAppMessagingDisplay WindowManager$BadTokenException
See original GitHub issue- Android Studio version: 4.0
- Firebase Component: InAppMessaging
- Component version: 19.0.7
Hi, I noticed in firebase crashlytics console a crash
Fatal Exception: android.view.WindowManager$BadTokenException: Unable to add window -- token null is not valid; is your activity running?
at android.view.ViewRootImpl.setView(ViewRootImpl.java:945)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:387)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:95)
at com.google.firebase.inappmessaging.display.internal.FiamWindowManager.show(FiamWindowManager.java:62)
at com.google.firebase.inappmessaging.display.FirebaseInAppMessagingDisplay$4$4.run(FirebaseInAppMessagingDisplay.java:418)
at android.app.Activity.runOnUiThread(Activity.java:6912)
at com.google.firebase.inappmessaging.display.FirebaseInAppMessagingDisplay$4.onSuccess(FirebaseInAppMessagingDisplay.java:414)
at com.squareup.picasso.ImageViewAction.complete(ImageViewAction.java:52)
at com.squareup.picasso.Picasso.deliverAction(Picasso.java:576)
at com.squareup.picasso.Picasso.complete(Picasso.java:528)
at com.squareup.picasso.Picasso$1.handleMessage(Picasso.java:122)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:241)
at android.app.ActivityThread.main(ActivityThread.java:7617)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
At this moment i see only one occurrence on “motorola one vision” Android 10. Unfortunately I don’t know how to recreate it 😕
Issue Analytics
- State:
- Created 3 years ago
- Reactions:10
- Comments:8 (1 by maintainers)
Top Results From Across the Web
No Brewfile found" - Homebrew/Homebrew-Bundle - IssueHint
166506988 : FirebaseInAppMessagingDisplay WindowManager$BadTokenException, 8, 2020-07-23, 2022-11-14. Agent: /status web page complains about alertmanagers ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I notice same crash on two additional devices
Hi All. This is a duplicate of #1694. Closing this in favor of that issue. Please upvote there instead.