poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Ackley" <sack...@cfl.rr.com>
Subject Re: POI-Scratchpad
Date Wed, 17 Dec 2003 12:07:51 GMT
This is a known problem and one of the reasons HWPF is still in scratchpad.
This bug is on the top of my list. I will fix it in the next month or two.

-Ryan

----- Original Message ----- 
From: "Abdul Wahab" <awahab@erp21.com.my>
To: "POI Users List" <poi-user@jakarta.apache.org>; "Ryan Ackley"
<sackley@apache.org>
Sent: Wednesday, December 17, 2003 12:38 AM
Subject: RE: POI-Scratchpad


> Hi,
>
> Thanks for ur reply. I have solved that problem by giving
poi-scratchpad.jar
> path prior to poi.jar in classpath. Now its works fine.. But encountring
> another problem..
>
> When I try to read the document which contains table formats, throwing
> java.lang.NegativeArraySizeException ...
>
> Exception Stack Trace:-
>
> java.lang.NegativeArraySizeException
>         at
>
org.apache.poi.hdf.extractor.data.ListTables.createLVL(ListTables.java:206)
>         at
> org.apache.poi.hdf.extractor.data.ListTables.initLFO(ListTables.java:184)
>         at
> org.apache.poi.hdf.extractor.data.ListTables.<init>(ListTables.java:78)
>         at
>
org.apache.poi.hdf.extractor.WordDocument.createListTables(WordDocument.java
> :1679)
>         at
>
org.apache.poi.hdf.extractor.WordDocument.findFormatting(WordDocument.java:4
> 08)
>         at
>
org.apache.poi.hdf.extractor.WordDocument.processComplexFile(WordDocument.ja
> va:335)
>         at
> org.apache.poi.hdf.extractor.WordDocument.readFIB(WordDocument.java:287)
>         at
> org.apache.poi.hdf.extractor.WordDocument.<init>(WordDocument.java:239)
>         at helperbean.DocumentBean.searchInDocFile(DocumentBean.java:322)
>
> Any solution for this problem
>
> Thanks.
>
>
> -----Original Message-----
> From: Ryan Ackley [mailto:sackley@cfl.rr.com]
> Sent: Tuesday, December 16, 2003 10:32 PM
> To: POI Users List
> Subject: Re: POI-Scratchpad
>
>
> Please post the entire stacktrace
>
> -Ryan
>
> ----- Original Message -----
> From: <simon.j.faughnan@accenture.com>
> To: <poi-user@jakarta.apache.org>
> Sent: Tuesday, December 16, 2003 4:04 AM
> Subject: RE: POI-Scratchpad
>
>
> Hi Abdul,
>
> I had a similar problem and I discovered that it had to do with the size
of
> the Word Document you are trying to open.  If it has no content (or a
small
> amount) the error you have below occurred for me.  Try opening a file that
> is a couple of paragraphs long.  My requirements mean that Documents will
> always be at least one page of content long so I have not investigated
this
> problem further at present.
>
> Regards,
> Simon.
>
> -----Original Message-----
> From: Abdul Wahab [mailto:awahab@erp21.com.my]
> Sent: Tue 16/12/2003 07:12
> To: POI Users List
> Cc:
> Subject: POI-Scratchpad
>
>
>
> Hi All,
>
> Does anyone having POI-scratchpad example program to read MSWord document.
> Im trying with poi-scratchpad-2.0-RC1-20031102.jar parser, but getting
> error..
>
> Error - java.io.IOException: Unable to read entire header; -1 bytes read;
> expect
> ed 512 bytes
>
> Can u help me to solve this issue.
>
> When can we expect HWPF to make fully use of MSWord in java.
>
> Thanks.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: poi-user-help@jakarta.apache.org
>
>
>
>
>
> This message is for the designated recipient only and may contain
> privileged, proprietary, or otherwise private information.  If you have
> received it in error, please notify the sender immediately and delete the
> original.  Any other use of the email by you is prohibited.
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: poi-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: poi-user-help@jakarta.apache.org
>
>
> ---
> [This E-mail scanned for viruses by iRepublics.com Anti Virus Solutions]
>
>
> p.s. get your web hosted for free at iRepublics.com
> 33MB webspace free, SMS messaging, 30 email accounts
>


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


Mime
View raw message