Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some times ChromeCustomTabsActivity crash in onCreate #322

Closed
pinball83 opened this issue Apr 13, 2020 · 1 comment
Closed

Some times ChromeCustomTabsActivity crash in onCreate #322

pinball83 opened this issue Apr 13, 2020 · 1 comment

Comments

@pinball83
Copy link

Environment

Flutter version: 1.12.13+hotfix.9
Plugin version: 2.1.0+1
Android version: mainly Android 8, 9, 10

Device information: HUAWEI

Description

Launch ChromeSafariBrowser did not crash application

Launch ChromeSafariBrowser did crash application irregularly

Steps to reproduce

Its difficult to reproduce, because of flaky nature of bug. Some times I can reproduce installing HUAWEI browser and make it system default. Open link and return back to application and again open link and some times crashed

Stacktrace/Logcat

Caused by java.lang.NullPointerException: Attempt to read from field 'java.util.Map com.pichillilorenzo.flutter_inappwebview.f.e' on a null object reference
       at com.pichillilorenzo.flutter_inappwebview.ChromeCustomTabs.ChromeCustomTabsActivity.onCreate(:50)
       at android.app.Activity.performCreate(Activity.java:7383)
       at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1218)
       at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3256)
       at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3411)
       at android.app.ActivityThread.-wrap12()
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1994)
       at android.os.Handler.dispatchMessage(Handler.java:108)
       at android.os.Looper.loop(Looper.java:166)
       at android.app.ActivityThread.main(ActivityThread.java:7529)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
@pichillilorenzo
Copy link
Owner

Try the latest version 3.2.0 and let me know! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants