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

Stack Overflow | Atenica | 6 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

    Why alert gets this error?

    Stack Overflow | 6 months ago | Atenica
    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
  2. 0

    Do I need alert dialog for accessing location when I have location permissions in Manifest and why I am getting this error for alert dialog?

    Stack Overflow | 6 months ago | Atenica
    android.view.WindowLeaked: Activity com.telnet.asp.presentation.view.activities.MainActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{42b29910 V.E..... R.....ID 0,0-720,351} 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 | 2 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.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>()
  2. Android Platform
    Dialog.show
    1. android.view.ViewRootImpl.<init>(ViewRootImpl.java)
    2. android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java)
    3. android.view.WindowManagerImpl.addView(WindowManagerImpl.java)
    4. android.app.Dialog.show(Dialog.java)
    4 frames
  3. com.telnet.asp
    AccountPresenter$AccountSubscriber.onCompleted
    1. com.telnet.asp.presentation.view.activities.MainActivity.alertForEnablingGPS(MainActivity.java:392)
    2. com.telnet.asp.presentation.view.activities.MainActivity.viewAccount(MainActivity.java:143)
    3. com.telnet.asp.presentation.presenter.AccountPresenter.showAccountInView(AccountPresenter.java:44)
    4. com.telnet.asp.presentation.presenter.AccountPresenter.access$000(AccountPresenter.java:15)
    5. com.telnet.asp.presentation.presenter.AccountPresenter$AccountSubscriber.onCompleted(AccountPresenter.java:66)
    5 frames
  4. rxjava
    OperatorObserveOn$ObserveOnSubscriber.call
    1. rx.observers.SafeSubscriber.onCompleted(SafeSubscriber.java:84)
    2. rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber.checkTerminated(OperatorObserveOn.java:284)
    3. rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber.call(OperatorObserveOn.java:219)
    3 frames
  5. rxandroid
    LooperScheduler$ScheduledAction.run
    1. rx.android.schedulers.LooperScheduler$ScheduledAction.run(LooperScheduler.java:107)
    1 frame
  6. Android Platform
    ActivityThread.main
    1. android.os.Handler.handleCallback(Handler.java)
    2. android.os.Handler.dispatchMessage(Handler.java)
    3. android.os.Looper.loop(Looper.java)
    4. android.app.ActivityThread.main(ActivityThread.java)
    4 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:525)
    2 frames
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
    2 frames
  9. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame