Opened 7 months ago

Closed 2 months ago

Last modified 2 months ago

#2390 closed defect (fixed)

android.view.WindowManager$BadTokenException

Reported by: Meeh Owned by: Meeh
Priority: minor Milestone: 0.9.41
Component: apps/android Version: 0.9.37
Keywords: Cc:
Parent Tickets: Sensitive: no

Description (last modified by Meeh)

android.view.WindowManager$BadTokenException: 
  at android.view.ViewRootImpl.setView (ViewRootImpl.java:951)
  at android.view.WindowManagerGlobal.addView (WindowManagerGlobal.java:356)
  at android.view.WindowManagerImpl.addView (WindowManagerImpl.java:94)
  at android.app.Dialog.show (Dialog.java:329)
  at net.i2p.android.router.web.I2PWebViewClient$BackgroundEepLoad.onProgressUpdate (I2PWebViewClient.java:424)
  at net.i2p.android.router.web.I2PWebViewClient$BackgroundEepLoad.onProgressUpdate (I2PWebViewClient.java:306)
  at android.os.AsyncTask$InternalHandler.handleMessage (AsyncTask.java:715)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loop (Looper.java:193)
  at android.app.ActivityThread.main (ActivityThread.java:6863)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:537)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:858)

Subtickets

Change History (6)

comment:2 Changed 2 months ago by Meeh

Sensitive: unset
Status: newopen

This is the far most triggered bug the past release.

comment:3 Changed 2 months ago by Meeh

16 times the past 60 days.

comment:4 Changed 2 months ago by Meeh

Description: modified (diff)

comment:5 Changed 2 months ago by zzz

Milestone: eventually0.9.41
Resolution: fixed
Status: openclosed

comment:6 Changed 2 months ago by zzz

Note that this only catches the crash. Not clear if we're using the wrong context when creating the ProgressDialog? at line 114. See also SO link in comment 1. Perhaps we should be using the static ProgressDialog?.show() instead?

Note: See TracTickets for help on using tickets.