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
I use your library and just stumbled a problem archive, which causes exception during extracting, despite other archivers works with it normally and even without any warnings.
Stacktrace:
net.lingala.zip4j.exception.ZipException: Could not read corresponding local file header for file header: Some folder/lib/
at net.lingala.zip4j.tasks.AbstractExtractFileTask.verifyNextEntry(AbstractExtractFileTask.java:85)
at net.lingala.zip4j.tasks.AbstractExtractFileTask.extractFile(AbstractExtractFileTask.java:47)
at net.lingala.zip4j.tasks.ExtractAllFilesTask.executeTask(ExtractAllFilesTask.java:35)
at net.lingala.zip4j.tasks.ExtractAllFilesTask.executeTask(ExtractAllFilesTask.java:13)
at net.lingala.zip4j.tasks.AsyncZipTask.performTaskWithErrorHandling(AsyncZipTask.java:41)
at net.lingala.zip4j.tasks.AsyncZipTask.execute(AsyncZipTask.java:35)
at net.lingala.zip4j.ZipFile.extractAll(ZipFile.java:431)
Original archive contained some files, but I modified it via Windows Explorer and 7z and got almost empty sample (empty1.zip), which causes same behavior.
The text was updated successfully, but these errors were encountered:
Thanks for the sample zip file. It helps me a lot to investigate. Fix for this was supposed to be simple, but this is having some side-effects. I am working on it and will update this thread when I have a fix ready.
Hello,
I have the exact same error ("Could not read corresponding local file header for file header: ...") with the latest version (2.2.1), when trying to unzip files that had been zipped with another library (java.util.zip for exemple).
It always happen after unzipping between 4.5 and 5.1 GB
I work with a large amount of files, i don't know if this has an incidence.
It works fine with files that have been zipped with zip4j in the first place.
Hi!
I use your library and just stumbled a problem archive, which causes exception during extracting, despite other archivers works with it normally and even without any warnings.
Stacktrace:
Original archive contained some files, but I modified it via Windows Explorer and 7z and got almost empty sample (empty1.zip), which causes same behavior.
The text was updated successfully, but these errors were encountered: