Last modified: 2012-04-17 13:43:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T35790, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33790 - Wikipedia Mobile throws android.view.WindowManager$BadTokenException
Wikipedia Mobile throws android.view.WindowManager$BadTokenException
Status: RESOLVED FIXED
Product: Wikipedia App
Classification: Unclassified
Generic (Other open bugs)
1.0.0 (Android)
All All
: Normal normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-01-18 18:16 UTC by Tomasz Finc
Modified: 2012-04-17 13:43 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: Android
Assignee Huggle Beta Tester: ---


Attachments

Description Tomasz Finc 2012-01-18 18:16:46 UTC
From the Android market crash reporter

android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@4051b770 is not valid; is your activity running?
at android.view.ViewRoot.setView(ViewRoot.java:562)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:179)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91)
at android.view.Window$LocalWindowManager.addView(Window.java:433)
at android.app.Dialog.show(Dialog.java:265)
at android.app.AlertDialog$Builder.show(AlertDialog.java:802)
at com.phonegap.DroidGap$GapClient.onJsAlert(DroidGap.java:1012)
at android.webkit.CallbackProxy.handleMessage(CallbackProxy.java:550)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:150)
at android.app.ActivityThread.main(ActivityThread.java:4385)
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:849)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)
at dalvik.system.NativeStart.main(Native Method)
Comment 1 Yuvi Panda 2012-01-19 00:05:52 UTC
Things I've tried so far:

1. OOM
2. Orientation changes while doing various things
3. Testing on an emulator without the Google APIs

Those were what turned up as potential reasons from googling, and so far I've not been able to repro this :(
Comment 2 Yuvi Panda 2012-01-19 00:25:27 UTC
Do we have atleast version/phone-model information for these crashes?
Comment 3 Yuvi Panda 2012-04-17 13:43:16 UTC
Unable to reproduce, plus the most probably cause (GMaps) has since been removed. Closing now, re-open if it persists

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links