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

[Android] Crash on switching to existing rewards tab #15389

Closed
samartnik opened this issue Apr 20, 2021 · 2 comments · Fixed by brave/brave-core#8569
Closed

[Android] Crash on switching to existing rewards tab #15389

samartnik opened this issue Apr 20, 2021 · 2 comments · Fixed by brave/brave-core#8569

Comments

@samartnik
Copy link
Contributor

Description

There is intermittent crash on switching to existing rewards tab.

java.lang.IndexOutOfBoundsException: 
  at java.util.ArrayList.get (ArrayList.java:437)
  at org.chromium.ui.modelutil.ListModelBase.get (ListModelBase.java:33)
  at org.chromium.chrome.browser.tasks.tab_management.TabListModel.updateTabListModelIdForGroup (TabListModel.java:196)
  at org.chromium.chrome.browser.tasks.tab_management.TabListMediator$8.didMoveTabGroup (TabListMediator.java:840)
  at org.chromium.chrome.browser.tasks.tab_groups.TabGroupModelFilter.didMoveTab (TabGroupModelFilter.java:725)
  at org.chromium.chrome.browser.tabmodel.TabModelImpl.moveTab (TabModelImpl.java:251)
  at org.chromium.chrome.browser.app.BraveActivity.selectExistingTab (BraveActivity.java:739)
  at org.chromium.chrome.browser.app.BraveActivity.openNewOrSelectExistingTab (BraveActivity.java:753)
  at org.chromium.chrome.browser.BraveRewardsPanelPopup$5.onClick (BraveRewardsPanelPopup.java:321)

Steps to reproduce

I wasn't able to reproduce. Crash stack is taken from GPS.

Actual result

Intermittent crash

Expected result

No crash

Issue reproduces how often

Wasn't able to reproduce.

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

Latest from GPS.

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

@samartnik samartnik added the OS/Android Fixes related to Android browser functionality label Apr 20, 2021
@samartnik samartnik self-assigned this Apr 20, 2021
@samartnik
Copy link
Contributor Author

Test plan:

  • Open rewards page from panel
  • Go to a new page
  • Try to open rewards page from panel (already opened page should be shown)

@srirambv
Copy link
Contributor

srirambv commented May 3, 2021

Verification passed on OnePlus 6T with Android 10 running 1.24.82 x64 build


Verification passed on Samsung Tab A with Android 10 running 1.24.82 x64 build

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

Successfully merging a pull request may close this issue.

4 participants