New issue
Advanced search Search tips

Issue 608403 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 608397
Owner: ----
Closed: May 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug



Sign in to add a comment

[Google Now] Google now crashed on tapping previously search suggestions/ Key input

Project Member Reported by sbash...@chromium.org, May 2 2016

Issue description

Device name: ASUS ZenPhone
Android version:LRX21V
WebView version (from system settings -> Apps -> Android System WebView):
Application: 52.0.2722.0
App/ Version : Google Now / 5.12.34.21.x86

URLs (if applicable):
PRE CONDITION :
1. Install Google now  from Playstore.
2.Launch Google Now on the device.
3.Tap any search suggestions/ Key input 

ACTUAL RESULT :
1.App crashed 

ADDITIONAL INFORMATION :
1.Logcat & Video Attached.
 
50049, 9997, 3003, 1028, 3002, 1015, 1005, 3001} abi=x86
E/AndroidRuntime( 1010): FATAL EXCEPTION: main
E/AndroidRuntime( 1010): Process: com.google.android.googlequicksearchbox:search, PID: 1010
E/AndroidRuntime( 1010): android.view.InflateException: Binary XML file line #11: Error inflating class com.google.android.apps.gsa.shared.ui.ScrollableWebView
E/AndroidRuntime( 1010): 	at android.view.LayoutInflater.createView(LayoutInflater.java:633)
E/AndroidRuntime( 1010): 	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:743)
E/AndroidRuntime( 1010): 	at android.view.LayoutInflater.inflate(LayoutInflater.java:482)
E/AndroidRuntime( 1010): 	at android.view.LayoutInflater.inflate(LayoutInflater.java:414)
E/AndroidRuntime( 1010): 	at com.google.android.apps.gsa.extradex.webview.ac.Hk(WebViewFactory.java:152)
E/AndroidRuntime( 1010): 	at com.google.android.apps.gsa.extradex.webview.bk.Hr(WebViewWorkerImpl.java:18614)
E/AndroidRuntime( 1010): 	at com.google.android.apps.gsa.extradex.webview.bk.onStateChanged(WebViewWorkerImpl.java:12555)
E/AndroidRuntime( 1010): 	at com.google.android.apps.gsa.search.core.service.r.onStateChanged(SearchController.java:150)
E/AndroidRuntime( 1010): 	at com.google.android.apps.gsa.search.core.state.fp.M(VelvetEventBus.java:11509)
E/AndroidRuntime( 1010): 	at com.google.android.apps.gsa.search.core.state.fs.notifyChanged(VelvetState.java:150)
E/AndroidRuntime( 1010): 	at com.google.android.apps.gsa.search.core.state.ce.C(QueryState.java:1382)
E/AndroidRuntime( 1010): 	at com.google.android.apps.gsa.search.core.service.g$8.execute(AttachedClient.java:370)
E/AndroidRuntime( 1010): 	at com.google.android.apps.gsa.search.core.service.au.run(SearchService.java:812)
E/AndroidRuntime( 1010): 	at android.os.Handler.handleCallback(Handler.java:739)
E/AndroidRuntime( 1010): 	at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime( 1010): 	at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 1010): 	at android.app.ActivityThread.main(ActivityThread.java:5253)
E/AndroidRuntime( 1010): 	at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 1010): 	at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 1010): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
E/AndroidRuntime( 1010): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
E/AndroidRuntime( 1010): Caused by: java.lang.reflect.InvocationTargetException
E/AndroidRuntime( 1010): 	at java.lang.reflect.Constructor.newInstance(Native Method)
E/AndroidRuntime( 1010): 	at java.lang.reflect.Constructor.newInstance(Constructor.java:288)
E/AndroidRuntime( 1010): 	at android.view.LayoutInflater.createView(LayoutInflater.java:607)
E/AndroidRuntime( 1010): 	... 20 more
E/AndroidRuntime( 1010): Caused by: java.lang.IllegalArgumentException: Context is not and does not wrap an Activity
E/AndroidRuntime( 1010): 	at org.chromium.ui.base.ActivityWindowAndroid.<init>(ActivityWindowAndroid.java:70)
E/AndroidRuntime( 1010): 	at org.chromium.android_webview.AwContents.getWindowAndroid(AwContents.java:982)
E/AndroidRuntime( 1010): 	at org.chromium.android_webview.AwContents.setNewAwContents(AwContents.java:1020)
E/AndroidRuntime( 1010): 	at org.chromium.android_webview.AwContents.<init>(AwContents.java:794)
E/AndroidRuntime( 1010): 	at org.chromium.android_webview.AwContents.<init>(AwContents.java:715)
E/AndroidRuntime( 1010): 	at com.android.webview.chromium.WebViewChromium.initForReal(WebViewChromium.java:271)
E/AndroidRuntime( 1010): 	at com.android.webview.chromium.WebViewChromium.access$100(WebViewChromium.java:82)
E/AndroidRuntime( 1010): 	at com.android.webview.chromium.WebViewChromium$1.run(WebViewChromium.java:255)
E/AndroidRuntime( 1010): 	at com.android.webview.chromium.WebViewChromium$WebViewChromiumRunQueue.drainQueue(WebViewChromium.java:108)
E/AndroidRuntime( 1010): 	at com.android.webview.chromium.WebViewChromium$WebViewChromiumRunQueue$1.run(WebViewChromium.java:95)
E/AndroidRuntime( 1010): 	at org.chromium.base.ThreadUtils.runOnUiThread(ThreadUtils.java:148)
E/AndroidRuntime( 1010): 	at com.android.webview.chromium.WebViewChromium$WebViewChromiumRunQueue.addTask(WebViewChromium.java:92)
E/AndroidRuntime( 1010): 	at com.android.webview.chromium.WebViewChromium.init(WebViewChromium.java:252)
E/AndroidRuntime( 1010): 	at android.webkit.WebView.<init>(WebView.java:548)
E/AndroidRuntime( 1010): 	at android.webkit.WebView.<init>(WebView.java:483)
E/AndroidRuntime( 1010): 	at android.webkit.WebView.<init>(WebView.java:466)
E/AndroidRuntime( 1010): 	at com.google.android.apps.gsa.shared.ui.bf.<init>(TextScalingWebview.java:28)
E/AndroidRuntime( 1010): 	at com.google.android.apps.gsa.shared.ui.ScrollableWebView.<init>(ScrollableWebView.java:89)
E/AndroidRuntime( 1010): 	at com.google.android.apps.gsa.shared.ui.ScrollableWebView.<init>(ScrollableWebView.java:85)

Comment 3 by boliu@chromium.org, May 2 2016

Mergedinto: 608397
Status: Duplicate (was: Available)

Sign in to add a comment