New issue
Advanced search Search tips

Issue 775025 link

Starred by 1 user

Issue metadata

Status: Archived
Owner: ----
Closed: Nov 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug-Regression



Sign in to add a comment

WebView crashes on Android 8.0

Reported by sztem...@gmail.com, Oct 16 2017

Issue description

Steps to reproduce the problem:
1. Select dropdown from webview
2. App crashes

What is the expected behavior?

What went wrong?
Hello, when I try to open dropdown to select option on Android WebView, app is crashing. It happens only on Android 8.0, with the newest WebView.

Stacktrace:

0-16 12:32:54.726 14971-14971/com.app.app E/AndroidRuntime: FATAL EXCEPTION: main
                                                                        Process: com.app.app , PID: 14971
                                                                        android.content.res.Resources$NotFoundException: Resource ID #0x0
                                                                            at android.content.res.ResourcesImpl.getValue(ResourcesImpl.java:195)
                                                                            at android.content.res.Resources.loadXmlResourceParser(Resources.java:2133)
                                                                            at android.content.res.Resources.getLayout(Resources.java:1142)
                                                                            at android.view.LayoutInflater.inflate(LayoutInflater.java:421)
                                                                            at android.widget.ArrayAdapter.createViewFromResource(ArrayAdapter.java:416)
                                                                            at android.widget.ArrayAdapter.getView(ArrayAdapter.java:407)
                                                                            at org.chromium.content.browser.input.SelectPopupAdapter.getView(SelectPopupAdapter.java:13)
                                                                            at android.widget.AbsListView.obtainView(AbsListView.java:2372)
                                                                            at android.widget.ListView.measureHeightOfChildren(ListView.java:1408)
                                                                            at android.widget.ListView.onMeasure(ListView.java:1315)
                                                                            at android.view.View.measure(View.java:21998)
                                                                            at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6580)
                                                                            at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
                                                                            at android.view.View.measure(View.java:21998)
                                                                            at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6580)
                                                                            at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
                                                                            at android.view.View.measure(View.java:21998)
                                                                            at com.android.internal.widget.AlertDialogLayout.tryOnMeasure(AlertDialogLayout.java:144)
                                                                            at com.android.internal.widget.AlertDialogLayout.onMeasure(AlertDialogLayout.java:69)
                                                                            at android.view.View.measure(View.java:21998)
                                                                            at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6580)
                                                                            at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
                                                                            at android.view.View.measure(View.java:21998)
                                                                            at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6580)
                                                                            at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1514)
                                                                            at android.widget.LinearLayout.measureVertical(LinearLayout.java:806)
                                                                            at android.widget.LinearLayout.onMeasure(LinearLayout.java:685)
                                                                            at android.view.View.measure(View.java:21998)
                                                                            at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6580)
                                                                            at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
                                                                            at com.android.internal.policy.DecorView.onMeasure(DecorView.java:721)
                                                                            at android.view.View.measure(View.java:21998)
                                                                            at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2410)
                                                                            at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1471)
                                                                            at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1751)
                                                                            at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1386)
                                                                            at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6733)
                                                                            at android.view.Choreographer$CallbackRecord.run(Choreographer.java:911)
                                                                            at android.view.Choreographer.doCallbacks(Choreographer.java:723)
                                                                            at android.view.Choreographer.doFrame(Choreographer.java:658)
                                                                            at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:897)
                                                                            at android.os.Handler.handleCallback(Handler.java:789)
                                                                            at android.os.Handler.dispatchMessage(Handler.java:98)
                                                                            at android.os.Looper.loop(Looper.java:164)
                                                                            at android.app.ActivityThread.main(ActivityThread.java:6541)
                                                                            at java.lang.reflect.Method.invoke(Native Method)
                                                                            at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
                                                                            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)

Crashed report ID: 

How much crashed? Just one tab

Is it a problem with a plugin? N/A 

Did this work before? Yes Android 7.0

Chrome version:   Channel: stable
OS Version: 8.0
Flash Version:
 
Labels: Needs-triage-Mobile
Components: Mobile>WebView

Comment 3 by ctzsm@chromium.org, Oct 17 2017

Labels: Needs-Feedback
sztembus@, thank you for providing this crash report. Could you please be more specific about the app you are using, which web page you are loading while using WebView inside that app. Also, what are the exact steps to reproduce this bug? Thanks!
Project Member

Comment 4 by sheriffbot@chromium.org, Nov 16 2017

Status: Archived (was: Unconfirmed)
No feedback was received in the last 30 days from reporter "sztembus@gmail.com", so archiving this. Please re-open or file a new bug if this is still an issue.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Are there any news about this problem? having the same issue and also found a Stackoverflow question with the same problem. 

https://stackoverflow.com/questions/46208138/why-does-android-os-8-webvew-with-html-select-tag-crash-the-app

Comment 6 by torne@chromium.org, Jan 12 2018

File a new bug with the information requested in comment 3 here. We can't do anything about this without more info.

Sign in to add a comment