⚠️ Before posting ⚠️
Steps to reproduce
- Open the app.
- Go into a non synchronized folder.
- Click on + then Files.
- Sort files by more recent first (or any date sorting I've tested).
- App crashed.
Expected behaviour
No crash and sorting work.
Actual behaviour
App crash with a Java exception when trying to sort files.
Android version
14
Device brand and model
Pixel 5
Stock or custom OS?
Stock
Nextcloud android app version
3.34.1
Nextcloud server version
31.0.10
Using a reverse proxy?
Yes
Android logs
Cause of error
Exception in thread "pool-17-thread-1" java.util.ConcurrentModificationException
at java.util.ArrayList.sort(ArrayList.java:1823)
at java.util.Collections.sort(Collections.java:207)
at kotlin.collections.CollectionsKt__MutableCollectionsJVMKt.sortWith(MutableCollectionsJVM.kt:42)
at com.owncloud.android.utils.FileSortOrderByName.sortLocalFiles(FileSortOrderByName.kt:60)
at com.owncloud.android.ui.adapter.LocalFileListAdapter.lambda$setSortOrder$6(LocalFileListAdapter.java:392)
at com.owncloud.android.ui.adapter.LocalFileListAdapter.$r8$lambda$WTDJyclhOx9wYl9P9c9Mv0A876o(Unknown Source:0)
at com.owncloud.android.ui.adapter.LocalFileListAdapter$$ExternalSyntheticLambda3.run(D8$$SyntheticClass:0)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:651)
at java.lang.Thread.run(Thread.java:1119)
App information
- ID:
com.nextcloud.client
- Version:
30340190
- Build flavor:
gplay
Device information
- Brand:
google
- Device:
redfin
- Model:
Pixel 5
- Id: `redacted'
- Product:
redfin
Firmware
- SDK:
34
- Release:
14
- Incremental:
11260668
Server error logs
Additional information
No response
Steps to reproduce
Expected behaviour
No crash and sorting work.
Actual behaviour
App crash with a Java exception when trying to sort files.
Android version
14
Device brand and model
Pixel 5
Stock or custom OS?
Stock
Nextcloud android app version
3.34.1
Nextcloud server version
31.0.10
Using a reverse proxy?
Yes
Android logs
Cause of error
App information
com.nextcloud.client30340190gplayDevice information
googleredfinPixel 5redfinFirmware
341411260668Server error logs
Additional information
No response