You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
W/System.err( 2988): at vn.hunghd.flutterdownloader.DownloadWorker.downloadFile(DownloadWorker.kt:393)
W/System.err( 2988): at vn.hunghd.flutterdownloader.DownloadWorker.doWork(DownloadWorker.kt:206)
W/System.err( 2988): at androidx.work.Worker$1.run(Worker.java:86)
W/System.err( 2988): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
W/System.err( 2988): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
W/System.err( 2988): at java.lang.Thread.run(Thread.java:1012)
I/WM-WorkerWrapper( 2988): Worker result FAILURE for Work [ id=f30f65e2-ab58-4e67-bd40-570efefad7e0, tags={ flutter_download_task, vn.hunghd.flutterdownloader.DownloadWorker } ]
The text was updated successfully, but these errors were encountered:
You can add a try catch block here. I added it and my issue was resolved. In my case, a file with same name was already present on the location of my downloading file, and that's why it was failing. By adding a try catch, at least the code will not break.
I'm getting this error
D/EGL_emulation( 2988): app_time_stats: avg=788.55ms min=4.57ms max=20855.36ms count=27
I/flutter ( 2988): Saved Directory: /storage/emulated/0/Android/data/com.example.pixifusion/files/downloads
I/flutter ( 2988): Download Task ID: f30f65e2-ab58-4e67-bd40-570efefad7e0
W/System.err( 2988): java.lang.NullPointerException
W/System.err( 2988): at vn.hunghd.flutterdownloader.DownloadWorker.downloadFile(DownloadWorker.kt:393)
W/System.err( 2988): at vn.hunghd.flutterdownloader.DownloadWorker.doWork(DownloadWorker.kt:206)
W/System.err( 2988): at androidx.work.Worker$1.run(Worker.java:86)
W/System.err( 2988): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
W/System.err( 2988): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
W/System.err( 2988): at java.lang.Thread.run(Thread.java:1012)
I/WM-WorkerWrapper( 2988): Worker result FAILURE for Work [ id=f30f65e2-ab58-4e67-bd40-570efefad7e0, tags={ flutter_download_task, vn.hunghd.flutterdownloader.DownloadWorker } ]
The text was updated successfully, but these errors were encountered: