Hello,
i got an exception when i try to read a password protected "shared Workbook" in
Excel 2007.
Exception in thread "main" java.lang.IllegalArgumentException: The supplied
POIFSFileSystem does not contain a BIFF8 'Workbook' entry. Is it really an
excel file?
at
org.apache.poi.hssf.usermodel.HSSFWorkbook.getWorkbookDirEntryName(HSSFWorkbook.java:229)
at
org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:270)
at
org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:250)
at
org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:194)
at
org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:329)
at
org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:310)
at
org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:64)
wb = WorkbookFactory.create(new FileInputStream(avListPath));
when I remove the sharing it works well
thanks in advance and kind regards
Christoph Rid
NOTICE: This message, together with any attachments, may contain privileged
and/or confidential information. If you have received this e-mail in error or
are not an intended recipient, you may not use, reproduce, disseminate or
distribute it; do not open nor save any attachments, delete it immediately from
your system and notify the sender promptly by e-mail that you have done so.
Thank you.