LEVRERO, Guillaume wrote:
Hi,We have noticed an error in our FO transforms when we upgraded to fop-0.93. Platform: XP SP2, Java JDK 1.5.0_06. Executing fop0.92 with the FO below produces the correct PDF. Executing same FO with fop0.93 gives following error: java.lang.IndexOutOfBoundsException: Index: 2, Size: 2 at java.util.ArrayList.RangeCheck(ArrayList.java:546) at java.util.ArrayList.set(ArrayList.java:337) at org.apache.fop.fo.flow.TableFObj.updateColumnIndex(TableFObj.java:160) ..... This error seems to occurs because there is no <fo:table-cell column-number="2"> on the first row and a number-rows-spanned="2" is applied to the last <fo:table-cell> of row 1.Is this a FOP0.93 bug/regression ?
Well your FO is invalid but FOP should tell you that rather than just throwing an AIOOB Exception! As a wild guess, the column error handling might have been broken when bug 35656 was fixed. Please feel free to raise a bug in Bugzilla and attach your sample FO.
Thanks, Chris --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
