View not attached to window manager crash - Android

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

Android App is getting crashed on dismissing idle timeout dialog occasionally.

Any idea how to fix?

Visualizer plugin version: 7.2.1

Fatal Exception: java.lang.IllegalArgumentException: View=DecorView@4bacf18[MOBILEPROD] not attached to window manager

at android.view.WindowManagerGlobal.findViewLocked(WindowManagerGlobal.java:533)

at android.view.WindowManagerGlobal.removeView(WindowManagerGlobal.java:433)

at android.view.WindowManagerImpl.removeViewImmediate(WindowManagerImpl.java:124)

at android.app.Dialog.dismissDialog(Dialog.java:517)

at android.app.Dialog.dismiss(Dialog.java:500)

at com.konylabs.api.ui.w.a(Unknown Source:6)

at com.konylabs.api.ui.fx.a(Unknown Source:27)

at com.konylabs.android.KonyMain.U(Unknown Source:66)

at com.konylabs.android.KonyMain.I(Unknown Source)

at com.konylabs.android.E.run(Unknown Source)

at android.os.Handler.handleCallback(Handler.java:873)

at android.os.Handler.dispatchMessage(Handler.java:99)

at android.os.Looper.loop(Looper.java:214)

at android.app.ActivityThread.main(ActivityThread.java:6981)

at java.lang.reflect.Method.invoke(Method.java)

at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1445)

Reference

https://stackoverflow.com/questions/22924825/view-not-attached-to-window-manager-crash

@Joe Axwvhvm​ Any help here for @Reese Dohewty​ ?

@Reese Dohewty​ Can you test with latest 7.2.1 plugins , this could have been fixed.

@Joe Axwvhvm​ Thank you!!!

The latest plugin for android 7.2.1 is com.kony.android_7.2.1.GA_v201810011252_r38

We are in com.pat.android;7.2.1.GA_v201804180732_r34

are you 100% sure that this issue is resolved in r38? pls advise.

@Reese Dohewty​ The crash logs doesn't seem to be from 7.2.1.GA_v201804180732_r34

Are they from r34 version ?

If yes please raise a support ticket with necessary artefacts to replicate.