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/11/20 08:42:19 UTC
[GitHub] [cordova-plugin-inappbrowser] JeetuChoudhary commented on issue
#470: InAppBrowser: java.lang.IllegalArgumentException
JeetuChoudhary commented on issue #470: InAppBrowser: java.lang.IllegalArgumentException
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/470#issuecomment-555900328
We are also facing the same issue. And It is occurring around 90% in Samsung Devices on Android 9.
Our Project Info is Following:
**Ionic Framework Version: 3.20.0
Cordova version: 9.0.0 (cordova-lib@9.0.1)
cordova-android: 8.0.0
InAppBrowser: ^3.0.0**
Crash Showing in Firebase Crashlytics is the following:
```
Fatal Exception: java.lang.IllegalArgumentException: View=DecorView@ad05060[MainActivity] 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:518)
at android.app.Dialog.dismiss(Dialog.java:501)
at org.apache.cordova.inappbrowser.InAppBrowser$6$1.onPageFinished(InAppBrowser.java:537)
at pn.b(PG:2)
at cC0.handleMessage(PG:64)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7050)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:964)
```
![image](https://user-images.githubusercontent.com/22294704/69222173-ec92bf80-0b9e-11ea-837c-ebbd8dc23c71.png)
You Might get Successful to reproduce it by doing the following:
**This is a crash caused by your app dismissing a dialog attached to an Activity that is finishing or finished. This can happen in a number of ways -- for example, if an AsyncTask is running while a ProgressDialog is showing, and the user rotates the device, causing the Activity to be recreated.**
----------------------------------------------------------------
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