@Zeljko,
We have evaluated your issue thoroughly. Well, your provided file cannot be read by Java’s zip relevant APIs, below code will give the same Exception:
e.g
Sample code:
ZipInputStream zis = new ZipInputStream(new FileInputStream("P034_EN_0008_Bill of Materials_GMSS 3 Phase_Prototype.xlsx"));
while(true)
{
ZipEntry ze = zis.getNextEntry();
if(ze == null)break;
System.out.println(ze.getName());
}
For such kind of file, we provide one System property which allows user to use Apache’s Zip tool to replace JDK’s default zip apis:
e.g
Sample code:
System.setProperty("Aspose.Cells.ZipTool", "APACHE");
Workbook wb = new Workbook("P034_EN_0008_Bill of Materials_GMSS 3 Phase_Prototype.xlsx");
To use apache’s zip tool, please add corresponding library (for example, ant.jar) into the classpath before executing the application.
Thank you.