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

IndexOutOfBoundsException on GeneralDialogCreation#deleteFilesDialog #4227

Open
amaze-issue-automation bot opened this issue Jul 27, 2024 · 2 comments
Labels
From-telegram Issue reported through telegram channel Issue-Bug Related unexpected behavior or something worth investigating.

Comments

@amaze-issue-automation
Copy link

Issue explanation (write below this line)

I was deleting files
Multiple files

Exception

  • App Name: Amaze File Manager
  • Package: com.amaze.filemanager
  • Version: 3.10
  • User Action: UI Error
  • Request: Application crash
  • OS: Linux motorola/devonf_g_sys/devonf:14/U1TN34.82-12-7/4cdf7-62b22:user/release-keys 14 - 34
  • Device: devonf
  • Model: moto g73 5G
  • Product: devonf_g_sys
Crash log

java.lang.IndexOutOfBoundsException: Index 0 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.amaze.filemanager.ui.dialogs.GeneralDialogCreation.deleteFilesDialog(GeneralDialogCreation.java:216)
at com.amaze.filemanager.utils.MainActivityActionMode.onActionItemClicked(MainActivityActionMode.kt:221)
at androidx.appcompat.app.AppCompatDelegateImpl$ActionModeCallbackWrapperV9.onActionItemClicked(AppCompatDelegateImpl.java:3022)
at androidx.appcompat.view.StandaloneActionMode.onMenuItemSelected(StandaloneActionMode.java:140)
at androidx.appcompat.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:836)
at androidx.appcompat.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:159)
at androidx.appcompat.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:987)
at androidx.appcompat.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:977)
at androidx.appcompat.widget.ActionMenuView.invokeItem(ActionMenuView.java:625)
at androidx.appcompat.view.menu.ActionMenuItemView.onClick(ActionMenuItemView.java:156)
at android.view.View.performClick(View.java:7684)
at android.view.View.performClickInternal(View.java:7661)
at android.view.View.-$$Nest$mperformClickInternal(Unknown Source:0)
at android.view.View$PerformClick.run(View.java:30344)
at android.os.Handler.handleCallback(Handler.java:1000)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loopOnce(Looper.java:242)
at android.os.Looper.loop(Looper.java:362)
at android.app.ActivityThread.main(ActivityThread.java:8393)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:992)


Reporter: VishnuSanalT

@amaze-issue-automation amaze-issue-automation bot added the From-telegram Issue reported through telegram channel label Jul 27, 2024
@VishnuSanal
Copy link
Member

