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

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web626

  • via Stack Overflow by santafebound
  • via Stack Overflow by Pedro
  • via Stack Overflow by 박한빈
  • Stack trace

    • android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application at android.view.ViewRootImpl.setView( at android.view.WindowManagerGlobal.addView( at android.view.WindowManagerImpl.addView( at at com.yitter.profile.UserProfileAdapter.lambda$deleteComment$115( at com.yitter.profile.UserProfileAdapter.access$lambda$2( at com.yitter.profile.UserProfileAdapter$$Lambda$3.done(Unknown Source) at com.parse.ParseTaskUtils$2$ at android.os.Handler.handleCallback( at android.os.Handler.dispatchMessage( at android.os.Looper.loop( at at java.lang.reflect.Method.invoke(Native Method) at$ at

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    14 times, last one
    2 times, last one
    2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    2 times, last one
    52 more bugmates