You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/07/23 10:03:03 UTC
[GitHub] [cordova-plugin-inappbrowser] lethe2211 commented on issue #470:
InAppBrowser: java.lang.IllegalArgumentException
lethe2211 commented on issue #470: InAppBrowser: java.lang.IllegalArgumentException
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/470#issuecomment-514143563
Hi, let me share our case...
I'm using inappbrowser 3.0.0 with Cordova 7.1.0 / cordova-android 6.4.0.
Here are the results on our Firebase Console.
> Fatal Exception: java.lang.IllegalArgumentException: View=DecorView@9fcd2f6[MainActivity] not attached to window manager
at android.view.WindowManagerGlobal.findViewLocked + 485(WindowManagerGlobal.java:485)
at android.view.WindowManagerGlobal.removeView + 394(WindowManagerGlobal.java:394)
at android.view.WindowManagerImpl.removeViewImmediate + 126(WindowManagerImpl.java:126)
at android.app.Dialog.dismissDialog + 375(Dialog.java:375)
at android.app.Dialog.dismiss + 358(Dialog.java:358)
at org.apache.cordova.inappbrowser.InAppBrowser$5$1.onPageFinished + 462(InAppBrowser.java:462)
at uU.d + 307(PG:307)
at aIV.handleMessage + 73(PG:73)
at android.os.Handler.dispatchMessage + 106(Handler.java:106)
at android.os.Looper.loop + 338(Looper.java:338)
at android.app.ActivityThread.main + 6764(ActivityThread.java:6764)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run + 493(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main + 858(ZygoteInit.java:858)
Almost all are from Android 9.
![image](https://user-images.githubusercontent.com/1718146/61702913-88402a80-ad7b-11e9-8a18-a9b07817e20e.png)
And several devices caused this issue.
![image](https://user-images.githubusercontent.com/1718146/61702970-a0b04500-ad7b-11e9-9245-0248a642a114.png)
![image](https://user-images.githubusercontent.com/1718146/61702988-a86fe980-ad7b-11e9-90af-d638c6ede645.png)
![image](https://user-images.githubusercontent.com/1718146/61703013-af96f780-ad7b-11e9-8b6f-73cff770d6e7.png)
Also, it happens after the app becomes foreground.
![image](https://user-images.githubusercontent.com/1718146/61703170-04d30900-ad7c-11e9-945f-a9aa958b1225.png)
Hope it helps.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org