poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 27548] - getting InvocationTargetException while reading Excel File
Date Tue, 16 Mar 2004 03:08:30 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27548>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27548

getting InvocationTargetException while reading Excel File





------- Additional Comments From zalewski@optonline.net  2004-03-16 03:08 -------
I believe this happens because the workbook is encrypted. If you run through 
BiffViewer, you can see that the WRITEPROTECT record is present, and the first 
records after WRITEPROTECT contain very strange data. The first record after 
the WRITEPROTECT that contains a String is the FONT record, but the font name 
cannot be read because the name and length are encrypted. POI does not support 
encryption and cannot read a workbook which is password protected.

Try removing the protection and see if the program works.

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-dev-help@jakarta.apache.org


Mime
View raw message