TeamAmaze / AmazeFileManager

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

Root access crash #3709

Closed ssbz closed 1 year ago

ssbz commented 1 year ago

**## Issue explanation (write below this line)

Exception

java.lang.RuntimeException: An error occurred while executing doInBackground()
    at android.os.AsyncTask$3.done(AsyncTask.java:354)
    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:764)
Caused by: java.lang.NumberFormatException: For input string: "Jan"
    at java.lang.Long.parseLong(Long.java:594)
    at java.lang.Long.parseLong(Long.java:636)
    at com.amaze.filemanager.filesystem.files.FileUtils.parseName(FileUtils.java:820)
    at com.amaze.filemanager.filesystem.root.ListFilesCommand.parseStringForHybridFile(ListFilesCommand.kt:201)
    at com.amaze.filemanager.filesystem.root.ListFilesCommand.listFiles(ListFilesCommand.kt:59)
    at com.amaze.filemanager.asynchronous.asynctasks.LoadFilesListTask.doInBackground(LoadFilesListTask.java:227)
    at com.amaze.filemanager.asynchronous.asynctasks.LoadFilesListTask.doInBackground(LoadFilesListTask.java:68)
    at android.os.AsyncTask$2.call(AsyncTask.java:333)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    ... 3 more


the bug** A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

ssbz commented 1 year ago

It crashes every time I tap on root.

VishnuSanal commented 1 year ago

@ssbz Thanks for reporting!

But, that error report is not from the official app.

Get the official version from here

Play Store https://play.google.com/store/apps/details?id=com.amaze.filemanager

FDroid https://apt.izzysoft.de/fdroid/index/apk/com.amaze.filemanager

AFH https://www.androidfilehost.com/?w=files&flid=73967

GitHub https://github.com/TeamAmaze/AmazeFileManager/releases

ssbz commented 1 year ago

I got the app from Google play. It quit crashing after a restart anyway, thank you though.

On Thu, Jan 26, 2023, 12:51 AM Vishnu Sanal T @.***> wrote:

Closed #3709 https://github.com/TeamAmaze/AmazeFileManager/issues/3709 as not planned.

— Reply to this email directly, view it on GitHub https://github.com/TeamAmaze/AmazeFileManager/issues/3709#event-8361984434, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXLED46JP4TYFLWN6NCWBD3WUI3HNANCNFSM6AAAAAAUHHSVHQ . You are receiving this because you were mentioned.Message ID: @.***>

VishnuSanal commented 1 year ago

@ssbz Please use the official links provided above to download Amaze :)