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)
---------------------------------------------------------------------
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/