android.view.WindowLeaked: Activity com.eonelectric.eon.FragmentContainerActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{201c1a84 V.E..... R.....ID 0,0-897,540} that was originally added here

Stack Overflow | Ashish Patel | 2 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    how to debug FragmentContainerActivity has leaked window

    Stack Overflow | 2 months ago | Ashish Patel
    android.view.WindowLeaked: Activity com.eonelectric.eon.FragmentContainerActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{201c1a84 V.E..... R.....ID 0,0-897,540} that was originally added here
  2. 0
    samebug tip
    When you use findViewById inside an activity it is going to look for a View inside your main_activity.xml. If it's not there, it throws this exception, try to use the right view to call findviewById.
  3. 0

    Android Type mismatch: cannot convert from JSONArray to ArrayList>

    Stack Overflow | 2 years ago | meruvi
    android.view.WindowLeaked: Activity com.android.GoTrip.MainActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{527c304c V.E..... R......D 0,0-684,192} that was originally added here 01-08 17:47:32.555: E/WindowManager(2186): at android.view.ViewRootImpl.<init>(ViewRootImpl.java:345) 01-08 17:47:32.555: E/WindowManager(2186): at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:239)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android: How to make async task sleep , while evaluating some condition

    Stack Overflow | 3 years ago | Vihaan Verma
    android.view.WindowLeaked: Activity in.coupondunia.androidapp.HomeActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{42843b18 V.E..... R......D 0,0-729,192} that was originally added here at android.view.ViewRootImpl.<init>(ViewRootImpl.java:348)
  6. 0

    Not able to set Simple Adapter in SherlockFragment (onPostExecute)

    Stack Overflow | 3 years ago | ganapathy
    android.view.WindowLeaked: Activity com.example.festipedia_logo.MainActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{42fe6ef8 V.E..... R......D 0,0-1026,288} that was originally added here at android.view.ViewRootImpl.<init>(ViewRootImpl.java:456)
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.eonelectric.eon.FragmentContainerActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{201c1a84 V.E..... R.....ID 0,0-897,540} that was originally added here

    at android.view.ViewRootImpl.<init>()
  2. Android Platform
    Dialog.show
    1. android.view.ViewRootImpl.<init>(ViewRootImpl.java:375)
    2. android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:271)
    3. android.view.WindowManagerImpl.addView(WindowManagerImpl.java:85)
    4. android.app.Dialog.show(Dialog.java:298)
    4 frames
  3. com.eonelectric.eon
    BeatRecordFragment.onCreateView
    1. com.eonelectric.eon.fragments.BeatRecordFragment.showOverLay(BeatRecordFragment.java:2360)
    2. com.eonelectric.eon.fragments.BeatRecordFragment.onCreateView(BeatRecordFragment.java:259)
    2 frames
  4. Android Support v4
    FragmentActivity.onStart
    1. android.support.v4.app.Fragment.performCreateView(Fragment.java:2087)
    2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1113)
    3. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1295)
    4. android.support.v4.app.BackStackRecord.run(BackStackRecord.java:801)
    5. android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1682)
    6. android.support.v4.app.FragmentController.execPendingActions(FragmentController.java:388)
    7. android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:607)
    7 frames
  5. Android v7
    AppCompatActivity.onStart
    1. android.support.v7.app.AppCompatActivity.onStart(AppCompatActivity.java:181)
    1 frame
  6. com.eonelectric.eon
    GPlusLogoutHelperGCActivity.onStart
    1. com.eonelectric.eon.GPlusLogoutHelperGCActivity.onStart(GPlusLogoutHelperGCActivity.java:48)
    1 frame
  7. Android Platform
    ActivityThread.main
    1. android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1259)
    2. android.app.Activity.performStart(Activity.java:6026)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2302)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2413)
    5. android.app.ActivityThread.access$800(ActivityThread.java:155)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1317)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:135)
    9. android.app.ActivityThread.main(ActivityThread.java:5343)
    9 frames
  8. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  9. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)
    2 frames