SmartPack / SmartPack-Kernel-Manager

Source code of SmartPack-Kernel Manager, the Ultimate Tool to Manage your Kernel
https://play.google.com/store/apps/details?id=com.smartpack.kernelmanager.pro
GNU General Public License v3.0
629 stars 73 forks source link

Crash when adding any custom script #156

Open maxidax opened 1 year ago

maxidax commented 1 year ago

App Name: SmartPack-Kernel Manager Package Name: com.smartpack.kernelmanager App Version: v17.7 SDK Version: 30

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:974)
    at android.view.Choreographer.doCallbacks(Choreographer.java:797)
    at android.view.Choreographer.doFrame(Choreographer.java:728)
    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:959)
    at android.os.Handler.handleCallback(Handler.java:938)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:223)
    at android.app.ActivityThread.main(ActivityThread.java:7706)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:612)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:997)

Steps to reproduce the issue: Adding any custom script, even an empty one. After viewing the "when loading" tab. Application Crash. The script is not executed when loading either. Android 11