android.view.WindowLeaked: Activity com.mapbox.mapboxsdk.testapp.activity.annotation.BulkMarkerActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{215450ff G.E..... R.....ID 0,0-1002,483} that was originally 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 bleege
, 1 year ago
Activity com.mapbox.mapboxsdk.testapp.activity.annotation.BulkMarkerActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{215450ff G.E..... R.....ID 0,0-1002,483} that was originally 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 GitHub by xyzizix
, 7 months ago
Activity de.pixart.messenger.ui.WelcomeActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{425d3cc0 V.E..... R......D 0,0-1026,486} that was originally added here
via Stack Overflow by Tony
, 2 years 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 rdystwnts
, 1 year ago
Activity com.yongchun.library.view.ImageCropActivity has leaked window com.android.internal.policy.PhoneWindow$DecorView{a5cff5a V.E...... R.....ID 0,0-1336,464} that was originally added here
via GitHub by rcgonzalezf
, 1 year ago
Activity org.ruboto.SplashActivity has leaked window DecorView@fc7e485[] that was originally added here
android.view.WindowLeaked: Activity com.mapbox.mapboxsdk.testapp.activity.annotation.BulkMarkerActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{215450ff G.E..... R.....ID 0,0-1002,483} that was originally added here
at android.view.ViewRootImpl.(ViewRootImpl.java:457)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:277)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69)
at android.app.Dialog.show(Dialog.java:312)
at android.app.ProgressDialog.show(ProgressDialog.java:116)
at android.app.ProgressDialog.show(ProgressDialog.java:99)
at com.mapbox.mapboxsdk.testapp.activity.annotation.BulkMarkerActivity$LoadLocationTask.(BulkMarkerActivity.java:268)
at com.mapbox.mapboxsdk.testapp.activity.annotation.BulkMarkerActivity.onItemSelected(BulkMarkerActivity.java:94)
at android.widget.AdapterView.fireOnSelected(AdapterView.java:1093)
at android.widget.AdapterView.access$200(AdapterView.java:54)
at android.widget.AdapterView$SelectionNotifier.run(AdapterView.java:1058)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:5835)
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:1399)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)

Users with the same issue

Once, 2 months ago
5 times, 3 months ago
Once, 3 months ago
4 times, 3 months ago
64 times, 3 months ago

Write tip

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