Mozilla will shut down Pocket’s services on July 8, 2025. At that time users will no longer be able to access the Pocket website, apps and API. You can export your saved items and API data until October 8, 2025 before they are permanently removed. For more information, see this article.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Why does Firefox Focus crash constantly?

  • 2 àwọn èsì
  • 0 ní àwọn ìṣòro yìí
  • 71 views
  • Èsì tí ó kẹ́hìn lọ́wọ́ m1181

more options

Focus crashed a lot on my old phone, but it crashes even more on my Z Flip 5. Usually it happens when I attempt to switch tabs, but sometimes it happens even when I have only a single tab. The crash reports all look mostly the same, this is the most recent:

6eb50bf2-82a2-4b6a-bbb2-e3fc543ce443 android.view.WindowManager$BadTokenException: Unable to add window -- token android.view.ViewRootImpl$W@48ca584 is not valid; is your activity running?


android.view.WindowManager$BadTokenException: Unable to add window -- token android.view.ViewRootImpl$W@48ca584 is not valid; is your activity running? at android.view.ViewRootImpl.setView(ViewRootImpl.java:1823) at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:600) at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:150) at android.widget.PopupWindow.invokePopup(PopupWindow.java:1721) at android.widget.PopupWindow.showAsDropDown(PopupWindow.java:1502) at org.mozilla.focus.fragment.BrowserFragment$customizeToolbar$2.invoke(BrowserFragment.kt:53) at mozilla.components.service.nimbus.messaging.MessageData$$ExternalSyntheticLambda0.invoke(R8$$SyntheticClass:17) at org.mozilla.focus.settings.privacy.TrackingProtectionPanel$$ExternalSyntheticLambda5.onClick(R8$$SyntheticClass:12) at android.view.View.performClick(View.java:8055) at android.view.View.performClickInternal(View.java:8032) at android.view.View.-$$Nest$mperformClickInternal(Unknown Source:0) at android.view.View$PerformClick.run(View.java:31923) at android.os.Handler.handleCallback(Handler.java:958) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:230) at android.os.Looper.loop(Looper.java:319) at android.app.ActivityThread.main(ActivityThread.java:9063) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:588) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)

Focus crashed a lot on my old phone, but it crashes even more on my Z Flip 5. Usually it happens when I attempt to switch tabs, but sometimes it happens even when I have only a single tab. The crash reports all look mostly the same, this is the most recent: 6eb50bf2-82a2-4b6a-bbb2-e3fc543ce443 android.view.WindowManager$BadTokenException: Unable to add window -- token android.view.ViewRootImpl$W@48ca584 is not valid; is your activity running? ---- android.view.WindowManager$BadTokenException: Unable to add window -- token android.view.ViewRootImpl$W@48ca584 is not valid; is your activity running? at android.view.ViewRootImpl.setView(ViewRootImpl.java:1823) at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:600) at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:150) at android.widget.PopupWindow.invokePopup(PopupWindow.java:1721) at android.widget.PopupWindow.showAsDropDown(PopupWindow.java:1502) at org.mozilla.focus.fragment.BrowserFragment$customizeToolbar$2.invoke(BrowserFragment.kt:53) at mozilla.components.service.nimbus.messaging.MessageData$$ExternalSyntheticLambda0.invoke(R8$$SyntheticClass:17) at org.mozilla.focus.settings.privacy.TrackingProtectionPanel$$ExternalSyntheticLambda5.onClick(R8$$SyntheticClass:12) at android.view.View.performClick(View.java:8055) at android.view.View.performClickInternal(View.java:8032) at android.view.View.-$$Nest$mperformClickInternal(Unknown Source:0) at android.view.View$PerformClick.run(View.java:31923) at android.os.Handler.handleCallback(Handler.java:958) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:230) at android.os.Looper.loop(Looper.java:319) at android.app.ActivityThread.main(ActivityThread.java:9063) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:588) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)

All Replies (2)

more options

Hi

I am sorry to hear that Firefox Focus for Android is crashing. I hope that we can help resolve this for you. Before following the steps below, make sure that you have updated both your Android device and Firefox Focus for Android to the latest versions available.

As a first step, close down many of the tabs that you have open to as few as possible. Does this help reduce the incidence of a crash?

If this does not resolve the issue, open the Android Settings app, select Apps then find Firefox Focus in the list. In the section titled Storage and Cache, select the option to clear the cache (do not clear data!). Does this help?

Following that, our developers will need to look into this in more detail with some logs from inside your copy of Firefox Focus for Android. Type about:crashes in the address bar which will display information about recent crashes. If you select the most recent Socorro link, a crash report will open in a new tab. If you could copy and paste the address of the page that opens into a reply to this thread, we will be able to look into this further for you.

I hope that this helps.

Helpful?

more options

The app is up to date, and I've cleared the cache. It still crashes. It's Firefox Focus, so all the tabs go away when it crashes. Yesterday,I had only one page open and it crashed when I tried to go to the three dots menu.

When I go to about crashes, there is only a share link, and it just exports the text, like I've pasted in the original post. The screenshot is what the crashes page looks like on my phone.

Helpful?

Béèrè ìbéèrè

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.

OSZAR »