android.view.WindowLeaked

Activity com.telnet.asp.presentation.view.activities.MainActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{42defcf8 V.E..... R.....ID 0,0-720,351} that was originally added here

Samebug tips1

Close (finish) a Activity before, to ensure that the subsidiary in the above Dialog or PopupWindow have been closed (dismiss). Is also available at OnCreateDialog (Dialog) to create, let the system to manage the dialog box

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web899

Stack trace

  • android.view.WindowLeaked: Activity com.telnet.asp.presentation.view.activities.MainActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{42defcf8 V.E..... R.....ID 0,0-720,351} that was originally added here at android.view.ViewRootImpl.<init>(ViewRootImpl.java) at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java) at android.view.WindowManagerImpl.addView(WindowManagerImpl.java) at android.app.Dialog.show(Dialog.java) at com.telnet.asp.presentation.view.activities.MainActivity.alertForEnablingGPS(MainActivity.java:392) at com.telnet.asp.presentation.view.activities.MainActivity.viewAccount(MainActivity.java:143) at com.telnet.asp.presentation.presenter.AccountPresenter.showAccountInView(AccountPresenter.java:44) at com.telnet.asp.presentation.presenter.AccountPresenter.access$000(AccountPresenter.java:15) at com.telnet.asp.presentation.presenter.AccountPresenter$AccountSubscriber.onCompleted(AccountPresenter.java:66) at rx.observers.SafeSubscriber.onCompleted(SafeSubscriber.java:84) at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber.checkTerminated(OperatorObserveOn.java:284) at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber.call(OperatorObserveOn.java:219) at rx.android.schedulers.LooperScheduler$ScheduledAction.run(LooperScheduler.java:107) at android.os.Handler.handleCallback(Handler.java) at android.os.Handler.dispatchMessage(Handler.java) at android.os.Looper.loop(Looper.java) at android.app.ActivityThread.main(ActivityThread.java) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:525) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java) at dalvik.system.NativeStart.main(Native Method)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

ruberube
Once,
Hiren AmaliyarHiren Amaliyar
Once,
filipebatistafilipebatista
3 times, last one
SacchiSacchi
2 times, last one
Indri YunitaIndri Yunita
8 times, last one
89 more bugmates