java.lang.IndexOutOfBoundsException: Index 3 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.get(ArrayList.java:434) at com.entitcs.office_attendance.activities.My_Attendance_Report.R(Unknown Source:57) at x4.a1.onDetach(Unknown Source:43) at androidx.fragment.app.Fragment.performDetach(Unknown Source:6) at androidx.fragment.app.v.i(Unknown Source:33) at androidx.fragment.app.v.m(Unknown Source:235) at androidx.fragment.app.e0$d.c(Unknown Source:5) at androidx.fragment.app.e0$e.d(Unknown Source:16) at androidx.fragment.app.c$l.a(Unknown Source:4) at androidx.fragment.app.c.w(Unknown Source:42) at androidx.fragment.app.c.f(Unknown Source:162) at androidx.fragment.app.e0.g(Unknown Source:145) at androidx.fragment.app.n.e0(Unknown Source:315) at androidx.fragment.app.n.f1(Unknown Source:84) at androidx.fragment.app.n.Z0(Unknown Source:47) at androidx.fragment.app.n.Y0(Unknown Source:3) at androidx.fragment.app.n.C0(Unknown Source:12) at androidx.fragment.app.n$c.handleOnBackPressed(Unknown Source:2) at androidx.activity.OnBackPressedDispatcher.c(Unknown Source:24) at androidx.activity.ComponentActivity.onBackPressed(Unknown Source:2) at com.entitcs.office_attendance.activities.My_Attendance_Report.onBackPressed(Unknown Source:0) at com.entitcs.office_attendance.activities.My_Attendance_Report.onOptionsItemSelected(Unknown Source:284) at android.app.Activity.onMenuItemSelected(Activity.java:4486) at androidx.fragment.app.e.onMenuItemSelected(Unknown Source:0) at androidx.appcompat.app.d.onMenuItemSelected(Unknown Source:0) at h.j.onMenuItemSelected(Unknown Source:2) at h.j.onMenuItemSelected(Unknown Source:2) at androidx.appcompat.widget.b1$a.onClick(Unknown Source:13) at android.view.View.performClick(View.java:7558) at android.view.View.performClickInternal(View.java:7534) at android.view.View.-$$Nest$mperformClickInternal(Unknown Source:0) at android.view.View$PerformClick.run(View.java:29672) at android.os.Handler.handleCallback(Handler.java:942) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:240) at android.os.Looper.loop(Looper.java:351) at android.app.ActivityThread.main(ActivityThread.java:8377) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1013)