lingochamp / FileDownloader

Multitask、MultiThread(MultiConnection)、Breakpoint-resume、High-concurrency、Simple to use、Single/NotSingle-process
Apache License 2.0
11.02k stars 2.2k forks source link

ArrayIndexOutOfBoundsException,length=0,index=0 #1306

Open liangpengfei opened 4 years ago

liangpengfei commented 4 years ago
java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
java.util.ArrayList.indexOf(ArrayList.java:331)
--
java.util.ArrayList.contains(ArrayList.java:314)
com.liulishuo.filedownloader.database.RemitDatabase.isNoNeedUpdateToRealDB(RemitDatabase.java:102)
com.liulishuo.filedownloader.database.RemitDatabase.updateProgress(RemitDatabase.java:140)
com.liulishuo.filedownloader.download.DownloadLaunchRunnable.syncProgressFromCache(DownloadLaunchRunnable.java:858)
com.liulishuo.filedownloader.download.FetchDataTask.sync(FetchDataTask.java:239)
com.liulishuo.filedownloader.download.FetchDataTask.checkAndSync(FetchDataTask.java:209)
com.liulishuo.filedownloader.download.FetchDataTask.run(FetchDataTask.java:151)
com.liulishuo.filedownloader.download.DownloadLaunchRunnable.fetchWithSingleConnection(DownloadLaunchRunnable.java:576)
java.util.concurrent.ThreadPoolExecutor.processTask(ThreadPoolExecutor.java:1187)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
java.lang.Thread.run(Thread.java:784)
rantianhua commented 4 years ago

请问你使用的版本是多少?