You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xmlgraphics.apache.org by bu...@apache.org on 2008/04/10 13:58:36 UTC

DO NOT REPLY [Bug 44796] New: FOP-0.95-BETA - org.apache.fop.fo. ValidationException

https://issues.apache.org/bugzilla/show_bug.cgi?id=44796

           Summary: FOP-0.95-BETA - org.apache.fop.fo.ValidationException
           Product: XMLGraphicsCommons
           Version: Trunk
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P2
         Component: PostScript
        AssignedTo: general@xmlgraphics.apache.org
        ReportedBy: philip.vallone@verizon.net


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


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

---------------------------------------------------------------------
Apache XML Graphics Project URL: http://xmlgraphics.apache.org/
To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org


DO NOT REPLY [Bug 44796] FOP-0.95-BETA - org.apache.fop.fo. ValidationException

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44796


bonekrusher <ph...@verizon.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #21805|Sample FO to replicate error|Error Report
        description|                            |




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

---------------------------------------------------------------------
Apache XML Graphics Project URL: http://xmlgraphics.apache.org/
To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org


DO NOT REPLY [Bug 44796] FOP-0.95-BETA - org.apache.fop.fo. ValidationException

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44796





--- Comment #2 from bonekrusher <ph...@verizon.net>  2008-04-10 05:03:01 PST ---
Created an attachment (id=21806)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21806)
Sample FO

Attached is a sample fo. Rename ext to .fo


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

---------------------------------------------------------------------
Apache XML Graphics Project URL: http://xmlgraphics.apache.org/
To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org


DO NOT REPLY [Bug 44796] FOP-0.95-BETA - org.apache.fop.fo. ValidationException

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44796





--- Comment #1 from bonekrusher <ph...@verizon.net>  2008-04-10 05:01:21 PST ---
Created an attachment (id=21805)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21805)
Sample FO to replicate error

Sample FO to replicate error


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

---------------------------------------------------------------------
Apache XML Graphics Project URL: http://xmlgraphics.apache.org/
To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org


DO NOT REPLY [Bug 44796] FOP-0.95-BETA - org.apache.fop.fo. ValidationException

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44796


Jeremias Maerki <je...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|general@xmlgraphics.apache.o|fop-
                   |rg                          |dev@xmlgraphics.apache.org
          Component|PostScript                  |fo tree
            Product|XMLGraphicsCommons          |Fop
   Target Milestone|--                          |---
            Version|Trunk                       |1.0dev




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

---------------------------------------------------------------------
Apache XML Graphics Project URL: http://xmlgraphics.apache.org/
To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org