Jacques Le Roux created OFBIZ-6077:
--------------------------------------
Summary: Error when creating a quote report
Key: OFBIZ-6077
URL:
https://issues.apache.org/jira/browse/OFBIZ-6077 Project: OFBiz
Issue Type: Bug
Components: order
Affects Versions: 13.07.01, Trunk
Reporter: Jacques Le Roux
Create a quote (w/o items), click on Report menu entry
ordermgr/control/QuoteReport?quoteId=CQ10000
You get this error in log
{code}
2015-02-16 07:58:10,762 |http-bio-8443-exec-3 |FOUserAgent |W| "fo:table-body" is missing child elements. Required content model: marker* (table-row+|table-cell+) (See position 202:32)
2015-02-16 07:58:10,763 |http-bio-8443-exec-3 |ScreenFopViewHandler |E| Unable to transform FO file: org.apache.fop.apps.FOPException
java.lang.NullPointerException; Screen XSL:FO text was:
{code}
I think when you try to send the report by email you get a related error (did not check)
{code}
015-02-16 08:00:32,405 |http-bio-8443-exec-9 |FOUserAgent |W| The following feature isn't implemented by Apache FOP, yet: table-layout="auto" (on fo:table) (See position 139:40)
015-02-16 08:00:32,407 |http-bio-8443-exec-9 |FOUserAgent |W| The following feature isn't implemented by Apache FOP, yet: table-layout="auto" (on fo:table) (See position 161:81)
015-02-16 08:00:32,410 |http-bio-8443-exec-9 |FOUserAgent |W| The following feature isn't implemented by Apache FOP, yet: table-layout="auto" (on fo:table) (See position 190:39)
015-02-16 08:00:32,413 |http-bio-8443-exec-9 |FOUserAgent |W| "fo:table-body" is missing child elements. Required content model: marker* (table-row+|table-cell+) (See position 209:32)
015-02-16 08:00:32,414 |http-bio-8443-exec-9 |EmailServices |E| Error rendering PDF attachment for email: org.apache.fop.apps.FOPExceptionava.lang.NullPointerException
org.apache.fop.apps.FOPException
at org.ofbiz.webapp.view.ApacheFopWorker.transform(ApacheFopWorker.java:160) ~[ofbiz-webapp.jar:?]
at org.ofbiz.common.email.EmailServices.sendMailFromScreen(EmailServices.java:533) [ofbiz-common.jar:?]
{code}
Same error with stable demo, I did not test with R14.12, but I suppose it's there also. Both works in the old demo (R12.04).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)