android.view.WindowLeaked: Activity com.emergency.e_place.MainActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{41a95858 V.E..... R......D 0,0-471,144} that was originally added here

Stack Overflow | E-Place | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    why when AsyncTask execution the app always force stop?

    Stack Overflow | 9 months ago | E-Place
    android.view.WindowLeaked: Activity com.emergency.e_place.MainActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{41a95858 V.E..... R......D 0,0-471,144} that was originally added here
  2. 0

    Activity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView

    Stack Overflow | 3 years ago | Maximus
    android.view.WindowLeaked: Activity com.mad.restaurantfinderrm.TabsViewPagerFragmentActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{41891c88 V.E..... R.....I. 0,0-240,147} that was originally added here at android.view.ViewRootImpl.<init>(ViewRootImpl.java:345)
  3. 0

    Dialog - Activity leak when orientation Change

    GitHub | 2 years ago | candeiasdan
    android.view.WindowLeaked: Activity com.scrive.pose_sign.MainActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{42102238 G.E..... R.....ID 0,0-896,540} that was originally added here
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    High: Coaster quantity issue and Crash when editing Shopping Cart

    GitHub | 3 years ago | itscam
    android.view.WindowLeaked: Activity print.io.ActivityImageUpload has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{65d7f158 V.E..... R.....ID 0,0-1080,1776} that was originally added here
  6. 0

    Can't be used in landscape format

    GitHub | 2 years ago | zafyraminx
    android.view.WindowLeaked: Activity com.choiboi.imagecroppingexample.CropActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@40532fc8 that was originally added here
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.WindowLeaked

    Activity com.emergency.e_place.MainActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{41a95858 V.E..... R......D 0,0-471,144} that was originally added here

    at android.view.ViewRootImpl.<init>()
  2. Android Platform
    Dialog.show
    1. android.view.ViewRootImpl.<init>(ViewRootImpl.java:451)
    2. android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:267)
    3. android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69)
    4. android.app.Dialog.show(Dialog.java:289)
    4 frames
  3. com.emergency.e_place
    MainActivity$1SendPostReqAsyncTask.onPreExecute
    1. com.emergency.e_place.MainActivity$1SendPostReqAsyncTask.onPreExecute(MainActivity.java:559)
    1 frame
  4. Android Platform
    AsyncTask.execute
    1. android.os.AsyncTask.executeOnExecutor(AsyncTask.java:587)
    2. android.os.AsyncTask.execute(AsyncTask.java:535)
    2 frames
  5. com.emergency.e_place
    MainActivity$17.onNavigationItemSelected
    1. com.emergency.e_place.MainActivity.insertToDatabase(MainActivity.java:629)
    2. com.emergency.e_place.MainActivity.access$1000(MainActivity.java:77)
    3. com.emergency.e_place.MainActivity$17.onNavigationItemSelected(MainActivity.java:961)
    3 frames
  6. android.support.design
    NavigationView$1.onMenuItemSelected
    1. android.support.design.widget.NavigationView$1.onMenuItemSelected(NavigationView.java:136)
    1 frame
  7. Android v7
    MenuBuilder.performItemAction
    1. android.support.v7.internal.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:811)
    2. android.support.v7.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:153)
    3. android.support.v7.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:958)
    3 frames
  8. android.support.design
    NavigationMenuPresenter.onItemClick
    1. android.support.design.internal.NavigationMenuPresenter.onItemClick(NavigationMenuPresenter.java:187)
    1 frame
  9. Android Platform
    ActivityThread.main
    1. android.widget.AdapterView.performItemClick(AdapterView.java:308)
    2. android.widget.AbsListView.performItemClick(AbsListView.java:1510)
    3. android.widget.AbsListView$PerformClick.run(AbsListView.java:3472)
    4. android.widget.AbsListView$3.run(AbsListView.java:4835)
    5. android.os.Handler.handleCallback(Handler.java:733)
    6. android.os.Handler.dispatchMessage(Handler.java:95)
    7. android.os.Looper.loop(Looper.java:146)
    8. android.app.ActivityThread.main(ActivityThread.java:5511)
    8 frames
  10. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  11. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
    2 frames
  12. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame