android.view.WindowLeaked: Activity com.xxxxxxxx.xxxx.DataActivity has leaked window com.android.internal.policy.PhoneWindow$DecorView{afa2ab V.E...... R......D 0,0-1026,483} that was originally added here

Stack Overflow | HunTer AnDone | 10 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

    fatal exception asynctask #2 AndroidRuntime

    Stack Overflow | 10 months ago | HunTer AnDone
    android.view.WindowLeaked: Activity com.xxxxxxxx.xxxx.DataActivity has leaked window com.android.internal.policy.PhoneWindow$DecorView{afa2ab V.E...... R......D 0,0-1026,483} that was originally added here
  2. 0

    Android - App crashes when can't reach remote json host/file

    Stack Overflow | 6 months ago | Arnaud Michel Kouassi
    android.view.WindowLeaked: Activity com.genesysci.leo.activity.MainActivity has leaked window com.android.internal.policy.PhoneWindow$DecorView{b2a72e7 V.E...... R......D 0,0-1026,483} that was originally added here
  3. 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)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
  6. 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
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.xxxxxxxx.xxxx.DataActivity has leaked window com.android.internal.policy.PhoneWindow$DecorView{afa2ab V.E...... R......D 0,0-1026,483} that was originally added here

    at android.view.ViewRootImpl.<init>()
  2. Android Platform
    Dialog.show
    1. android.view.ViewRootImpl.<init>(ViewRootImpl.java:372)
    2. android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:299)
    3. android.view.WindowManagerImpl.addView(WindowManagerImpl.java:86)
    4. android.app.Dialog.show(Dialog.java:326)
    4 frames
  3. com.xxxxxxxx.xxxx
    DataActivity$MyAsyncTaskGetNews.onPreExecute
    1. com.xxxxxxxx.xxxx.DataActivity$MyAsyncTaskGetNews.onPreExecute(DataActivity.java:105)
    1 frame
  4. Android Platform
    AsyncTask.execute
    1. android.os.AsyncTask.executeOnExecutor(AsyncTask.java:604)
    2. android.os.AsyncTask.execute(AsyncTask.java:551)
    2 frames
  5. com.xxxxxxxx.xxxx
    DataActivity$1.onClick
    1. com.xxxxxxxx.xxxx.DataActivity$1.onClick(DataActivity.java:87)
    1 frame
  6. Android Platform
    ActivityThread.main
    1. android.view.View.performClick(View.java:5280)
    2. android.view.View$PerformClick.run(View.java:21239)
    3. android.os.Handler.handleCallback(Handler.java:739)
    4. android.os.Handler.dispatchMessage(Handler.java:95)
    5. android.os.Looper.loop(Looper.java:224)
    6. android.app.ActivityThread.main(ActivityThread.java:5526)
    6 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
    2 frames