We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Error for ZipFile

Hi Guys,
can you please help with this one:

com.aspose.cells.CellsException: Error for ZipFile
at com.aspose.cells.zasj.a(Unknown Source)
at com.aspose.cells.a.f.zi.(Unknown Source)
at com.aspose.cells.a.f.zi.a(Unknown Source)
at com.aspose.cells.zpd.a(Unknown Source)
at com.aspose.cells.Workbook.a(Unknown Source)
at com.aspose.cells.Workbook.a(Unknown Source)
at com.aspose.cells.Workbook.(Unknown Source)
Caused by: java.util.zip.ZipException: invalid entry size (expected 0 but got 587 bytes)
at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:383)
at java.util.zip.ZipInputStream.read(ZipInputStream.java:196)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
at java.io.BufferedInputStream.read(BufferedInputStream.java:265)
at com.aspose.cells.a.f.zf.e(Unknown Source)
at com.aspose.cells.a.f.zf.(Unknown Source)
at com.aspose.cells.a.f.ze.a(Unknown Source)
… 19 more

we are using aspose-cells 8.5.0

Hi Charles,

You are probably getting this exception while loading a specific spreadsheet. Could you please share the spreadsheet in question for our testing? You can also give a try to the latest version of Aspose.Cells for Java 8.5.1 on your end to see if you can replicate the problem.

Hi again,

Just wanted to add, if you are able to replicate the said exception while using the latest revision of the Aspose.Cells for Java 8.5.1 (download link shared in my previous response) then we will require the following information along with the problematic sample for thorough investigation.

  • Operating system version
  • Operating system architecture
  • JDK vendor
  • JDK type
  • A list of JVM parameters set for the process/program (if any)
  • System locale/region settings