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 Mads #3513

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:383)
    at java.util.concurrent.FutureTask.setException(FutureTask.java:252)
    at java.util.concurrent.FutureTask.run(FutureTask.java:271)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
    at java.lang.Thread.run(Thread.java:923)
Caused by: com.amaze.filemanager.exceptions.DocumentFileNotFoundException: Root uri: /tree/primary:Android/data and path content://com.android.externalstorage.documents/tree/primary:Android/data/org.xbmc.kodi
    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:266)
    ... 3 more


VishnuSanal commented 2 years ago

dupe #3038