Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash when copying files between folders in android/data #3943

Closed
Fern-Leaves opened this issue Sep 28, 2023 · 1 comment
Closed

crash when copying files between folders in android/data #3943

Fern-Leaves opened this issue Sep 28, 2023 · 1 comment

Comments

@Fern-Leaves
Copy link

Issue explanation

I tried to copy folders from one app's data folder to another app's data folder and each time I've tried to do this this has happened

Exception

  • App Name: Amaze File Manager
  • Package: com.amaze.filemanager
  • Version: 3.8.5
  • User Action: UI Error
  • Request: Application crash
  • OS: Linux Android 13 - 33
  • Device: panther
  • Model: Pixel 7
  • Product: panther
Crash log

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:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
	at java.lang.Thread.run(Thread.java:1012)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean androidx.documentfile.provider.DocumentFile.isDirectory()' on a null object reference
	at com.amaze.filemanager.filesystem.HybridFile.isDirectory(HybridFile.java:663)
	at com.amaze.filemanager.filesystem.files.FileUtils.getBaseFileSize(FileUtils.java:213)
	at com.amaze.filemanager.filesystem.files.FileUtils.getTotalBytes(FileUtils.java:207)
	at com.amaze.filemanager.asynchronous.asynctasks.movecopy.PrepareCopyTask.doInBackground(PrepareCopyTask.java:147)
	at com.amaze.filemanager.asynchronous.asynctasks.movecopy.PrepareCopyTask.doInBackground(PrepareCopyTask.java:68)
	at android.os.AsyncTask$3.call(AsyncTask.java:394)
	at java.util.concurrent.FutureTask.run(FutureTask.java:264)
	... 3 more


@VishnuSanal
Copy link
Member

dupe #3816

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants