You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by Jigna Joshi <jj...@asite.com> on 2008/07/30 09:22:16 UTC

POI Exception

 

HI,

 

I am using 

poi-3.0.1-FINAL-20070705.jar, poi-contrib-3.0.1-FINAL-20070705.jar,
poi-scratchpad-3.0.1-FINAL-20070705.jar  jars for index creation of
documents..

I am getting below exception when I try to do indexing of password
protected document.

 

 

java.lang.NegativeArraySizeException

12:49:45,319 INFO  [STDOUT] : 140   at
org.apache.poi.hwpf.model.FIBFieldHandler.<init>(FIBFieldHandler.java:14
1)

12:49:45,319 INFO  [STDOUT] : 140   at
org.apache.poi.hwpf.model.FileInformationBlock.fillVariableFields(FileIn
formationBlock.java:67)

12:49:45,319 INFO  [STDOUT] : 140   at
org.apache.poi.hwpf.HWPFDocument.<init>(HWPFDocument.java:177)

12:49:45,319 INFO  [STDOUT] : 140   at
org.apache.poi.hwpf.extractor.WordExtractor.<init>(WordExtractor.java:57
)

12:49:45,319 INFO  [STDOUT] : 140   at
org.apache.poi.hwpf.extractor.WordExtractor.<init>(WordExtractor.java:49
)

12:49:45,319 INFO  [STDOUT] : 140   at
com.asite.collab.content.util.filters.WordDocumentFilterImpl.getContentR
eader(WordDocumentFilterImpl.java:54)

12:49:45,319 INFO  [STDOUT] : 140   at 

 

I have also tried the same with 3.0.2 version of above jars..but getting
same exception

Please do the needful.

 

Thanking You.

 

Best Regards,

Jigna Joshi

Developer

Asite Solutions Pvt. Ltd.

Delivering Data Logistics

http:// <http://www.asite.com/> www.asite.com <http://www.asite.com/> 

T              +91 (0)79 2687 1002
E              jjoshi@asite.com 
M