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

[bug] crash on android 12 #273

Closed
GDXN opened this issue Oct 1, 2023 · 4 comments
Closed

[bug] crash on android 12 #273

GDXN opened this issue Oct 1, 2023 · 4 comments

Comments

@GDXN
Copy link

GDXN commented Oct 1, 2023

Phone: Redmi Note 9 pro, android 12 miui 14.0.5

Error message

java.lang.IndexOutOfBoundsException: Index -1 out of bounds for length 0

at jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
at jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
at jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266)
at java.util.Objects.checkIndex(Objects.java:359)
at java.util.ArrayList.remove(ArrayList.java:511)
at com.farmerbb.taskbar.ui.u1.L1(TaskbarController.java:63)
at com.farmerbb.taskb

ar.ui.u1.q1(TaskbarController.java:1)
at com.farmerbb.taskbar.ui.u1.P(Unknown Source:0)
at com.farmerbb.taskbar.ui.d1.run(Unknown Source:2)
at java.lang.Thread.run(Thread.java:1012)

@marzz89
Copy link

marzz89 commented Oct 4, 2023

I'm getting crashes on Android 13 with Pixel 4 XL as of a couple of days ago as well. Which means it's it's probably a Google update that broke it. Already uninstalled and reinstalled with no difference.

I also emailed the dev but it appears he hasn't been active for a couple of years. Once I have time in a week or two, I'll fork this project and try and fix the bug

@marzz89
Copy link

marzz89 commented Oct 4, 2023

Okay so I recreated the issue. If you pin ANY app to the drawer, close the drawer and click the arrow again to open it, it crashes and never opens again.

Workaround:

Open Taskbar settings and go into Advanced and go to bottom option and create a backup.

Go into phone settings, Apps, find Taskbar and go to Storage and clear data and cache.

Reopen Taskbar and reconfigure your settings and layout the way you want WITHOUT pinning any apps.

Toggle on Taskbar so that it is showing (probably has apps in there that you don't want there).

Start opening the apps you want to be in there from your phone, not Taskbar and you'll see those apps start to populate in Taskbar drawer.

Once all your apps are there, go into Taskbar settings again and create another backup and name it sometimes you'll remember that it is the temporary working workaround.

Then proceed with doing your normal routine. If it starts crashing again, just restore that new backup.

@marzz89
Copy link

marzz89 commented Sep 15, 2024

Yaaaay Brandon fixed the bug that was causing crashes on Android 13! Thank you. You can close this one I think

@GDXN
Copy link
Author

GDXN commented Sep 26, 2024

Fixed with the last build

@GDXN GDXN closed this as completed Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants