You cannot attach a patch to this e-mail list. Please file a bug report to
<http://issues.apache.org/bugzilla/> and attach your patch! Could you please
also provide a JUnit test case? Thanks!

> I modify the file ListLevel.java.
> When parsing some doc files, the _numberText might be below zero (I don't
> why)
> and then cause error, such as
> 
> java.lang.NegativeArraySizeException
>         at org.apache.poi.hwpf.model.ListLevel.<init>(ListLevel.java:115)
>         at
>
org.apache.poi.hwpf.model.ListFormatOverrideLevel.<init>(ListFormatOverrideL
> evel.java:48)
>         at org.apache.poi.hwpf.model.ListTables.<init>(ListTables.java:85)
>         at org.apache.poi.hwpf.HWPFDocument.<init>(HWPFDocument.java:172)
>         .............
> 
> So I add some handle about _numberText.
> 
> Best regards,
>         Der-Johng Sun (derjohng)

Best regards
Rainer Klute

-- 
                  RAINER KLUTE IT-CONSULTING GMBH
Dipl.-Inform.
Rainer Klute      [EMAIL PROTECTED]
K�rner Grund 24   Telefon: +49 172 2324824
D-44143 Dortmund  Telefax: +49 231 5349423

Sparen beginnt mit GMX DSL: http://www.gmx.net/de/go/dsl

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:    http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/

Reply via email to