@amaze-issue-automation[bot] ANR in com.amaze.filemanager (com.amaze.filemanager/.ui.activities.MainActivity)
PID: 24097
Reason: Input dispatching timed out (9804ee com.amaze.filemanager/com.amaze.filemanager.ui.activities.MainActivity (server) is not responding. Waited 5000ms for FocusEvent(hasFocus=true))
Parent: com.amaze.filemanager/.ui.activities.MainActivity
ErrorId: 4d92f728-bbb9-4e42-8b6f-4ef14f11dd0e
Frozen: false
Load: 15.73 / 14.97 / 14.82
----- Output from /proc/pressure/memory -----
some avg10=0.04 avg60=0.06 avg300=0.01 total=563197523
full avg10=0.00 avg60=0.00 avg300=0.00 total=165034822
----- End output from /proc/pressure/memory -----
----- Output from /proc/pressure/cpu -----
some avg10=9.44 avg60=7.34 avg300=6.49 total=27771987620
----- End output from /proc/pressure/cpu -----
----- Output from /proc/pressure/io -----
some avg10=0.14 avg60=0.03 avg300=0.00 total=1688131843
full avg10=0.00 avg60=0.00 avg300=0.00 total=1149511155
----- End output from /proc/pressure/io -----
CPU usage from 128861ms to -1ms ago (2024-07-27 20:40:50.598 to 2024-07-27 20:42:59.460) with 99% awake:
27% TOTAL: 15% user + 9.8% kernel + 0% iowait + 1.3% irq + 0.3% softirq
76% 18399/com.f0x1d.logfox: 56% user + 20% kernel / faults: 963106 minor
31% 24097/com.amaze.filemanager: 22% user + 8.3% kernel / faults: 29584 minor 56 major
30% 1230/surfaceflinger: 17% user + 13% kernel / faults: 28863 minor 5 major
8.2% 1840/system_server: 4.7% user + 3.4% kernel / faults: 24175 minor 95 major
8% 1124/android.hardware.graphics.composer@2.3-service: 3.9% user + 4% kernel / faults: 10476 minor
5.1% 1113/android.hardware.audio.service.mediatek: 3.7% user + 1.4% kernel / faults: 1690 minor
5.8% 3560/com.google.android.providers.media.module: 4.2% user + 1.5% kernel / faults: 30424 minor 192 major
4.4% 580/kfps: 0% user + 4.4% kernel
3.6% 2320/com.android.systemui: 2.1% user + 1.4% kernel / faults: 3622 minor 24 major
2.4% 1215/audioserver: 1.6% user + 0.7% kernel / faults: 161 minor
CPU usage from 63ms to 581ms later (2024-07-27 20:42:59.522 to 2024-07-27 20:43:00.040):
49% TOTAL: 32% user + 16% kernel + 0.9% irq + 0.2% softirq
129% 3560/com.google.android.providers.media.module: 97% user + 32% kernel / faults: 2221 minor
92% 14703/Thread-63: 67% user + 24% kernel
17% 3568/HeapTaskDaemon: 14% user + 2.4% kernel
9.9% 3714/ackgroundThread: 7.4% user + 2.4% kernel
2.4% 3910/fg: 2.4% user + 0% kernel
92% 1840/system_server: 48% user + 43% kernel / faults: 1647 minor 63 major
48% 25056/AnrAuxiliaryTas: 16% user + 32% kernel
18% 2715/binder:1840_9: 13% user + 4.6% kernel
13% 2199/binder:1840_6: 9.2% user + 4.6% kernel
2.3% 1909/android.ui: 2.3% user + 0% kernel
2.3% 1923/OomAdjuster: 0% user + 2.3% kernel
2.3% 1924/batterystats-ha: 2.3% user + 0% kernel
2.3% 2094/InputDispatcher: 0% user + 2.3% kernel
2.3% 2200/binder:1840_7: 2.3% user + 0% kernel
90% 18399/com.f0x1d.logfox: 63% user + 27% kernel / faults: 3184 minor
27% 18411/HeapTaskDaemon: 18% user + 9% kernel
15% 18399/om.f0x1d.logfox: 6% user + 9% kernel
12% 24560/DefaultDispatch: 9% user + 3% kernel
9% 18465/DefaultDispatch: 9% user + 0% kernel
9% 23573/DefaultDispatch: 9% user + 0% kernel
9% 24561/DefaultDispatch: 6% user + 3% kernel
6% 18454/DefaultDispatch: 3% user + 3% kernel
6% 20904/DefaultDispatch: 3% user + 3% kernel
3% 20899/DefaultDispatch: 0% user + 3% kernel
3% 20906/DefaultDispatch: 0% user + 3% kernel
65% 16964/com.google.android.gms.persistent: 45% user + 20% kernel / faults: 2348 minor
31% 16973/HeapTaskDaemon: 20% user + 11% kernel
22% 17557/netscheduler-qu: 17% user + 5.7% kernel
2.8% 16974/ReferenceQueueD: 2.8% user + 0% kernel
2.8% 16992/binder:16964_3: 0% user + 2.8% kernel
2.8% 24620/lowpool[989]: 2.8% user + 0% kernel

@VishnuSanal
Copy link
Member

@amaze-issue-automation[bot] 2.8% 24756/lowpool[990]: 2.8% user + 0% kernel
11% 24326/com.google.android.gms: 7.7% user + 3.8% kernel / faults: 57 minor 12 major
3.8% 24326/gle.android.gms: 3.8% user + 0% kernel
3.8% 24376/GoogleApiHandle: 3.8% user + 0% kernel
3.8% 24378/lowpool[3]: 3.8% user + 0% kernel
3.8% 25052/binder:24326_6: 3.8% user + 0% kernel
+0% 25061/binder:24326_7: 0% user + 0% kernel
+0% 25062/binder:24326_8: 0% user + 0% kernel
+0% 25063/binder:24326_9: 0% user + 0% kernel
4.4% 1230/surfaceflinger: 4.4% user + 0% kernel / faults: 9 minor
2.2% 1230/surfaceflinger: 2.2% user + 0% kernel
2.2% 1336/RenderEngine: 2.2% user + 0% kernel
2.2% 1666/TimerDispatch: 2.2% user + 0% kernel
2.2% 3165/binder:1230_5: 2.2% user + 0% kernel
4.7% 2320/com.android.systemui: 4.7% user + 0% kernel / faults: 86 minor
2.3% 2320/ndroid.systemui: 2.3% user + 0% kernel
2.3% 2416/RenderThread: 2.3% user + 0% kernel
1.9% 13/rcu_preempt: 0% user + 1.9% kernel
2% 794/logd: 2% user + 0% kernel / faults: 37 minor
2% 804/logd.writer: 0% user + 2% kernel
2% 877/irq/184-NVT-ts: 0% user + 2% kernel
2.6% 9190/com.motorola.actions: 0% user + 2.6% kernel
3% 18489/logcat: 0% user + 3% kernel
3.5% 23274/com.google.android.googlequicksearchbox:search: 3.5% user + 0% kernel / faults: 15 minor 16 major

@VishnuSanal VishnuSanal changed the title Crash reported by VishnuSanalT IndexOutOfBoundsException on GeneralDialogCreation#deleteFilesDialog Jul 29, 2024
@VishnuSanal VishnuSanal added the Issue-Bug Related unexpected behavior or something worth investigating. label Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
From-telegram Issue reported through telegram channel Issue-Bug Related unexpected behavior or something worth investigating.
Projects
None yet
Development

No branches or pull requests

1 participant