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

net.lingala.zip4j.exception.ZipException: invalid offsets #220

Closed
YeChenLiu opened this issue Jul 17, 2020 · 4 comments
Closed

net.lingala.zip4j.exception.ZipException: invalid offsets #220

YeChenLiu opened this issue Jul 17, 2020 · 4 comments
Assignees
Labels
bug Something isn't working resolved

Comments

@YeChenLiu
Copy link

net.lingala.zip4j.exception.ZipException: invalid offsets
at net.lingala.zip4j.util.FileUtils.copyFile(FileUtils.java:287)
at net.lingala.zip4j.tasks.AbstractModifyFileTask.copyFile(AbstractModifyFileTask.java:70)
at net.lingala.zip4j.tasks.RemoveFilesFromZipTask.executeTask(RemoveFilesFromZipTask.java:66)
at net.lingala.zip4j.tasks.RemoveFilesFromZipTask.executeTask(RemoveFilesFromZipTask.java:21)
at net.lingala.zip4j.tasks.AsyncZipTask.performTaskWithErrorHandling(AsyncZipTask.java:44)
at net.lingala.zip4j.tasks.AsyncZipTask.execute(AsyncZipTask.java:38)
at net.lingala.zip4j.ZipFile.removeFiles(ZipFile.java:716)
at net.lingala.zip4j.ZipFile.removeFile(ZipFile.java:684)

An exception occurred when deleting the zip file

@srikanth-lingala
Copy link
Owner

Can you attach the zip file? Which version of zip4j are you on?

@YeChenLiu
Copy link
Author

abc.zip
version :2.6.1
remark : Apk uploads are not supported, so zip is uploaded. You need to unzip the ZIP

@srikanth-lingala
Copy link
Owner

Thanks for the zip file. I was able to reproduce it. Working on a fix.

@srikanth-lingala srikanth-lingala self-assigned this Jul 21, 2020
@srikanth-lingala srikanth-lingala added the bug Something isn't working label Jul 21, 2020
srikanth-lingala added a commit that referenced this issue Aug 21, 2020
srikanth-lingala added a commit that referenced this issue Aug 24, 2020
@srikanth-lingala
Copy link
Owner

Issue fixed in v2.6.2 released today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working resolved
Projects
None yet
Development

No branches or pull requests

2 participants