Skip to content

java.io.IOException: The current offset on block-info isn't update  #511

Open
@nannan111

Description

catch unknown error
java.io.IOException: The current offset on block-info isn't update correct, 48176155 != 53291524 on 7
at com.liulishuo.okdownload.core.file.MultiPointOutputStream.inspectComplete(MultiPointOutputStream.java:264)
at com.liulishuo.okdownload.core.interceptor.BreakpointInterceptor.interceptFetch(BreakpointInterceptor.java:123)
at com.liulishuo.okdownload.core.download.DownloadChain.processFetch(DownloadChain.java:241)
at com.liulishuo.okdownload.core.interceptor.RetryInterceptor.interceptFetch(RetryInterceptor.java:57)
at com.liulishuo.okdownload.core.download.DownloadChain.processFetch(DownloadChain.java:241)
at com.liulishuo.okdownload.core.download.DownloadChain.start(DownloadChain.java:211)
at com.liulishuo.okdownload.core.download.DownloadChain.run(DownloadChain.java:276)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:487)
at java.util.concurrent.FutureTask.run(FutureTask.java:264)
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)

下载的是你提供的500m那个zip,很容易出现这个异常,用的是你另一个工程https://github.com/tianshaokai/okdownload?tab=readme-ov-file,我设置了多线程下载,google手机

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions