New issue
Advanced search Search tips

Issue 673594 link

Starred by 1 user

Issue metadata

Status: Duplicate
Owner: ----
Closed: Dec 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug
Proj-VR
Proj-XR
Proj-XR-VR



Sign in to add a comment

VR shell: Crash when refreshing page

Project Member Reported by ddorwin@chromium.org, Dec 13 2016

Issue description

Chrome Version: 57.0.2949.3
OS: Android

What steps will reproduce the problem?
(1) Load a page in VR shell. In this case it was https://bear71.jam3.net/ (a WebVR-capable site, though I was not presenting at the time).
(2) Click the refresh button.

What is the expected result?
The page refreshes.

What happens instead?
Browser crash.

Please use labels and text to provide additional information.

There are two similar crash reports from around that time:
* crash/c9a1bee300000000
* crash/88d4b8d880000000

The stack from the first is below.

Thread 67java.lang.RuntimeException: Unable to pause activity {com.chrome.canary/org.chromium.chrome.browser.ChromeTabbedActivity}: java.lang.ClassCastException: android.widget.FrameLayout$LayoutParams cannot be cast to android.support.design.widget.CoordinatorLayout$LayoutParams
at android.app.ActivityThread.performPauseActivityIfNeeded	(ActivityThread.java:3751 )
at android.app.ActivityThread.performPauseActivity	(ActivityThread.java:3717 )
at android.app.ActivityThread.performPauseActivity	(ActivityThread.java:3691 )
at android.app.ActivityThread.handlePauseActivity	(ActivityThread.java:3665 )
at android.app.ActivityThread.-wrap16	(ActivityThread.java )
at android.app.ActivityThread$H.handleMessage	(ActivityThread.java:1489 )
at android.os.Handler.dispatchMessage	(Handler.java:102 )
at android.os.Looper.loop	(Looper.java:154 )
at android.app.ActivityThread.main	(ActivityThread.java:6119 )
at java.lang.reflect.Method.invoke	(Native Method )
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run	(ZygoteInit.java:886 )
at com.android.internal.os.ZygoteInit.main	(ZygoteInit.java:776 )
Caused by: java.lang.ClassCastException: android.widget.FrameLayout$LayoutParams cannot be cast to android.support.design.widget.CoordinatorLayout$LayoutParams
at android.support.design.widget.CoordinatorLayout.onChildViewsChanged	(CoordinatorLayout.java:1276 )
at android.support.design.widget.CoordinatorLayout$HierarchyChangeListener.onChildViewRemoved	(CoordinatorLayout.java:2868 )
at android.view.ViewGroup.dispatchViewRemoved	(ViewGroup.java:4328 )
at android.view.ViewGroup.removeViewInternal	(ViewGroup.java:4733 )
at android.view.ViewGroup.removeViewInternal	(ViewGroup.java:4689 )
at android.view.ViewGroup.removeViewInLayout	(ViewGroup.java:4637 )
at android.view.ViewStub.inflate	(ViewStub.java:267 )
at org.chromium.chrome.browser.omnibox.LocationBarLayout.initOmniboxResultsContainer	(LocationBarLayout.java:2240 )
at org.chromium.chrome.browser.omnibox.LocationBarLayout.updateOmniboxResultsContainer	(LocationBarLayout.java:2247 )
at org.chromium.chrome.browser.omnibox.LocationBarLayout.setSuggestionsListVisibility	(LocationBarLayout.java:1692 )
at org.chromium.chrome.browser.omnibox.LocationBarLayout.hideSuggestions	(LocationBarLayout.java:1771 )
at org.chromium.chrome.browser.omnibox.LocationBarLayout.onTextChangedForAutocomplete	(LocationBarLayout.java:1125 )
at org.chromium.chrome.browser.omnibox.UrlBar.notifyAutocompleteTextStateChanged	(UrlBar.java:1141 )
at org.chromium.chrome.browser.omnibox.UrlBar.onTextChanged	(UrlBar.java:848 )
at android.widget.TextView.setText	(TextView.java:4484 )
at android.widget.TextView.setText	(TextView.java:4337 )
at android.widget.EditText.setText	(EditText.java:89 )
at org.chromium.chrome.browser.omnibox.UrlBar.setText	(UrlBar.java:865 )
at android.widget.TextView.setText	(TextView.java:4312 )
at org.chromium.chrome.browser.omnibox.UrlBar.setUseDarkTextColors	(UrlBar.java:247 )
at org.chromium.chrome.browser.omnibox.LocationBarLayout.updateVisualsForState	(LocationBarLayout.java:2400 )
at org.chromium.chrome.browser.omnibox.LocationBarPhone.updateVisualsForState	(LocationBarPhone.java:295 )
at org.chromium.chrome.browser.omnibox.LocationBarLayout.onUrlFocusChange	(LocationBarLayout.java:1020 )
at org.chromium.chrome.browser.omnibox.LocationBarPhone.onUrlFocusChange	(LocationBarPhone.java:167 )
at org.chromium.chrome.browser.omnibox.LocationBarLayout$7.onFocusChange	(LocationBarLayout.java:1209 )
at android.view.View.onFocusChanged	(View.java:6248 )
at android.widget.TextView.onFocusChanged	(TextView.java:8401 )
at org.chromium.chrome.browser.omnibox.UrlBar.onFocusChanged	(UrlBar.java:439 )
at android.view.View.handleFocusGainInternal	(View.java:5965 )
at android.view.View.requestFocusNoSearch	(View.java:9130 )
at android.view.View.requestFocus	(View.java:9109 )
at android.view.ViewGroup.onRequestFocusInDescendants	(ViewGroup.java:2875 )
at android.view.ViewGroup.requestFocus	(ViewGroup.java:2831 )
at android.view.ViewGroup.onRequestFocusInDescendants	(ViewGroup.java:2875 )
at android.view.ViewGroup.requestFocus	(ViewGroup.java:2831 )
at android.vi
 
This may be related to issue 673536.
Labels: VR-FF
Mergedinto: 673536
Status: Duplicate (was: Untriaged)
Merging as duplicate for now as these are almost certainly the same issue, with the same fix.

Sign in to add a comment