android.view.WindowLeaked: Activity org.appcelerator.titanium.TiActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@409094d0 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 github.com by Unknown author

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

Solutions on the web

via Appcelerator JIRA by Eric Merriman , 1 year ago
Activity org.appcelerator.titanium.TiActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@409094d0 that was originally added here
via Appcelerator JIRA by Eric Merriman , 1 year ago
Activity org.appcelerator.titanium.TiActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@409094d0 that was originally added here
via Google Groups by Kevin Steen, 6 months ago
Activity org.servalproject.wizard.Wizard has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@40537cb0 that was originally added here
via GitHub by rrev
, 1 year ago
Activity com.revonline.pastebin.ShareCodeActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@b66e49f0 that was originally added here
via Google Groups by Ted, 3 months ago
Activity com.rerware.android.MyBackupPro.MyBackup has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@47b48ab8 that was originally added here
via Stack Overflow by Ghassen Khalil Ati
, 1 year ago
Activity pre.commande.MainActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@b6c6afc0 that was originally added here
android.view.WindowLeaked: Activity org.appcelerator.titanium.TiActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@409094d0 that was originally added here
at android.view.ViewRoot.(ViewRoot.java:258)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:148)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91)
at android.view.Window$LocalWindowManager.addView(Window.java:424)
at android.app.Dialog.show(Dialog.java:241)
at org.appcelerator.kroll.common.TiJSErrorDialog.createDialog(TiJSErrorDialog.java:204)
at org.appcelerator.kroll.common.TiJSErrorDialog$1.onCurrentActivityReady(TiJSErrorDialog.java:104)
at org.appcelerator.titanium.util.TiUIHelper.waitForCurrentActivity(TiUIHelper.java:154)
at org.appcelerator.titanium.TiApplication.waitForCurrentActivity(TiApplication.java:702)
at org.appcelerator.kroll.common.TiJSErrorDialog.handleOpenErrorDialog(TiJSErrorDialog.java:99)
at org.appcelerator.kroll.common.TiJSErrorDialog.handleMessage(TiJSErrorDialog.java:226)
at org.appcelerator.kroll.common.TiMessenger.dispatchMessage(TiMessenger.java:318)
at org.appcelerator.kroll.common.TiMessenger.dispatchPendingMessages(TiMessenger.java:303)
at org.appcelerator.kroll.common.TiMessenger$2.getResult(TiMessenger.java:188)
at org.appcelerator.kroll.common.TiMessenger.sendBlockingMessage(TiMessenger.java:215)
at org.appcelerator.kroll.common.TiMessenger.sendBlockingRuntimeMessage(TiMessenger.java:143)
at org.appcelerator.kroll.KrollProxy.fireSyncEvent(KrollProxy.java:417)
at org.appcelerator.titanium.TiBaseActivity.finish(TiBaseActivity.java:831)
at android.app.Activity.onBackPressed(Activity.java:1920)
at android.app.Activity.onKeyUp(Activity.java:1898)
at android.view.KeyEvent.dispatch(KeyEvent.java:1280)
at org.appcelerator.titanium.TiBaseActivity.dispatchKeyEvent(TiBaseActivity.java:513)
at android.view.ViewRoot.deliverKeyEventToViewHierarchy(ViewRoot.java:2560)
at android.view.ViewRoot.handleFinishedEvent(ViewRoot.java:2535)
at android.view.ViewRoot.handleMessage(ViewRoot.java:1867)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3683)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)

Users with the same issue

Once, 6 months ago

Write tip

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