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

  1. ,
    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 Stack Overflow by sunil y
, 1 year ago
Activity com.example.miisky.Mnst has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@5383cdc0 that was originally added here
via Stack Overflow by KickingLettuce
, 2 years ago
Activity com.---.---.MyFragmentActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@42b02cd0 that was originally added here
via Google Groups by Areg, 9 months ago
Activity net.osmand.plus.activities.MapActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@41f1f650 that was originally added here
via Stack Overflow by user3709878
, 9 months ago
Activity com.example.phonebook.UserByIdProfile has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@42237718 that was originally added here
via Stack Overflow by Unknown author, 2 years ago
Activity org.app.mycity.activity.ABActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@420c3948 that was originally added here
via Stack Overflow by Souvik Basu
, 2 years ago
Activity com.amateurprogs.championpkg.MainActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@41768940 that was originally added here
android.view.WindowLeaked: Activity com.example.miisky.Mnst has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@5383cdc0 that was originally added here	at android.view.ViewRootImpl.(ViewRootImpl.java:374)	at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:292)	at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:224)	at android.view.WindowManagerImpl$CompatModeWrapper.addView(WindowManagerImpl.java:149)	at android.view.Window$LocalWindowManager.addView(Window.java:547)	at android.app.Dialog.show(Dialog.java:277)	at android.app.ProgressDialog.show(ProgressDialog.java:116)	at android.app.ProgressDialog.show(ProgressDialog.java:104)	at com.example.miisky.Mnst$1RegisterUser.onPreExecute(Mnst.java:132)	at android.os.AsyncTask.executeOnExecutor(AsyncTask.java:586)	at android.os.AsyncTask.execute(AsyncTask.java:534)	at com.example.miisky.Mnst.register(Mnst.java:178)	at com.example.miisky.Mnst.registerUser(Mnst.java:118)	at com.example.miisky.Mnst.onClick(Mnst.java:95)	at android.view.View.performClick(View.java:4084)	at android.view.View$PerformClick.run(View.java:16966)	at android.os.Handler.handleCallback(Handler.java:615)	at android.os.Handler.dispatchMessage(Handler.java:92)	at android.os.Looper.loop(Looper.java:137)	at android.app.ActivityThread.main(ActivityThread.java:4745)	at java.lang.reflect.Method.invokeNative(Native Method)	at java.lang.reflect.Method.invoke(Method.java:511)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)	at dalvik.system.NativeStart.main(Native Method)