android.view.WindowLeaked

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • leaked window android.widget.PopupWindow
    via Stack Overflow by vighneshraje
    ,
  • Leaked window when exit app through (popup) menu
    via Stack Overflow by Simon
    ,
  • GitHub comment 56#251132363
    via GitHub by greenaddress
    ,
  • GitHub comment 136#276277169
    via GitHub by RyanTG
    ,
  • fix leak
    via GitHub by greenaddress
    ,
    • android.view.WindowLeaked: Activity com.myApp.FileListActivity has leaked window android.widget.PopupWindow$PopupDecorView{365b288 V.E...... ......ID 0,0-822,1152} that was originally added here at android.view.ViewRootImpl.<init>(ViewRootImpl.java:418) at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:331) at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:94) at android.widget.PopupWindow.invokePopup(PopupWindow.java:1378) at android.widget.PopupWindow.showAsDropDown(PopupWindow.java:1234) at android.support.v7.widget.AppCompatPopupWindow.showAsDropDown(AppCompatPopupWindow.java:78) at android.support.v4.widget.PopupWindowCompatKitKat.showAsDropDown(PopupWindowCompatKitKat.java:30) at android.support.v4.widget.PopupWindowCompat$KitKatPopupWindowImpl.showAsDropDown(PopupWindowCompat.java:92) at android.support.v4.widget.PopupWindowCompat.showAsDropDown(PopupWindowCompat.java:171) at android.support.v7.widget.ListPopupWindow.show(ListPopupWindow.java:680) at android.support.v7.view.menu.MenuPopupHelper.tryShow(MenuPopupHelper.java:163) at android.support.v7.view.menu.MenuPopupHelper.show(MenuPopupHelper.java:129) at android.support.v7.widget.PopupMenu.show(PopupMenu.java:216) at com.myApp.FileListActivity.showSelectionMenu(FileListActivity.java:434) at com.myApp.FileListActivity.access$100(FileListActivity.java:44) at com.myApp.FileListActivity$5.onClick(FileListActivity.java:186) at android.view.View.performClick(View.java:5637) at android.view.View$PerformClick.run(View.java:22433) 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:6126) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)

    Users with the same issue

    brunosatriani
    1 times, last one,
    tererecool
    2 times, last one,
    Indri Yunita
    2 times, last one,
    MyInnos
    3 times, last one,
    bayukresno
    4 times, last one,
    89 more bugmates