brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.94k stars 2.35k forks source link

Crash inside BraveRewardsHelper #42319

Open SergeyZhukovsky opened 1 week ago

SergeyZhukovsky commented 1 week ago

It's seen on stable 1.73.89. We might need to uplift, depending on how many crashes we see.

Exception java.lang.IllegalStateException: Attempting to access TabModelSelector before initialization
  at org.chromium.chrome.browser.app.ChromeActivity.getTabModelSelector (ChromeActivity.java:1936)
  at org.chromium.chrome.browser.BraveRewardsHelper.currentActiveChromeTabbedActivityTab (BraveRewardsHelper.java:433)
  at org.chromium.chrome.browser.BraveRewardsNativeWorker$2.run (BraveRewardsNativeWorker.java:157)
  at android.os.Handler.handleCallback (Handler.java:938)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loopOnce (Looper.java:201)
  at android.os.Looper.loop (Looper.java:288)
  at android.app.ActivityThread.main (ActivityThread.java:7932)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:553)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1003)