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

Crash in BraveAutofillBackgroundServiceImpl #37995

Closed
SergeyZhukovsky opened this issue May 1, 2024 · 0 comments · Fixed by brave/brave-core#23384
Closed

Crash in BraveAutofillBackgroundServiceImpl #37995

SergeyZhukovsky opened this issue May 1, 2024 · 0 comments · Fixed by brave/brave-core#23384
Assignees
Labels
crash OS/Android Fixes related to Android browser functionality priority/P2 A bad problem. We might uplift this to the next planned release. QA/No release-notes/include

Comments

@SergeyZhukovsky
Copy link
Member

I found that crash in GPC on beta 1.66.90, I think it exist on stable channel as well, we need to fix and uplift it:

Exception java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.toLowerCase(java.util.Locale)' on a null object reference
  at org.chromium.chrome.browser.autofill.BraveAutofillBackgroundServiceImpl.getHint (BraveAutofillBackgroundServiceImpl.java:352)
  at org.chromium.chrome.browser.autofill.BraveAutofillBackgroundServiceImpl.addAutofillableFields (BraveAutofillBackgroundServiceImpl.java:332)
  at org.chromium.chrome.browser.autofill.BraveAutofillBackgroundServiceImpl.addAutofillableFields (BraveAutofillBackgroundServiceImpl.java:342)
  at org.chromium.chrome.browser.autofill.BraveAutofillBackgroundServiceImpl.addAutofillableFields (BraveAutofillBackgroundServiceImpl.java:342)
  at org.chromium.chrome.browser.autofill.BraveAutofillBackgroundServiceImpl.startsAutoFill (BraveAutofillBackgroundServiceImpl.java:122)
  at org.chromium.chrome.browser.autofill.BraveAutofillBackgroundServiceImpl$1.finishNativeInitialization (BraveAutofillBackgroundServiceImpl.java:86)
  at org.chromium.chrome.browser.init.BrowserParts.startNativeInitialization (BrowserParts.java:66)
  at org.chromium.chrome.browser.init.ChromeBrowserInitializer.lambda$handlePostNativeStartup$6 (ChromeBrowserInitializer.java:293)
  at org.chromium.base.task.ChainedTasks.lambda$start$0 (ChainedTasks.java:98)
  at org.chromium.base.task.PostTask.runOrPostTask (PostTask.java:114)
  at org.chromium.base.task.ChainedTasks.start (ChainedTasks.java:93)
  at org.chromium.chrome.browser.init.ChromeBrowserInitializer.handlePostNativeStartup (ChromeBrowserInitializer.java:332)
  at org.chromium.chrome.browser.autofill.BraveAutofillBackgroundServiceImpl.launchBrowser (BraveAutofillBackgroundServiceImpl.java:97)
  at org.chromium.chrome.browser.ChromeBackgroundServiceImpl.handleServicificationStartupTask (ChromeBackgroundServiceImpl.java:61)
  at org.chromium.chrome.browser.ChromeBackgroundServiceImpl.lambda$onRunTask$0 (ChromeBackgroundServiceImpl.java:48)
  at org.chromium.base.task.PostTask.runOrPostTask (PostTask.java:114)
  at org.chromium.chrome.browser.ChromeBackgroundServiceImpl.onRunTask (ChromeBackgroundServiceImpl.java:34)
  at org.chromium.chrome.browser.autofill.BraveAutofillService.onFillRequest (BraveAutofillService.java:30)
  at android.service.autofill.AutofillService$1$$ExternalSyntheticLambda4.accept
  at com.android.internal.util.function.pooled.PooledLambdaImpl.doInvoke (PooledLambdaImpl.java:310)
  at com.android.internal.util.function.pooled.PooledLambdaImpl.invoke (PooledLambdaImpl.java:204)
  at com.android.internal.util.function.pooled.OmniFunction.run (OmniFunction.java:97)
  at android.os.Handler.handleCallback (Handler.java:942)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loopOnce (Looper.java:204)
  at android.os.Looper.loop (Looper.java:291)
  at android.app.ActivityThread.main (ActivityThread.java:8155)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:601)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1136)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash OS/Android Fixes related to Android browser functionality priority/P2 A bad problem. We might uplift this to the next planned release. QA/No release-notes/include
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants