Hi
    I tried out the two example programs in the Nested Tables section. The
first one gives this output :

Chapter 5 example 14: nested tables
Error: 4
4
com.lowagie.text.DocumentException: 4
at com.lowagie.text.pdf.PdfDocument.add(PdfDocument.java:1814)
at com.lowagie.text.Document.add(Document.java:275)
at
com.industriallogic.shopping.catalogTests.NestedTable.main(NestedTable.java:
42)

The second one gives this output:

Chapter 5 example 15: nested tables
java.lang.ArrayIndexOutOfBoundsException: 3
at com.lowagie.text.Table.mergeInsertedTables(Table.java:1346)
at com.lowagie.text.Table.complete(Table.java:706)
at com.lowagie.text.Table.insertTable(Table.java:683)
at com.lowagie.text.Table.addCell(Table.java:549)
at
com.industriallogic.shopping.catalogTests.NestedTables2.main(NestedTables2.j
ava:39)
Exception in thread "main"

I copied the program as is from the docs, and the only addition was to print
the stack trace on encountering an exception.

Regards,
Somik



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to