lingochamp / lingochamp/FileDownloader
ArrayIndexOutOfBoundsException,length=0,index=0
Open
@rantianhua is already working on this.
Since Dec 7, 2019.
need-info
- Dominant language
- Java
- Stars
- 11.1k
- Forks
- 2.2k
- PR merge metrics
- No merged PRs in 30d
Description
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)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.