android.view.WindowLeaked: Activity org.appcelerator.titanium.TiActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@40fbb588 that was originally added here

Appcelerator JIRA | Eric Merriman | 5 years ago
  1. 0

    Description: During a KS pass on v8 on the LG slate and Xoom, pressing "back" on the Phone>Play Movie>Local test outputs the following in the console: E/WindowManager( 812): Activity org.appcelerator.titanium.TiActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@40fbb588 that was originally added here E/WindowManager( 812): android.view.WindowLeaked: Activity org.appcelerator.titanium.TiActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@40fbb588 that was originally added here E/WindowManager( 812): at android.view.ViewRoot.<init>(ViewRoot.java:288) E/WindowManager( 812): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:249) E/WindowManager( 812): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:193) E/WindowManager( 812): at android.view.WindowManagerImpl$CompatModeWrapper.addView(WindowManagerImpl.java:118) E/WindowManager( 812): at android.view.Window$LocalWindowManager.addView(Window.java:532) E/WindowManager( 812): at android.app.Dialog.show(Dialog.java:269) E/WindowManager( 812): at ti.modules.titanium.ui.widget.TiUIDialog.show(TiUIDialog.java:248) E/WindowManager( 812): at ti.modules.titanium.ui.AlertDialogProxy$1.run(AlertDialogProxy.java:72) E/WindowManager( 812): at android.os.Handler.handleCallback(Handler.java:587) E/WindowManager( 812): at android.os.Handler.dispatchMessage(Handler.java:92) E/WindowManager( 812): at android.os.Looper.loop(Looper.java:132) E/WindowManager( 812): at android.app.ActivityThread.main(ActivityThread.java:4123) E/WindowManager( 812): at java.lang.reflect.Method.invokeNative(Native Method) E/WindowManager( 812): at java.lang.reflect.Method.invoke(Method.java:491) E/WindowManager( 812): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841) E/WindowManager( 812): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599) E/WindowManager( 812): at dalvik.system.NativeStart.main(Native Method) D/dalvikvm( 222): GC_EXPLICIT freed 7K, 5% free 20303K/21191K, paused 7ms+2ms Steps to reproduce: 1) Install KS with SDK 1.8.0.1 2) Navigate to Phone>Play Movie>Local 3) Press the back button while examining the console Result: Console logs error Expected: No error in console Note: Does not occur on 175 SDK with KS 175

    Appcelerator JIRA | 5 years ago | Eric Merriman
    android.view.WindowLeaked: Activity org.appcelerator.titanium.TiActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@40fbb588 that was originally added here
  2. 0

    Description: During a KS pass on v8 on the LG slate and Xoom, pressing "back" on the Phone>Play Movie>Local test outputs the following in the console: E/WindowManager( 812): Activity org.appcelerator.titanium.TiActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@40fbb588 that was originally added here E/WindowManager( 812): android.view.WindowLeaked: Activity org.appcelerator.titanium.TiActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@40fbb588 that was originally added here E/WindowManager( 812): at android.view.ViewRoot.<init>(ViewRoot.java:288) E/WindowManager( 812): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:249) E/WindowManager( 812): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:193) E/WindowManager( 812): at android.view.WindowManagerImpl$CompatModeWrapper.addView(WindowManagerImpl.java:118) E/WindowManager( 812): at android.view.Window$LocalWindowManager.addView(Window.java:532) E/WindowManager( 812): at android.app.Dialog.show(Dialog.java:269) E/WindowManager( 812): at ti.modules.titanium.ui.widget.TiUIDialog.show(TiUIDialog.java:248) E/WindowManager( 812): at ti.modules.titanium.ui.AlertDialogProxy$1.run(AlertDialogProxy.java:72) E/WindowManager( 812): at android.os.Handler.handleCallback(Handler.java:587) E/WindowManager( 812): at android.os.Handler.dispatchMessage(Handler.java:92) E/WindowManager( 812): at android.os.Looper.loop(Looper.java:132) E/WindowManager( 812): at android.app.ActivityThread.main(ActivityThread.java:4123) E/WindowManager( 812): at java.lang.reflect.Method.invokeNative(Native Method) E/WindowManager( 812): at java.lang.reflect.Method.invoke(Method.java:491) E/WindowManager( 812): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841) E/WindowManager( 812): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599) E/WindowManager( 812): at dalvik.system.NativeStart.main(Native Method) D/dalvikvm( 222): GC_EXPLICIT freed 7K, 5% free 20303K/21191K, paused 7ms+2ms Steps to reproduce: 1) Install KS with SDK 1.8.0.1 2) Navigate to Phone>Play Movie>Local 3) Press the back button while examining the console Result: Console logs error Expected: No error in console Note: Does not occur on 175 SDK with KS 175

    Appcelerator JIRA | 5 years ago | Eric Merriman
    android.view.WindowLeaked: Activity org.appcelerator.titanium.TiActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@40fbb588 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.&lt;init&gt;(ViewRootImpl.java:345)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
  6. 0

    Can't be used in landscape format

    GitHub | 2 years ago | zafyraminx
    android.view.WindowLeaked: Activity com.choiboi.imagecroppingexample.CropActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@40532fc8 that was originally added here

  1. malhobayyeb 4 times, last 1 week ago
  2. dealloc 4 times, last 2 weeks ago
  3. bmacedo 3 times, last 2 weeks ago
  4. bluebunnty 12 times, last 1 week ago
  5. franky li 4 times, last 1 month ago
41 more registered users
18 unregistered visitors
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 org.appcelerator.titanium.TiActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@40fbb588 that was originally added here

    at android.view.ViewRoot.<init>()
  2. Android Platform
    Dialog.show
    1. android.view.ViewRoot.<init>(ViewRoot.java:288)
    2. android.view.WindowManagerImpl.addView(WindowManagerImpl.java:249)
    3. android.view.WindowManagerImpl.addView(WindowManagerImpl.java:193)
    4. android.view.WindowManagerImpl$CompatModeWrapper.addView(WindowManagerImpl.java:118)
    5. android.view.Window$LocalWindowManager.addView(Window.java:532)
    6. android.app.Dialog.show(Dialog.java:269)
    6 frames
  3. ti.modules.titanium
    AlertDialogProxy$1.run
    1. ti.modules.titanium.ui.widget.TiUIDialog.show(TiUIDialog.java:248)
    2. ti.modules.titanium.ui.AlertDialogProxy$1.run(AlertDialogProxy.java:72)
    2 frames
  4. Android Platform
    ActivityThread.main
    1. android.os.Handler.handleCallback(Handler.java:587)
    2. android.os.Handler.dispatchMessage(Handler.java:92)
    3. android.os.Looper.loop(Looper.java:132)
    4. android.app.ActivityThread.main(ActivityThread.java:4123)
    4 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:491)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
    2 frames
  7. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame