Bug when trying to view an invoice PDF
-------------------------------------- Key: OFBIZ-518 URL: http://issues.apache.org/jira/browse/OFBIZ-518 Project: OFBiz (The Open for Business Project) Issue Type: Bug Components: accounting Affects Versions: SVN trunk Reporter: Jacques Le Roux Fix For: SVN trunk When you click on PDF button for an invoice you get nothing. A snippet of log : 2006-12-03 08:12:58,140 (http-0.0.0.0-8443-Processor4) [ FONode.java:318:WARN ] Warning(34/12): fo:table, table-layout="auto" is currently not supported by FOP 2006-12-03 08:12:58,140 (http-0.0.0.0-8443-Processor4) [ FONode.java:318:WARN ] Warning(45/21): fo:table, table-layout="auto" is currently not supported by FOP 2006-12-03 08:12:58,156 (http-0.0.0.0-8443-Processor4) [ FONode.java:318:WARN ] Warning(96/11): fo:table, table-layout="auto" is currently not supported by FOP ERROR: 'null:222:17: Error(222/17): fo:table-row is missing child elements. Required Content Model: (table-cell+)' 2006-12-03 08:12:58,171 (http-0.0.0.0-8443-Processor4) [ScreenFopPdfViewHandler.java:110:ERROR] FOP transform failed:javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: null:222:1 7: Error(222/17): fo:table-row is missing child elements. Required Content Model: (table-cell+) 2006-12-03 08:12:58,171 (http-0.0.0.0-8443-Processor4) [ ControlServlet.java:181:ERROR] ---- exception report ---------------------------------------------------------- Error in request handler: Exception: javax.xml.transform.TransformerException Message: org.apache.fop.fo.ValidationException: null:222:17: Error(222/17): fo:table-row is missing child elements. Required Content Model: (table-cell+) ---- cause --------------------------------------------------------------------- Exception: org.apache.fop.fo.ValidationException Message: null:222:17: Error(222/17): fo:table-row is missing child elements. Required Content Model: (table-cell+) ---- stack trace --------------------------------------------------------------- org.apache.fop.fo.ValidationException: null:222:17: Error(222/17): fo:table-row is missing child elements. Required Content Model: (table-cell+) org.apache.fop.fo.FONode.missingChildElementError(FONode.java:403) org.apache.fop.fo.flow.TableRow.endOfNode(TableRow.java:125) org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:357) org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:193) com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.endElement(ToXMLSAXHandler.java:262) org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) org.apache.xerces.parsers.XMLParser.parse(Unknown Source) org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:557) com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:638) com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:279) org.ofbiz.widget.screen.ScreenFopPdfViewHandler.render(ScreenFopPdfViewHandler.java:92) org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:602) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:387) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:178) javax.servlet.http.HttpServlet.service(HttpServlet.java:595) javax.servlet.http.HttpServlet.service(HttpServlet.java:688) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:245) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) java.lang.Thread.run(Thread.java:595) -------------------------------------------------------------------------------- -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
[ http://issues.apache.org/jira/browse/OFBIZ-518?page=comments#action_12455152 ]
Jacopo Cappellato commented on OFBIZ-518: ----------------------------------------- Jacques, did you updated and rebuilt (ant clean / ant build) your whole OFBiz installation? Yesterday I've committed the refactoring of the FO stuff and after the the invoice and other documents were working well... > Bug when trying to view an invoice PDF > -------------------------------------- > > Key: OFBIZ-518 > URL: http://issues.apache.org/jira/browse/OFBIZ-518 > Project: OFBiz (The Open for Business Project) > Issue Type: Bug > Components: accounting > Affects Versions: SVN trunk > Reporter: Jacques Le Roux > Fix For: SVN trunk > > > When you click on PDF button for an invoice you get nothing. > A snippet of log : > 2006-12-03 08:12:58,140 (http-0.0.0.0-8443-Processor4) [ FONode.java:318:WARN ] Warning(34/12): fo:table, table-layout="auto" is currently not supported by FOP > 2006-12-03 08:12:58,140 (http-0.0.0.0-8443-Processor4) [ FONode.java:318:WARN ] Warning(45/21): fo:table, table-layout="auto" is currently not supported by FOP > 2006-12-03 08:12:58,156 (http-0.0.0.0-8443-Processor4) [ FONode.java:318:WARN ] Warning(96/11): fo:table, table-layout="auto" is currently not supported by FOP > ERROR: 'null:222:17: Error(222/17): fo:table-row is missing child elements. > Required Content Model: (table-cell+)' > 2006-12-03 08:12:58,171 (http-0.0.0.0-8443-Processor4) [ScreenFopPdfViewHandler.java:110:ERROR] FOP transform failed:javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: null:222:1 > 7: Error(222/17): fo:table-row is missing child elements. > Required Content Model: (table-cell+) > 2006-12-03 08:12:58,171 (http-0.0.0.0-8443-Processor4) [ ControlServlet.java:181:ERROR] > ---- exception report ---------------------------------------------------------- > Error in request handler: > Exception: javax.xml.transform.TransformerException > Message: org.apache.fop.fo.ValidationException: null:222:17: Error(222/17): fo:table-row is missing child elements. > Required Content Model: (table-cell+) > ---- cause --------------------------------------------------------------------- > Exception: org.apache.fop.fo.ValidationException > Message: null:222:17: Error(222/17): fo:table-row is missing child elements. > Required Content Model: (table-cell+) > ---- stack trace --------------------------------------------------------------- > org.apache.fop.fo.ValidationException: null:222:17: Error(222/17): fo:table-row is missing child elements. > Required Content Model: (table-cell+) > org.apache.fop.fo.FONode.missingChildElementError(FONode.java:403) > org.apache.fop.fo.flow.TableRow.endOfNode(TableRow.java:125) > org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:357) > org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:193) > com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.endElement(ToXMLSAXHandler.java:262) > org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) > org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) > org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:557) > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:638) > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:279) > org.ofbiz.widget.screen.ScreenFopPdfViewHandler.render(ScreenFopPdfViewHandler.java:92) > org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:602) > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:387) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:178) > javax.servlet.http.HttpServlet.service(HttpServlet.java:595) > javax.servlet.http.HttpServlet.service(HttpServlet.java:688) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:245) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) > java.lang.Thread.run(Thread.java:595) > -------------------------------------------------------------------------------- -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ http://issues.apache.org/jira/browse/OFBIZ-518?page=all ]
Jacopo Cappellato reassigned OFBIZ-518: --------------------------------------- Assignee: Jacopo Cappellato > Bug when trying to view an invoice PDF > -------------------------------------- > > Key: OFBIZ-518 > URL: http://issues.apache.org/jira/browse/OFBIZ-518 > Project: OFBiz (The Open for Business Project) > Issue Type: Bug > Components: accounting > Affects Versions: SVN trunk > Reporter: Jacques Le Roux > Assigned To: Jacopo Cappellato > Fix For: SVN trunk > > > When you click on PDF button for an invoice you get nothing. > A snippet of log : > 2006-12-03 08:12:58,140 (http-0.0.0.0-8443-Processor4) [ FONode.java:318:WARN ] Warning(34/12): fo:table, table-layout="auto" is currently not supported by FOP > 2006-12-03 08:12:58,140 (http-0.0.0.0-8443-Processor4) [ FONode.java:318:WARN ] Warning(45/21): fo:table, table-layout="auto" is currently not supported by FOP > 2006-12-03 08:12:58,156 (http-0.0.0.0-8443-Processor4) [ FONode.java:318:WARN ] Warning(96/11): fo:table, table-layout="auto" is currently not supported by FOP > ERROR: 'null:222:17: Error(222/17): fo:table-row is missing child elements. > Required Content Model: (table-cell+)' > 2006-12-03 08:12:58,171 (http-0.0.0.0-8443-Processor4) [ScreenFopPdfViewHandler.java:110:ERROR] FOP transform failed:javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: null:222:1 > 7: Error(222/17): fo:table-row is missing child elements. > Required Content Model: (table-cell+) > 2006-12-03 08:12:58,171 (http-0.0.0.0-8443-Processor4) [ ControlServlet.java:181:ERROR] > ---- exception report ---------------------------------------------------------- > Error in request handler: > Exception: javax.xml.transform.TransformerException > Message: org.apache.fop.fo.ValidationException: null:222:17: Error(222/17): fo:table-row is missing child elements. > Required Content Model: (table-cell+) > ---- cause --------------------------------------------------------------------- > Exception: org.apache.fop.fo.ValidationException > Message: null:222:17: Error(222/17): fo:table-row is missing child elements. > Required Content Model: (table-cell+) > ---- stack trace --------------------------------------------------------------- > org.apache.fop.fo.ValidationException: null:222:17: Error(222/17): fo:table-row is missing child elements. > Required Content Model: (table-cell+) > org.apache.fop.fo.FONode.missingChildElementError(FONode.java:403) > org.apache.fop.fo.flow.TableRow.endOfNode(TableRow.java:125) > org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:357) > org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:193) > com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.endElement(ToXMLSAXHandler.java:262) > org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) > org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) > org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:557) > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:638) > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:279) > org.ofbiz.widget.screen.ScreenFopPdfViewHandler.render(ScreenFopPdfViewHandler.java:92) > org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:602) > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:387) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:178) > javax.servlet.http.HttpServlet.service(HttpServlet.java:595) > javax.servlet.http.HttpServlet.service(HttpServlet.java:688) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:245) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) > java.lang.Thread.run(Thread.java:595) > -------------------------------------------------------------------------------- -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ http://issues.apache.org/jira/browse/OFBIZ-518?page=comments#action_12455162 ]
Jacques Le Roux commented on OFBIZ-518: --------------------------------------- Jacopo, Yes sorry. I forgot to say that I have also tried some other PDFs (order, packing slip, return) and they work well. Not sure others are affected but invoice surely is. > Bug when trying to view an invoice PDF > -------------------------------------- > > Key: OFBIZ-518 > URL: http://issues.apache.org/jira/browse/OFBIZ-518 > Project: OFBiz (The Open for Business Project) > Issue Type: Bug > Components: accounting > Affects Versions: SVN trunk > Reporter: Jacques Le Roux > Assigned To: Jacopo Cappellato > Fix For: SVN trunk > > > When you click on PDF button for an invoice you get nothing. > A snippet of log : > 2006-12-03 08:12:58,140 (http-0.0.0.0-8443-Processor4) [ FONode.java:318:WARN ] Warning(34/12): fo:table, table-layout="auto" is currently not supported by FOP > 2006-12-03 08:12:58,140 (http-0.0.0.0-8443-Processor4) [ FONode.java:318:WARN ] Warning(45/21): fo:table, table-layout="auto" is currently not supported by FOP > 2006-12-03 08:12:58,156 (http-0.0.0.0-8443-Processor4) [ FONode.java:318:WARN ] Warning(96/11): fo:table, table-layout="auto" is currently not supported by FOP > ERROR: 'null:222:17: Error(222/17): fo:table-row is missing child elements. > Required Content Model: (table-cell+)' > 2006-12-03 08:12:58,171 (http-0.0.0.0-8443-Processor4) [ScreenFopPdfViewHandler.java:110:ERROR] FOP transform failed:javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: null:222:1 > 7: Error(222/17): fo:table-row is missing child elements. > Required Content Model: (table-cell+) > 2006-12-03 08:12:58,171 (http-0.0.0.0-8443-Processor4) [ ControlServlet.java:181:ERROR] > ---- exception report ---------------------------------------------------------- > Error in request handler: > Exception: javax.xml.transform.TransformerException > Message: org.apache.fop.fo.ValidationException: null:222:17: Error(222/17): fo:table-row is missing child elements. > Required Content Model: (table-cell+) > ---- cause --------------------------------------------------------------------- > Exception: org.apache.fop.fo.ValidationException > Message: null:222:17: Error(222/17): fo:table-row is missing child elements. > Required Content Model: (table-cell+) > ---- stack trace --------------------------------------------------------------- > org.apache.fop.fo.ValidationException: null:222:17: Error(222/17): fo:table-row is missing child elements. > Required Content Model: (table-cell+) > org.apache.fop.fo.FONode.missingChildElementError(FONode.java:403) > org.apache.fop.fo.flow.TableRow.endOfNode(TableRow.java:125) > org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:357) > org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:193) > com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.endElement(ToXMLSAXHandler.java:262) > org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) > org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) > org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:557) > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:638) > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:279) > org.ofbiz.widget.screen.ScreenFopPdfViewHandler.render(ScreenFopPdfViewHandler.java:92) > org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:602) > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:387) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:178) > javax.servlet.http.HttpServlet.service(HttpServlet.java:595) > javax.servlet.http.HttpServlet.service(HttpServlet.java:688) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:245) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) > java.lang.Thread.run(Thread.java:595) > -------------------------------------------------------------------------------- -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ http://issues.apache.org/jira/browse/OFBIZ-518?page=comments#action_12455200 ]
Jacopo Cappellato commented on OFBIZ-518: ----------------------------------------- Jacques, sorry but I cannot reproduce the error; for example, the invoice attached to this order works fine: https://demo.dejc.com:8443/ordermgr/control/orderview?orderId=WS10000 Can you provide further details? > Bug when trying to view an invoice PDF > -------------------------------------- > > Key: OFBIZ-518 > URL: http://issues.apache.org/jira/browse/OFBIZ-518 > Project: OFBiz (The Open for Business Project) > Issue Type: Bug > Components: accounting > Affects Versions: SVN trunk > Reporter: Jacques Le Roux > Assigned To: Jacopo Cappellato > Fix For: SVN trunk > > > When you click on PDF button for an invoice you get nothing. > A snippet of log : > 2006-12-03 08:12:58,140 (http-0.0.0.0-8443-Processor4) [ FONode.java:318:WARN ] Warning(34/12): fo:table, table-layout="auto" is currently not supported by FOP > 2006-12-03 08:12:58,140 (http-0.0.0.0-8443-Processor4) [ FONode.java:318:WARN ] Warning(45/21): fo:table, table-layout="auto" is currently not supported by FOP > 2006-12-03 08:12:58,156 (http-0.0.0.0-8443-Processor4) [ FONode.java:318:WARN ] Warning(96/11): fo:table, table-layout="auto" is currently not supported by FOP > ERROR: 'null:222:17: Error(222/17): fo:table-row is missing child elements. > Required Content Model: (table-cell+)' > 2006-12-03 08:12:58,171 (http-0.0.0.0-8443-Processor4) [ScreenFopPdfViewHandler.java:110:ERROR] FOP transform failed:javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: null:222:1 > 7: Error(222/17): fo:table-row is missing child elements. > Required Content Model: (table-cell+) > 2006-12-03 08:12:58,171 (http-0.0.0.0-8443-Processor4) [ ControlServlet.java:181:ERROR] > ---- exception report ---------------------------------------------------------- > Error in request handler: > Exception: javax.xml.transform.TransformerException > Message: org.apache.fop.fo.ValidationException: null:222:17: Error(222/17): fo:table-row is missing child elements. > Required Content Model: (table-cell+) > ---- cause --------------------------------------------------------------------- > Exception: org.apache.fop.fo.ValidationException > Message: null:222:17: Error(222/17): fo:table-row is missing child elements. > Required Content Model: (table-cell+) > ---- stack trace --------------------------------------------------------------- > org.apache.fop.fo.ValidationException: null:222:17: Error(222/17): fo:table-row is missing child elements. > Required Content Model: (table-cell+) > org.apache.fop.fo.FONode.missingChildElementError(FONode.java:403) > org.apache.fop.fo.flow.TableRow.endOfNode(TableRow.java:125) > org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:357) > org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:193) > com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.endElement(ToXMLSAXHandler.java:262) > org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) > org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) > org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:557) > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:638) > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:279) > org.ofbiz.widget.screen.ScreenFopPdfViewHandler.render(ScreenFopPdfViewHandler.java:92) > org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:602) > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:387) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:178) > javax.servlet.http.HttpServlet.service(HttpServlet.java:595) > javax.servlet.http.HttpServlet.service(HttpServlet.java:688) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:245) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) > java.lang.Thread.run(Thread.java:595) > -------------------------------------------------------------------------------- -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ http://issues.apache.org/jira/browse/OFBIZ-518?page=all ]
Jacopo Cappellato closed OFBIZ-518. ----------------------------------- Resolution: Invalid Jacques, this issue is not blocking at all OFBIZ-362; the problematic patch that is not in svn (but that you have probably applied to you local copy) is OFBIZ-405: in fact that patch contains some bad XSL-FO code that was accepted by the old FOP implementation. Before committing that patch, we should really fix it instead of keeping open this one. > Bug when trying to view an invoice PDF > -------------------------------------- > > Key: OFBIZ-518 > URL: http://issues.apache.org/jira/browse/OFBIZ-518 > Project: OFBiz (The Open for Business Project) > Issue Type: Bug > Components: accounting > Affects Versions: SVN trunk > Reporter: Jacques Le Roux > Assigned To: Jacopo Cappellato > Fix For: SVN trunk > > > When you click on PDF button for an invoice you get nothing. > A snippet of log : > 2006-12-03 08:12:58,140 (http-0.0.0.0-8443-Processor4) [ FONode.java:318:WARN ] Warning(34/12): fo:table, table-layout="auto" is currently not supported by FOP > 2006-12-03 08:12:58,140 (http-0.0.0.0-8443-Processor4) [ FONode.java:318:WARN ] Warning(45/21): fo:table, table-layout="auto" is currently not supported by FOP > 2006-12-03 08:12:58,156 (http-0.0.0.0-8443-Processor4) [ FONode.java:318:WARN ] Warning(96/11): fo:table, table-layout="auto" is currently not supported by FOP > ERROR: 'null:222:17: Error(222/17): fo:table-row is missing child elements. > Required Content Model: (table-cell+)' > 2006-12-03 08:12:58,171 (http-0.0.0.0-8443-Processor4) [ScreenFopPdfViewHandler.java:110:ERROR] FOP transform failed:javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: null:222:1 > 7: Error(222/17): fo:table-row is missing child elements. > Required Content Model: (table-cell+) > 2006-12-03 08:12:58,171 (http-0.0.0.0-8443-Processor4) [ ControlServlet.java:181:ERROR] > ---- exception report ---------------------------------------------------------- > Error in request handler: > Exception: javax.xml.transform.TransformerException > Message: org.apache.fop.fo.ValidationException: null:222:17: Error(222/17): fo:table-row is missing child elements. > Required Content Model: (table-cell+) > ---- cause --------------------------------------------------------------------- > Exception: org.apache.fop.fo.ValidationException > Message: null:222:17: Error(222/17): fo:table-row is missing child elements. > Required Content Model: (table-cell+) > ---- stack trace --------------------------------------------------------------- > org.apache.fop.fo.ValidationException: null:222:17: Error(222/17): fo:table-row is missing child elements. > Required Content Model: (table-cell+) > org.apache.fop.fo.FONode.missingChildElementError(FONode.java:403) > org.apache.fop.fo.flow.TableRow.endOfNode(TableRow.java:125) > org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:357) > org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:193) > com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.endElement(ToXMLSAXHandler.java:262) > org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) > org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) > org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:557) > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:638) > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:279) > org.ofbiz.widget.screen.ScreenFopPdfViewHandler.render(ScreenFopPdfViewHandler.java:92) > org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:602) > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:387) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:178) > javax.servlet.http.HttpServlet.service(HttpServlet.java:595) > javax.servlet.http.HttpServlet.service(HttpServlet.java:688) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:245) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) > java.lang.Thread.run(Thread.java:595) > -------------------------------------------------------------------------------- -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ http://issues.apache.org/jira/browse/OFBIZ-518?page=comments#action_12455250 ]
Jacques Le Roux commented on OFBIZ-518: --------------------------------------- Jacopo, Yes sorry, it was just a quick guess. > Bug when trying to view an invoice PDF > -------------------------------------- > > Key: OFBIZ-518 > URL: http://issues.apache.org/jira/browse/OFBIZ-518 > Project: OFBiz (The Open for Business Project) > Issue Type: Bug > Components: accounting > Affects Versions: SVN trunk > Reporter: Jacques Le Roux > Assigned To: Jacopo Cappellato > Fix For: SVN trunk > > > When you click on PDF button for an invoice you get nothing. > A snippet of log : > 2006-12-03 08:12:58,140 (http-0.0.0.0-8443-Processor4) [ FONode.java:318:WARN ] Warning(34/12): fo:table, table-layout="auto" is currently not supported by FOP > 2006-12-03 08:12:58,140 (http-0.0.0.0-8443-Processor4) [ FONode.java:318:WARN ] Warning(45/21): fo:table, table-layout="auto" is currently not supported by FOP > 2006-12-03 08:12:58,156 (http-0.0.0.0-8443-Processor4) [ FONode.java:318:WARN ] Warning(96/11): fo:table, table-layout="auto" is currently not supported by FOP > ERROR: 'null:222:17: Error(222/17): fo:table-row is missing child elements. > Required Content Model: (table-cell+)' > 2006-12-03 08:12:58,171 (http-0.0.0.0-8443-Processor4) [ScreenFopPdfViewHandler.java:110:ERROR] FOP transform failed:javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: null:222:1 > 7: Error(222/17): fo:table-row is missing child elements. > Required Content Model: (table-cell+) > 2006-12-03 08:12:58,171 (http-0.0.0.0-8443-Processor4) [ ControlServlet.java:181:ERROR] > ---- exception report ---------------------------------------------------------- > Error in request handler: > Exception: javax.xml.transform.TransformerException > Message: org.apache.fop.fo.ValidationException: null:222:17: Error(222/17): fo:table-row is missing child elements. > Required Content Model: (table-cell+) > ---- cause --------------------------------------------------------------------- > Exception: org.apache.fop.fo.ValidationException > Message: null:222:17: Error(222/17): fo:table-row is missing child elements. > Required Content Model: (table-cell+) > ---- stack trace --------------------------------------------------------------- > org.apache.fop.fo.ValidationException: null:222:17: Error(222/17): fo:table-row is missing child elements. > Required Content Model: (table-cell+) > org.apache.fop.fo.FONode.missingChildElementError(FONode.java:403) > org.apache.fop.fo.flow.TableRow.endOfNode(TableRow.java:125) > org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:357) > org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:193) > com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.endElement(ToXMLSAXHandler.java:262) > org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) > org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) > org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:557) > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:638) > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:279) > org.ofbiz.widget.screen.ScreenFopPdfViewHandler.render(ScreenFopPdfViewHandler.java:92) > org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:602) > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:387) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:178) > javax.servlet.http.HttpServlet.service(HttpServlet.java:595) > javax.servlet.http.HttpServlet.service(HttpServlet.java:688) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:245) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) > java.lang.Thread.run(Thread.java:595) > -------------------------------------------------------------------------------- -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
Free forum by Nabble | Edit this page |