TeamAmaze / AmazeFileManager

Material design file manager for Android
https://teamamaze.xyz
GNU General Public License v3.0
5.36k stars 1.58k forks source link

Crash reported by Stormersh #3510

Closed amaze-issue-automation[bot] closed 2 years ago

amaze-issue-automation[bot] commented 2 years ago

Issue explanation (write below this line)

Exception

java.lang.RuntimeException: An error occurred while executing doInBackground() at android.os.AsyncTask$4.done(AsyncTask.java:415) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:381) at java.util.concurrent.FutureTask.setException(FutureTask.java:250) at java.util.concurrent.FutureTask.run(FutureTask.java:269) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637) at java.lang.Thread.run(Thread.java:1012) Caused by: com.amaze.filemanager.exceptions.DocumentFileNotFoundException: Root uri: /tree/primary:Android/media and path content://com.android.externalstorage.documents/tree/primary:Android/media/com.instagram.android at com.amaze.filemanager.utils.OTGUtil.getDocumentFiles(OTGUtil.kt:119) at com.amaze.filemanager.asynchronous.asynctasks.LoadFilesListTask.listDocumentFiles(LoadFilesListTask.java:664) at com.amaze.filemanager.asynchronous.asynctasks.LoadFilesListTask.doInBackground(LoadFilesListTask.java:215) at com.amaze.filemanager.asynchronous.asynctasks.LoadFilesListTask.doInBackground(LoadFilesListTask.java:78) at android.os.AsyncTask$3.call(AsyncTask.java:394) at java.util.concurrent.FutureTask.run(FutureTask.java:264) ... 3 more


Reporter: Stormersh

VishnuSanal commented 2 years ago

dupe #3038