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

Deleting file and download again the same file not working #934

Open
Nandhini-GA opened this issue Jan 22, 2024 · 0 comments
Open

Deleting file and download again the same file not working #934

Nandhini-GA opened this issue Jan 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Nandhini-GA
Copy link

When deleting file from the file explorer and download the same file again always failing

In iOS it is working, Issue with android device only.

Steps:

  1. download a file (FlutterDownloader.enqueue())
  2. delete the file manually from downloads
  3. download the same file FlutterDownloader.enqueue())

Console Erro:
D/DownloadWorker(12373): Update notification: {notificationId: 8, title: GOA-1924573-2180476 (2).pdf, status: FAILED, progress: -1}

W/System.err(12373): java.lang.NullPointerException

W/System.err(12373): at vn.hunghd.flutterdownloader.DownloadWorker.downloadFile(DownloadWorker.kt:385)

W/System.err(12373): at vn.hunghd.flutterdownloader.DownloadWorker.doWork(DownloadWorker.kt:206)

W/System.err(12373): at androidx.work.Worker$1.run(Worker.java:86)

W/System.err(12373): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)

W/System.err(12373): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)

W/System.err(12373): at java.lang.Thread.run(Thread.java:919)

I/WM-WorkerWrapper(12373): Worker result FAILURE for Work [ id=4ef9a1d3-ff16-467f-b797-5fb7d3a981b5, tags={ flutter_download_task, vn.hunghd.flutterdownloader.DownloadWorker } ]

@Nandhini-GA Nandhini-GA added the bug Something isn't working label Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant