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

Crash on copy file to OTG USB #2247

Open Thewisem opened 3 years ago

Thewisem commented 3 years ago

Describe the bug Basically my app crashed while moving to my usb connected via charging port

To Reproduce Steps to reproduce the behavior:

  1. Click copy for any file
  2. Paste it onto a usb drive connected via charging port
  3. Wait for some time.

Expected behavior The file to reach inside my usb drive without crasing and doing it fast for small storage

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

Smartphone (please complete the following information):

Additional context It not only crashes but takes a very long time to move a 70mb folder. Even if it did, the file would be found corrupted. Please help

EmmanuelMess commented 3 years ago

We need the log, you should have gotten the prompt to send us a mail or a message via telegram to report the issue.

Thewisem commented 3 years ago

Imagepipe_3 Imagepipe_2 Some examples before the crash

Thewisem commented 3 years ago

And No it isn't because my flash is dead. Quite contrary, my flash could have constant speed

Thewisem commented 3 years ago

:)

Thewisem commented 3 years ago

Issue explanation (write below this line)

Exception

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.amaze.filemanager/com.amaze.filemanager.ui.activities.MainActivity}: java.lang.IllegalArgumentException: No view found for id 0x7f0901b9 (com.amaze.filemanager:id/pager) for fragment MainFragment{9c68f5 (d76b326c-1c17-4321-a72c-bb96c9a6705d) id=0x7f0901b9}
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3003)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3064)
    at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:5006)
    at android.app.ActivityThread.-wrap21(ActivityThread.java)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1665)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:154)
    at android.app.ActivityThread.main(ActivityThread.java:6823)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1563)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1451)
Caused by: java.lang.IllegalArgumentException: No view found for id 0x7f0901b9 (com.amaze.filemanager:id/pager) for fragment MainFragment{9c68f5 (d76b326c-1c17-4321-a72c-bb96c9a6705d) id=0x7f0901b9}
    at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:875)
    at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManagerImpl.java:1238)
    at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:1303)
    at androidx.fragment.app.FragmentManagerImpl.dispatchStateChange(FragmentManagerImpl.java:2659)
    at androidx.fragment.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManagerImpl.java:2613)
    at androidx.fragment.app.FragmentController.dispatchActivityCreated(FragmentController.java:246)
    at androidx.fragment.app.FragmentActivity.onStart(FragmentActivity.java:542)
    at androidx.appcompat.app.AppCompatActivity.onStart(AppCompatActivity.java:201)
    at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1256)
    at android.app.Activity.performStart(Activity.java:6994)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2956)
    ... 10 more


Thewisem commented 3 years ago

The device is wrong I am using a tablet not a phone

Thewisem commented 3 years ago

Imagepipe_4 Sometimes this happens as well but not all the time Hope this helps :)