android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application**

GitHub | jamesbedontHDS | 3 months ago
  1. 0

    Android app crashes upon opening a html select input element

    GitHub | 3 months ago | jamesbedontHDS
    android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application**
  2. 0

    Starting map activity in Fragment

    Stack Overflow | 2 years ago | Nikhil Kamath
    android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application
  3. 0

    BaseAdapter AlertDialog is unable to add window token null

    Stack Overflow | 2 years ago
    android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Why does ad.show() fail?

    Stack Overflow | 1 year ago | Manos
    android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application
  6. 0

    GitHub comment 718#168185028

    GitHub | 11 months ago | thestinger
    android.view.WindowManager$BadTokenException: Unable to add window android.view.ViewRootImpl$W@eb98303 -- permission denied for this window type

  1. filpgame 1 times, last 2 weeks ago
  2. franky li 2 times, last 1 month ago
  3. dontdropmybass 2 times, last 4 months ago
  4. ank_07 4 times, last 4 months ago
  5. bayukresno 1 times, last 5 months ago
8 more registered users
5 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. android.view.WindowManager$BadTokenException

    Unable to add window -- token null is not for an application**

    at android.view.ViewRootImpl.setView()
  2. Android Platform
    Dialog.show
    1. android.view.ViewRootImpl.setView(ViewRootImpl.java:566)
    2. android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:282)
    3. android.view.WindowManagerImpl.addView(WindowManagerImpl.java:85)
    4. android.app.Dialog.show(Dialog.java:298)
    4 frames
  3. org.chromium.content
    ContentViewCore.showSelectPopup
    1. org.chromium.content.browser.input.SelectPopupDialog.show(SelectPopupDialog.java:133)
    2. org.chromium.content.browser.ContentViewCore.showSelectPopup(ContentViewCore.java:2476)
    2 frames
  4. org.chromium.base
    SystemMessageHandler.handleMessage
    1. org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
    2. org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:53)
    2 frames
  5. Android Platform
    ActivityThread.main
    1. android.os.Handler.dispatchMessage(Handler.java:102)
    2. android.os.Looper.loop(Looper.java:135)
    3. android.app.ActivityThread.main(ActivityThread.java:5254)
    3 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  7. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
    2 frames