Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WindowManager$BadTokenException in autoShowWhatsNew() #893

Closed
barbeau opened this issue Jun 21, 2018 · 0 comments
Closed

WindowManager$BadTokenException in autoShowWhatsNew() #893

barbeau opened this issue Jun 21, 2018 · 0 comments
Labels
Milestone

Comments

@barbeau
Copy link
Member

barbeau commented Jun 21, 2018

Summary:

From v2.3.8 release (and earlier releases too - approximately 300 reports over lifetime of application) via Android Developer Console:

android.view.WindowManager$BadTokenException: 
  at android.view.ViewRootImpl.setView (ViewRootImpl.java:697)
  at android.view.WindowManagerGlobal.addView (WindowManagerGlobal.java:342)
  at android.view.WindowManagerImpl.addView (WindowManagerImpl.java:93)
  at android.app.Dialog.show (Dialog.java:328)
  at android.app.Activity.showDialog (Activity.java:3756)
  at android.app.Activity.showDialog (Activity.java:3705)
  at org.onebusaway.android.ui.HomeActivity.autoShowWhatsNew (HomeActivity.java:1104)
  at org.onebusaway.android.ui.HomeActivity.onRegionTaskFinished (HomeActivity.java:1491)
  at org.onebusaway.android.region.ObaRegionsTask$2.run (ObaRegionsTask.java:268)
  at android.os.Handler.handleCallback (Handler.java:751)
  at android.os.Handler.dispatchMessage (Handler.java:95)
  at android.os.Looper.loop (Looper.java:154)
  at android.app.ActivityThread.main (ActivityThread.java:6196)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:888)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:778)

See https://stackoverflow.com/a/18665887/937715 for details.

Steps to reproduce:

Unknown

Expected behavior:

Not crash

Observed behavior:

Crash

Device and Android version:

Mix of devices from Pixel to Galaxy S7, Android 7.0 to Android 8.0

@barbeau barbeau added the bug label Jun 21, 2018
@barbeau barbeau added this to the v2.3.x milestone Jun 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant