$ errors.fyi/android/BadTokenException 128 namespaces · 4,025 codes
android · android/BadTokenException
BadTokenException

BadTokenException

Thrown by WindowManager.addView() when the window token is invalid or the associated Activity has already been destroyed. Typically occurs when showing a dialog or popup after the Activity's onDestroy(). Guard with isFinishing() || isDestroyed() before showing windows.

References

In this namespace

» community-maintained · contribute on GitHub npm i -g errors-fyi && errorfyi ENOENT