Crash in GPS nightly version related to BraveNotificationWarningDialog #28483
Labels
closed/duplicate
Issue has already been reported
crash
dev-concern
OS/Android
Fixes related to Android browser functionality
QA/No
release-notes/exclude
There seems to be an issue with checking if rewards is enabled before native is initialize.
Exception java.lang.RuntimeException: at android.app.ActivityThread.performResumeActivity (ActivityThread.java:3672) at android.app.ActivityThread.handleResumeActivity (ActivityThread.java:3712) at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2949) at android.app.ActivityThread.-wrap11 (ActivityThread.java) at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1630) at android.os.Handler.dispatchMessage (Handler.java:106) at android.os.Looper.loop (Looper.java:164) at android.app.ActivityThread.main (ActivityThread.java:6626) at java.lang.reflect.Method.invoke (Method.java) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:438) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:811) Caused by java.lang.IllegalStateException: Browser hasn't finished initialization yet! at org.chromium.chrome.browser.profiles.Profile.getLastUsedRegularProfile (Profile.java:54) at org.chromium.chrome.browser.notifications.BraveNotificationWarningDialog.isBraveRewardsEnabled (BraveNotificationWarningDialog.java:143) at org.chromium.chrome.browser.notifications.BraveNotificationWarningDialog.shouldShowRewardWarningDialog (BraveNotificationWarningDialog.java:95) at org.chromium.chrome.browser.notifications.BraveNotificationWarningDialog.shouldShowNotificationWarningDialog (BraveNotificationWarningDialog.java:86) at org.chromium.chrome.browser.app.BraveActivity.checkAndshowNotificationWarningDialog (BraveActivity.java:1339) at org.chromium.chrome.browser.app.BraveActivity.onNewIntent (BraveActivity.java:1721) at org.chromium.chrome.browser.ChromeTabbedActivity.onNewIntent (ChromeTabbedActivity.java:971) at android.app.Activity.performNewIntent (Activity.java:7044) at android.app.Instrumentation.callActivityOnNewIntent (Instrumentation.java:1331) at android.app.Instrumentation.callActivityOnNewIntent (Instrumentation.java:1343) at android.app.ActivityThread.deliverNewIntents (ActivityThread.java:3023) at android.app.ActivityThread.performResumeActivity (ActivityThread.java:3640)
The text was updated successfully, but these errors were encountered: