Exception when unzipping file

Aug 8, 2009 at 12:12 AM

When I try to unzip a particular file (either inside my application or from your test app), I get the following exception.  Note that with 1.7.2.26, it worked fine.  If you want, I can e-mail the file to you.  It's only 280K.

exception: Ionic.Zip.ZipException: zoneinfo.zip could not be read ---> Ionic.Zip.BadReadException:   Unexpected datasize (0x0009) for Extended Timestamp extra field at position 0x000000000000002C
   at Ionic.Zip.ZipEntry.ProcessExtraField(Int16 extraFieldLength)
   at Ionic.Zip.ZipEntry.ReadExtraField()
   at Ionic.Zip.ZipEntry.ProcessExtraField(Int16 extraFieldLength)
   at Ionic.Zip.ZipEntry.ReadDirEntry(ZipFile zf)
   at Ionic.Zip.ZipFile.ReadCentralDirectory(ZipFile zf)
   at Ionic.Zip.ZipFile.ReadIntoInstance(ZipFile zf)
   at Ionic.Zip.ZipFile.Read(String fileName, TextWriter statusMessageWriter, Encoding encoding, EventHandler`1 readProgress)
   --- End of inner exception stack trace ---
   at Ionic.Zip.ZipFile.Read(String fileName, TextWriter statusMessageWriter, Encoding encoding, EventHandler`1 readProgress)
   at Ionic.Zip.ZipFile.Read(String fileName)
   at Ionic.Zip.Examples.UnZip.Main(String[] args)

Coordinator
Aug 8, 2009 at 12:56 AM

no, you don't need to send the zip, I can see the problem just looking at it.

Coordinator
Aug 8, 2009 at 1:53 AM
Edited Aug 11, 2009 at 6:58 AM

I think I fixed that problem in v1.8.4.16.