poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47563] New: Exception when working with table
Date Thu, 23 Jul 2009 10:53:47 GMT

           Summary: Exception when working with table
           Product: POI
           Version: 3.5-dev
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HWPF
        AssignedTo: dev@poi.apache.org
        ReportedBy: udittmer@yahoo.com

Created an attachment (id=24022)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24022)
creates DOC files with tables in various sizes; only the 2x2 table is OK

The attached source file creates DOC files containing a single table. Filling
in the table contents only works for the 2x2 table; all other table sizes cause
an exception to be thrown like this one:

java.lang.IllegalArgumentException: The end (15) must not be before the start
at org.apache.poi.hwpf.usermodel.Range.sanityCheckStartEnd(Range.java:247)
at org.apache.poi.hwpf.usermodel.Range.<init>(Range.java:181)
at org.apache.poi.hwpf.usermodel.Paragraph.<init>(Paragraph.java:103)
at org.apache.poi.hwpf.usermodel.Range.getParagraph(Range.java:830)
at CreateWordDocTable.test(CreateWordDocTable.java:31)

Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

View raw message