poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Noll <dan...@nuix.com.au>
Subject OutOfMemoryError opening a password-protected Word document
Date Wed, 18 Jan 2006 23:47:52 GMT
I've been going over my test document set with POI, extracting text from 
various file formats.

On testing an encrypted (well, password-protected ;-)) Word document, 
I'm getting an OutOfMemoryError when reading the file.

Looking through the bugtracker, I found a bug which is related but might 
not be exactly the same issue:
http://issues.apache.org/bugzilla/show_bug.cgi?id=35897

Does anyone have any code lying around which can check in advance 
whether these document types are password-protected?  I'd like to avoid 
passing these docs into POI if they're going to fail like this.

Daniel

-- 
Daniel Noll

Nuix Australia Pty Ltd
Suite 79, 89 Jones St, Ultimo NSW 2007, Australia
Phone: (02) 9280 0699
Fax:   (02) 9212 6902

This message is intended only for the named recipient. If you are not
the intended recipient you are notified that disclosing, copying,
distributing or taking any action in reliance on the contents of this
message or attachment is strictly prohibited.


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


Mime
View raw message