question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Crashed and shown this message

See original GitHub issue
~~~ 1609661748380.stacktrace ~~~

android.view.WindowManager$BadTokenException: Unable to add window -- token null is not valid; is your activity running?
	at android.view.ViewRootImpl.setView(ViewRootImpl.java:931)
	at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:387)
	at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:96)
	at android.widget.PopupWindow.invokePopup(PopupWindow.java:1577)
	at android.widget.PopupWindow.showAsDropDown(PopupWindow.java:1424)
	at dev.patrickgold.florisboard.ime.popup.KeyPopupManager.extend(KeyPopupManager.kt:389)
	at dev.patrickgold.florisboard.ime.text.key.KeyView$onFlorisTouchEvent$3.run(KeyView.kt:258)
	at android.os.Handler.handleCallback(Handler.java:883)
	at android.os.Handler.dispatchMessage(Handler.java:100)
	at android.os.Looper.loop(Looper.java:214)
	at android.app.ActivityThread.main(ActivityThread.java:7356)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:940)
~~~ 1620055886812.stacktrace ~~~

android.view.WindowManager$BadTokenException: Unable to add window -- token null is not valid; is your activity running?
	at android.view.ViewRootImpl.setView(ViewRootImpl.java:1071)
	at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:409)
	at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:109)
	at android.widget.PopupWindow.invokePopup(PopupWindow.java:1576)
	at android.widget.PopupWindow.showAsDropDown(PopupWindow.java:1423)
	at dev.patrickgold.florisboard.ime.popup.KeyPopupManager.extend(KeyPopupManager.kt:389)
	at dev.patrickgold.florisboard.ime.text.key.KeyView$onFlorisTouchEvent$3.run(KeyView.kt:258)
	at android.os.Handler.handleCallback(Handler.java:938)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:223)
	at android.app.ActivityThread.main(ActivityThread.java:7660)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
shameempkcommented, May 6, 2021

I installed beta from f-droid now. And I checked again and it is showing 0.3.10 now. Must be some error from f-droid side as I had refreshed all repos before it showed 0.3.2.

1reaction
shameempkcommented, May 4, 2021

Closing as per this comment. Will reopen if encounter with new versions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android Messages App Not Working | Crashes And Won't Load
One of the most common problems that Android users run into is one that has to do with SMS or texting. In this...
Read more >
How to fix Messages app keeps crashing and freezing on ...
Messages app keeps crashing on iPhone? try these fixes, 1. Force quit Messages app, 2. Restart iPhone, 3. Delete Messages automatically...
Read more >
Text message app keeps crashing - Apple Support Communities
Text message app keeps crashing. In fact most apps fail to completely load, freeze up, and close. How do I fix it?
Read more >
5 Methods to Fix Messages App Keeps Crashing on Samsung ...
There are many reasons that might cause messages app to crash and the most common cause of crashes are listed below:.
Read more >
6 Methods to Fix Messages App Crashing on iPhone - TunesKit
To solve the Messages app bugs on iPhone, 6 ways can be referred to and they are listed as presented below. 2.1 Use...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found