Hi, This bug is related to post http://www.nabble.com/FOP-0.95-BETA---java.lang.NullPointerException-ts16491465.html. I am recieving the following error in .95 beta and not in 0.94. SEVERE: Exception javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: Error(22/56): column-number or number of cells in the row overflows the number of fo:table-column specified for the table. at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:217) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125) at org.apache.fop.cli.Main.startFOP(Main.java:166) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.fop.cli.Main.startFOPWithDynamicClasspath(Main.java:132) at org.apache.fop.cli.Main.main(Main.java:199) --------- javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: Error(22/56): column-number or number of cells in the row overflows the number of fo:table-column specified for the table. at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:501) at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:214) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125) at org.apache.fop.cli.Main.startFOP(Main.java:166) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.fop.cli.Main.startFOPWithDynamicClasspath(Main.java:132) at org.apache.fop.cli.Main.main(Main.java:199) Caused by: org.apache.fop.fo.ValidationException: Error(22/56): column-number or number of cells in the row overflows the number of fo:table-column specified for the table. at org.apache.fop.fo.flow.table.TableCellContainer.addTableCellChild(TableCellContainer.java:50) at org.apache.fop.fo.flow.table.TableRow.addChildNode(TableRow.java:92) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:317) at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:163) at org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1072) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484) ... 9 more --------- org.apache.fop.fo.ValidationException: Error(22/56): column-number or number of cells in the row overflows the number of fo:table-column specified for the table. at org.apache.fop.fo.flow.table.TableCellContainer.addTableCellChild(TableCellContainer.java:50) at org.apache.fop.fo.flow.table.TableRow.addChildNode(TableRow.java:92) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:317) at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:163) at org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1072) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484) at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:214) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125) at org.apache.fop.cli.Main.startFOP(Main.java:166) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.fop.cli.Main.startFOPWithDynamicClasspath(Main.java:132) at org.apache.fop.cli.Main.main(Main.java:199) I've attached a sample FO. Regards, Phil
Created attachment 21805 [details] Error Report Sample FO to replicate error
Created attachment 21806 [details] Sample FO Attached is a sample fo. Rename ext to .fo
Well, as the error message tells you there is a cell overflow. In your FO, the second cell in the table-body has a number-columns-spanned="2" so you effectively have three columns but you only specified the width for two. So this is no bug but a problem in your FO.
As always, Jeremias thank you! (In reply to comment #3) > Well, as the error message tells you there is a cell overflow. In your FO, the > second cell in the table-body has a number-columns-spanned="2" so you > effectively have three columns but you only specified the width for two. So > this is no bug but a problem in your FO.
batch transition to closed remaining pre-FOP1.0 resolved bugs