Hello!

I have problem with the WordDocument object.

When I make a new instance

WordDocument myWD = new WordDocument("test.doc");

i always become the fallowing error:

Exception in thread "main" 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:1670)
at rg.apache.poi.hdf.extractor.WordDocument.findFormatting(WordDocument.java:399)
at
org.apache.poi.hdf.extractor.WordDocument.processComplexFile(WordDocument.java:326)
at org.apache.poi.hdf.extractor.WordDocument.readFIB(WordDocument.java:278)
at org.apache.poi.hdf.extractor.WordDocument.<init>(WordDocument.java:228)
at HDFtest.main(HDFtest.java:15)

I tested that with the release, nightly and dev version. I also tested that with
the jdk 1.3 and jdk 1.4 but I had always the same error :(

THX for help

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to