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

Fix GPS crash on autocomplete #21558

Closed
samartnik opened this issue Mar 9, 2022 · 0 comments · Fixed by brave/brave-core#12541
Closed

Fix GPS crash on autocomplete #21558

samartnik opened this issue Mar 9, 2022 · 0 comments · Fixed by brave/brave-core#12541

Comments

@samartnik
Copy link
Contributor

Description

java.lang.IllegalStateException: 
  at org.chromium.chrome.browser.profiles.Profile.getLastUsedRegularProfile (Profile.java:54)
  at org.chromium.chrome.browser.omnibox.suggestions.BraveAutocompleteMediator.onTextChanged (BraveAutocompleteMediator.java:52)
  at org.chromium.chrome.browser.omnibox.suggestions.AutocompleteMediator.onUrlFocusChange (AutocompleteMediator.java:306)
  at org.chromium.chrome.browser.omnibox.suggestions.AutocompleteCoordinator.onUrlFocusChange (AutocompleteCoordinator.java:227)
  at org.chromium.chrome.browser.omnibox.LocationBarMediator.handleUrlFocusAnimation (LocationBarMediator.java:639)
  at org.chromium.chrome.browser.omnibox.LocationBarMediator.onUrlFocusChange (LocationBarMediator.java:283)
  at org.chromium.chrome.browser.omnibox.LocationBarCoordinator$$InternalSyntheticLambda$2$f7037810e8b5fdc0ab1338de441dd6bf73bb5ab7714b770d7a201e42653dde9f$0.onResult (LocationBarCoordinator.java)
  at org.chromium.base.CallbackController$CancelableCallback.onResult (CallbackController.java:104)
  at org.chromium.chrome.browser.omnibox.UrlBarCoordinator.onUrlFocusChangeInternal (UrlBarCoordinator.java:271)
  at org.chromium.chrome.browser.omnibox.UrlBarCoordinator$$InternalSyntheticLambda$3$913fc4ce7f98701f867a2ad48ab8ef078396c60a73fd7d85dfd8a393143afe5e$1.onResult (UrlBarCoordinator.java)
  at org.chromium.chrome.browser.omnibox.UrlBarMediator.onUrlFocusChange (UrlBarMediator.java:218)
  at org.chromium.chrome.browser.omnibox.UrlBarMediator$$InternalSyntheticLambda$4$c9693cfe2dd9d479be3affe326ca92b3c16a105028cf7c8ac7db04739f1ec27d$0.onResult (UrlBarMediator.java)
  at org.chromium.chrome.browser.omnibox.UrlBarViewBinder.lambda$bind$0 (UrlBarViewBinder.java:54)
  at org.chromium.chrome.browser.omnibox.UrlBarViewBinder$$InternalSyntheticLambda$4$d94fd4e798a89dbac0b1bae36043f9e9279e392b572bf5a463c4925679ba2ab1$0.onFocusChange (UrlBarViewBinder.java)
  at android.view.View.onFocusChanged (View.java:8828)
  at android.widget.TextView.onFocusChanged (TextView.java:12091)
  at android.widget.EditText.onFocusChanged (EditText.java:248)
  at org.chromium.chrome.browser.omnibox.AutocompleteEditText.onFocusChanged (AutocompleteEditText.java:136)
  at org.chromium.chrome.browser.omnibox.UrlBar.onFocusChanged (UrlBar.java:299)
  at org.chromium.chrome.browser.omnibox.UrlBar.onFocusChanged (UrlBar.java)
  at android.view.View.handleFocusGainInternal (View.java:8498)
  at android.view.View.requestFocusNoSearch (View.java:14103)
  at android.view.View.requestFocus (View.java:14077)
  at android.view.View.requestFocus (View.java:14044)
  at android.view.View.requestFocus (View.java:13986)
  at org.chromium.chrome.browser.searchwidget.SearchActivityLocationBarLayout.lambda$focusTextBox$0 (SearchActivityLocationBarLayout.java:211)
  at org.chromium.chrome.browser.searchwidget.SearchActivityLocationBarLayout$$InternalSyntheticLambda$0$a460e49e86dfde7dcdaa65062229eb012b6f6123fdc8140d847aac399bccd836$0.run (SearchActivityLocationBarLayout.java)
  at android.os.Handler.handleCallback (Handler.java:938)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loop (Looper.java:246)
  at android.app.ActivityThread.main (ActivityThread.java:8625)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:602)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1130)

Steps to reproduce

Actual result

Expected result

Issue reproduces how often

Version/Channel Information:

  • Can you reproduce this issue with the current Play Store version?
  • Can you reproduce this issue with the current Play Store Beta version?
  • Can you reproduce this issue with the current Play Store Nightly version?

Device details

  • Install type (ARM, x86):
  • Device type (Phone, Tablet, Phablet):
  • Android version:

Brave version

Website problems only

  • Does the issue resolve itself when disabling Brave Shields?
  • Does the issue resolve itself when disabling Brave Rewards?
  • Is the issue reproducible on the latest version of Chrome?

Additional information

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

Successfully merging a pull request may close this issue.

2 participants