android.view.WindowLeaked: Activity com.updatetest.MainActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@4055f730 that was originally added here

Google Groups | Dhaval Gondaliya | 2 years ago
  1. 0

    Caused by: java.lang.RuntimeException: Response code = 403, msg = Forbidden

    Google Groups | 2 years ago | Dhaval Gondaliya
    android.view.WindowLeaked: Activity com.updatetest.MainActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@4055f730 that was originally added here
  2. 0

    Android: Fatal Error: AsyncTask #1

    Stack Overflow | 1 year ago | Gopal Samy
    android.view.WindowLeaked: Activity com.example.androidhive.AllProductsActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@4052e160 that was originally added here
  3. 0

    android activity has leaked window com.android.internal.policy.impl.phonewindow$decorview Issue

    Stack Overflow | 4 years ago | Ponmalar
    android.view.WindowLeaked: Activity exp.app.NetErrorPage has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@40534a18 that was originally added here
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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)
  6. 0

    High: Coaster quantity issue and Crash when editing Shopping Cart

    GitHub | 2 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
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.updatetest.MainActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@4055f730 that was originally added here

    at android.view.ViewRoot.<init>()
  2. Android Platform
    Dialog.show
    1. android.view.ViewRoot.<init>(ViewRoot.java:263)
    2. android.view.WindowManagerImpl.addView(WindowManagerImpl.java:148)
    3. android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91)
    4. android.view.Window$LocalWindowManager.addView(Window.java:424)
    5. android.app.Dialog.show(Dialog.java:241)
    5 frames
  3. com.updatetest
    MainActivity$getdatafromapi.onPreExecute
    1. com.updatetest.MainActivity$getdatafromapi.onPreExecute(MainActivity.java:120)
    1 frame
  4. Android Platform
    AsyncTask.execute
    1. android.os.AsyncTask.execute(AsyncTask.java:391)
    1 frame
  5. com.updatetest
    MainActivity.onCreate
    1. com.updatetest.MainActivity.onCreate(MainActivity.java:64)
    1 frame
  6. Android Platform
    ActivityThread.main
    1. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
    2. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1615)
    3. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1667)
    4. android.app.ActivityThread.access$1500(ActivityThread.java:117)
    5. android.app.ActivityThread$H.handleMessage(ActivityThread.java:935)
    6. android.os.Handler.dispatchMessage(Handler.java:99)
    7. android.os.Looper.loop(Looper.java:130)
    8. android.app.ActivityThread.main(ActivityThread.java:3687)
    8 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:507)
    2 frames
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
    2 frames
  9. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame