android.view.WindowLeaked: Activity wb.receiptspro.SmartReceiptsProActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{22daef6f V.E..... R......D 0,0-729,192} that was orig inally added here

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via Stack Overflow by Alex Volovoy

Occurs due to dialogs which are not dismissed properly and if your activity has been destroyed but your dialog is still showing. Dismiss on activity's onDestroy().

if (dialog != null) {
        dialog.dismiss();
        dialog = null;
}

Solutions on the web

via GitHub by timabell
, 10 months ago
Activity wb.receiptspro.SmartReceiptsProActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{22daef6f V.E..... R......D 0,0-729,192} that was orig inally added here
via GitHub by donpwilson
, 1 year ago
Activity com.cloudrail.si.servicecode.commands.awaitCodeRedirect.AuthenticationActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{4244f300 V.E..... R......D 0,0-563,96} that was originally added here
via Stack Overflow by Tony
, 1 year ago
Activity com.example.project.myapplication.GUI.Edit_Staff has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{42c71d80 V.E..... R......D 0,0-684,324} that was originally added here
via GitHub by moxi
, 1 year ago
Activity org.ruboto.SplashActivity has leaked window DecorView@fc7e485[] that was originally added here
via Stack Overflow by Jonas452
, 8 months ago
Activity (DELETED BY ME).AtividadesActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{42604ff8 V.E..... R....... 0,0-640,672} that was originally added here
via Stack Overflow by Sandipkumar Savani
, 11 months ago
Activity com.arcil.brio.ui.launch.LaunchActivity has leaked window com.android.internal.policy.PhoneWindow$DecorView{2359dcf V.E...... R.....I. 0,0-1026,660} that was originally added here
android.view.WindowLeaked: Activity wb.receiptspro.SmartReceiptsProActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{22daef6f V.E..... R......D 0,0-729,192} that was orig inally added here
at android.view.ViewRootImpl.(ViewRootImpl.java:363)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:261)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69)
at android.app.Dialog.show(Dialog.java:298)
at android.app.ProgressDialog.show(ProgressDialog.java:116)
at android.app.ProgressDialog.show(ProgressDialog.java:104)
at co.smartreceipts.android.workers.EmailAssistant$2.onClick(EmailAssistant.java:181)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5254)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)

Users with the same issue

Once, 1 month ago
5 times, 2 months ago
Once, 2 months ago
4 times, 2 months ago
64 times, 2 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.