Closed Bug 759304 Opened 12 years ago Closed 6 years ago

android.view.WindowManager$BadTokenException: Unable to add window -- token null is not valid; is your activity running? at android.view.ViewRoot.setView(ViewRoot.java)

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
critical

Tracking

(firefox16 affected, firefox17 affected, firefox18 affected, firefox19 affected, firefox20 affected, firefox22 affected, firefox25 affected)

RESOLVED WONTFIX
Tracking Status
firefox16 --- affected
firefox17 --- affected
firefox18 --- affected
firefox19 --- affected
firefox20 --- affected
firefox22 --- affected
firefox25 --- affected

People

(Reporter: scoobidiver, Unassigned)

Details

(Keywords: crash, Whiteboard: [native-crash])

Crash Data

There are 11 crashes including: bp-a041e38b-2e98-4d5e-80ad-c80ce2120528.

android.view.WindowManager$BadTokenException: Unable to add window -- token null is not valid; is your activity running?
	at android.view.ViewRoot.setView(ViewRoot.java:528)
	at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:177)
	at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91)
	at android.view.Window$LocalWindowManager.addView(Window.java:465)
	at android.widget.PopupWindow.invokePopup(PopupWindow.java:907)
	at android.widget.PopupWindow.showAtLocation(PopupWindow.java:767)
	at android.widget.TextView$HandleView.show(TextView.java:7861)
	at android.widget.TextView$HandleView.moveTo(TextView.java:7928)
	at android.widget.TextView$HandleView.positionAtCursor(TextView.java:8015)
	at android.widget.TextView$SelectionModifierCursorController.updatePosition(TextView.java:8184)
	at android.widget.TextView$SelectionModifierCursorController.show(TextView.java:8119)
	at android.widget.TextView.startTextSelectionMode(TextView.java:7705)
	at android.widget.TextView.access$1200(TextView.java:193)
	at android.widget.TextView$CommitSelectionReceiver.onReceiveResult(TextView.java:6823)
	at android.os.ResultReceiver$MyRunnable.run(ResultReceiver.java:43)
	at android.os.Handler.handleCallback(Handler.java:587)
	at android.os.Handler.dispatchMessage(Handler.java:92)
	at android.os.Looper.loop(Looper.java:130)
	at android.app.ActivityThread.main(ActivityThread.java:3835)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:507)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)
	at dalvik.system.NativeStart.main(Native Method)

More reports at:
https://crash-stats.mozilla.com/report/list?signature=android.view.WindowManager%24BadTokenException%3A+Unable+to+add+window+--+token+null+is+not+valid%3B+is+your+activity+running%3F+at+android.view.ViewRoot.setView%28ViewRoot.java%29
Version: Firefox 14 → Firefox 16
Version: Firefox 16 → Trunk
Crash Signature: [@ android.view.WindowManager$BadTokenException: Unable to add window -- token null is not valid; is your activity running? at android.view.ViewRoot.setView(ViewRoot.java)] → [@ android.view.WindowManager$BadTokenException: Unable to add window -- token null is not valid; is your activity running? at android.view.ViewRoot.setView(ViewRoot.java)] [@ android.view.WindowManager$BadTokenException: Unable to add window -- token nu…
Closing because no crash reported since 12 weeks.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.