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

On Boot menu crashes #151

Open
kolAflash opened this issue Feb 24, 2023 · 1 comment
Open

On Boot menu crashes #151

kolAflash opened this issue Feb 24, 2023 · 1 comment

Comments

@kolAflash
Copy link

App Name: SmartPack-Kernel Manager
Package Name: com.smartpack.kernelmanager
App Version: v17.6
SDK Version: 29
OS: /e/OS-1.4q (LineageOS based Android-10)
Device: Fairphone 3+

Steps to reproduce the issue: create a script, enable for boot, open "On Boot" menu

Crash Report:

java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
	at java.util.ArrayList.get(ArrayList.java:437)
	at b4.u.f(SourceFile:3)
	at androidx.recyclerview.widget.RecyclerView$t.i(SourceFile:891)
	at androidx.recyclerview.widget.StaggeredGridLayoutManager.G0(SourceFile:4)
	at androidx.recyclerview.widget.StaggeredGridLayoutManager.T0(SourceFile:34)
	at androidx.recyclerview.widget.StaggeredGridLayoutManager.c0(Unknown Source:1)
	at androidx.recyclerview.widget.RecyclerView.r(SourceFile:39)
	at androidx.recyclerview.widget.RecyclerView.p(SourceFile:91)
	at androidx.recyclerview.widget.RecyclerView.m(SourceFile:142)
	at androidx.recyclerview.widget.RecyclerView$a.run(Unknown Source:31)
	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:967)
	at android.view.Choreographer.doCallbacks(Choreographer.java:791)
	at android.view.Choreographer.doFrame(Choreographer.java:722)
	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:952)
	at android.os.Handler.handleCallback(Handler.java:883)
	at android.os.Handler.dispatchMessage(Handler.java:100)
	at android.os.Looper.loop(Looper.java:214)
	at android.app.ActivityThread.main(ActivityThread.java:7356)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:940)
@sunilpaulmathew
Copy link
Contributor

@kolAflash
Thanks for reporting. It is a well-known bug which need significant work to fix in a proper way.
But there is a workaround: Enable On-Boot on one more section (any section).

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

No branches or pull requests

2 participants