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 related to NTP background #27754

Closed
SergeyZhukovsky opened this issue Jan 11, 2023 · 0 comments · Fixed by brave/brave-core#16619
Closed

Crash related to NTP background #27754

SergeyZhukovsky opened this issue Jan 11, 2023 · 0 comments · Fixed by brave/brave-core#16619
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/exclude

Comments

@SergeyZhukovsky
Copy link
Member

I found that crash in GPS on a stable channel 1.46.x. https://github.com/brave/brave-core/blob/1.46.x/android/java/org/chromium/chrome/browser/app/BraveActivity.java#L1130. root is null there

Crash stack:

Exception java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View android.view.ViewGroup.getChildAt(int)' on a null object reference
  at org.chromium.chrome.browser.app.BraveActivity.setBackground (BraveActivity.java:1130)
  at org.chromium.chrome.browser.ntp.BraveNewTabPageLayout$9.bgWallpaperRetrieved (BraveNewTabPageLayout.java:1193)
  at org.chromium.chrome.browser.ntp_background_images.util.FetchWallpaperWorkerTask.onPostExecute (FetchWallpaperWorkerTask.java:85)
  at org.chromium.chrome.browser.ntp_background_images.util.FetchWallpaperWorkerTask.onPostExecute (FetchWallpaperWorkerTask.java:23)
  at org.chromium.base.task.AsyncTask.finish (AsyncTask.java:454)
  at org.chromium.base.task.AsyncTask.lambda$postResult$1 (AsyncTask.java:146)
  at org.chromium.base.task.AsyncTask$$InternalSyntheticLambda$2$5e9fe5dcfd58c4d29792c212a265b4f9b111df523a5ac8e643d6204a2a0aa31d$0.run (AsyncTask.java:15)
  at android.os.Handler.handleCallback (Handler.java:978)
  at android.os.Handler.dispatchMessage (Handler.java:104)
  at android.os.Looper.loopOnce (Looper.java:238)
  at android.os.Looper.loop (Looper.java:357)
  at android.app.ActivityThread.main (ActivityThread.java:8090)
  at java.lang.reflect.Method.invoke (Method.java)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:548)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1026)
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/exclude
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants