ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Le Roux (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-9802) PDF creation fails in sendOrderConfirmation service
Date Mon, 04 Dec 2017 14:16:00 GMT

    [ https://issues.apache.org/jira/browse/OFBIZ-9802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16276828#comment-16276828
] 

Jacques Le Roux commented on OFBIZ-9802:
----------------------------------------

I checked today, the same happens on the trunk demo:
{code}
2017-12-04 14:08:30,722 |jsse-nio-8443-exec-2 |OFBizSolrContextFilter        |T| [[[solr/control/checkLogin/main(Domain:https://ofbiz-vm2.apache.org)]
Request Done- total:0.112,since last([solr/control/che...):0.112]]
2017-12-04 14:08:30,836 |OFBiz-JobQueue-1     |ServiceDispatcher             |T| Sync service
[default/getReturnableItems] finished in [27] milliseconds
2017-12-04 14:08:30,896 |OFBiz-JobQueue-1     |UtilProperties                |I| ResourceBundle
fop.properties (en_US) created in 0.001s with 15 properties
2017-12-04 14:08:30,896 |OFBiz-JobQueue-1     |ModelScreenWidget             |W| In platform-dependent
could not find template for screenfop, using the one for html.
2017-12-04 14:08:30,897 |OFBiz-JobQueue-1     |FOP                           |D| target-resolution
set to: 72.0dpi (px2mm=0.35277778)
2017-12-04 14:08:30,897 |OFBiz-JobQueue-1     |FOP                           |D| User configuration
found for MIME type application/pdf
2017-12-04 14:08:30,897 |OFBiz-JobQueue-1     |FOP                           |D| User configuration
found for MIME type application/pdf
2017-12-04 14:08:30,941 |OFBiz-JobQueue-1     |EmailServices                 |E| Error rendering
PDF attachment for email: org.apache.fop.apps.FOPException: org.apache.fop.fo.ValidationException:
Document is empty (something might be wrong with your XSLT stylesheet).
javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: Document
is empty (something might be wrong with your XSLT stylesheet).
org.apache.fop.apps.FOPException: org.apache.fop.fo.ValidationException: Document is empty
(something might be wrong with your XSLT stylesheet).
	at org.apache.ofbiz.webapp.view.ApacheFopWorker.transform(ApacheFopWorker.java:178) ~[ofbiz.jar:?]
	at org.apache.ofbiz.common.email.EmailServices.sendMailFromScreen(EmailServices.java:556)
[ofbiz.jar:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_151]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_151]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[?:1.8.0_151]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_151]
	at org.apache.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
[ofbiz.jar:?]
	at org.apache.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
[ofbiz.jar:?]
	at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:398) [ofbiz.jar:?]
	at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:229) [ofbiz.jar:?]
	at org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:88)
[ofbiz.jar:?]
	at org.apache.ofbiz.order.order.OrderServices.sendOrderNotificationScreen(OrderServices.java:2678)
[ofbiz.jar:?]
	at org.apache.ofbiz.order.order.OrderServices.sendOrderConfirmNotification(OrderServices.java:2508)
[ofbiz.jar:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_151]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_151]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[?:1.8.0_151]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_151]
	at org.apache.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
[ofbiz.jar:?]
	at org.apache.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
[ofbiz.jar:?]
	at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:398) [ofbiz.jar:?]
	at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:229) [ofbiz.jar:?]
	at org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:88)
[ofbiz.jar:?]
	at org.apache.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70) [ofbiz.jar:?]
	at org.apache.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87) [ofbiz.jar:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_151]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_151]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]
Caused by: javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException:
Document is empty (something might be wrong with your XSLT stylesheet).
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:502)
~[xalan-2.7.2.jar:?]
	at org.apache.ofbiz.webapp.view.ApacheFopWorker.transform(ApacheFopWorker.java:176) ~[ofbiz.jar:?]
	... 26 more
Caused by: org.apache.fop.fo.ValidationException: Document is empty (something might be wrong
with your XSLT stylesheet).
	at org.apache.fop.events.ValidationExceptionFactory.createException(ValidationExceptionFactory.java:38)
~[fop-2.2.jar:?]
	at org.apache.fop.events.EventExceptionManager.throwException(EventExceptionManager.java:58)
~[fop-2.2.jar:?]
	at org.apache.fop.events.DefaultEventBroadcaster$1.invoke(DefaultEventBroadcaster.java:173)
~[fop-2.2.jar:?]
	at com.sun.proxy.$Proxy29.emptyDocument(Unknown Source) ~[?:?]
	at org.apache.fop.fo.FOTreeBuilder.endDocument(FOTreeBuilder.java:164) ~[fop-2.2.jar:?]
	at org.apache.xalan.transformer.TransformerIdentityImpl.endDocument(TransformerIdentityImpl.java:963)
~[xalan-2.7.2.jar:?]
	at org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
	at org.apache.xerces.impl.dtd.XMLDTDValidator.endDocument(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
	at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
	at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
	at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
	at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
	at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown Source)
~[xercesImpl-2.9.1.jar:?]
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
~[xalan-2.7.2.jar:?]
	at org.apache.ofbiz.webapp.view.ApacheFopWorker.transform(ApacheFopWorker.java:176) ~[ofbiz.jar:?]
	... 26 more
2017-12-04 14:08:30,943 |OFBiz-JobQueue-1     |ServiceDispatcher             |E| Error in
Service [sendMailFromScreen]: Error rendering PDF attachment for email: org.apache.fop.apps.FOPException:
org.apache.fop.fo.ValidationException: Document is empty (something might be wrong with your
XSLT stylesheet).
javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: Document
is empty (something might be wrong with your XSLT stylesheet).
2017-12-04 14:08:30,943 |OFBiz-JobQueue-1     |TransactionUtil               |W| Calling transaction
setRollbackOnly; this stack trace shows where this is happening:
java.lang.Exception: Error in Service [sendMailFromScreen]: Error rendering PDF attachment
for email: org.apache.fop.apps.FOPException: org.apache.fop.fo.ValidationException: Document
is empty (something might be wrong with your XSLT stylesheet).
javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: Document
is empty (something might be wrong with your XSLT stylesheet).
	at org.apache.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:361)
[ofbiz.jar:?]
	at org.apache.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:302)
[ofbiz.jar:?]
	at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:537) [ofbiz.jar:?]
	at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:229) [ofbiz.jar:?]
	at org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:88)
[ofbiz.jar:?]
	at org.apache.ofbiz.order.order.OrderServices.sendOrderNotificationScreen(OrderServices.java:2678)
[ofbiz.jar:?]
	at org.apache.ofbiz.order.order.OrderServices.sendOrderConfirmNotification(OrderServices.java:2508)
[ofbiz.jar:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_151]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_151]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[?:1.8.0_151]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_151]
	at org.apache.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
[ofbiz.jar:?]
	at org.apache.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
[ofbiz.jar:?]
	at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:398) [ofbiz.jar:?]
	at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:229) [ofbiz.jar:?]
	at org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:88)
[ofbiz.jar:?]
	at org.apache.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70) [ofbiz.jar:?]
	at org.apache.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87) [ofbiz.jar:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_151]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_151]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]
2017-12-04 14:08:30,943 |OFBiz-JobQueue-1     |ServiceDispatcher             |T| Sync service
[default/sendMailFromScreen] finished in [1261] milliseconds
2017-12-04 14:08:30,943 |OFBiz-JobQueue-1     |ServiceDispatcher             |E| Error in
Service [sendOrderConfirmation]: Error rendering PDF attachment for email: org.apache.fop.apps.FOPException:
org.apache.fop.fo.ValidationException: Document is empty (something might be wrong with your
XSLT stylesheet).
javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: Document
is empty (something might be wrong with your XSLT stylesheet).
2017-12-04 14:08:30,943 |OFBiz-JobQueue-1     |TransactionUtil               |E| [TransactionUtil.rollback]
java.lang.Exception: Stack Trace
	at org.apache.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:323)
[ofbiz.jar:?]
	at org.apache.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:300)
[ofbiz.jar:?]
	at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:537) [ofbiz.jar:?]
	at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:229) [ofbiz.jar:?]
	at org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:88)
[ofbiz.jar:?]
	at org.apache.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70) [ofbiz.jar:?]
	at org.apache.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87) [ofbiz.jar:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_151]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_151]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]
2017-12-04 14:08:30,944 |OFBiz-JobQueue-1     |TransactionUtil               |I| Transaction
rolled back
2017-12-04 14:08:30,944 |OFBiz-JobQueue-1     |ServiceDispatcher             |T| Sync service
[default/sendOrderConfirmation] finished in [1282] milliseconds
2017-12-04 14:08:30,945 |OFBiz-JobQueue-1     |GenericServiceJob             |E| Async-Service
failed.
java.lang.Exception: Error rendering PDF attachment for email: org.apache.fop.apps.FOPException:
org.apache.fop.fo.ValidationException: Document is empty (something might be wrong with your
XSLT stylesheet).
javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: Document
is empty (something might be wrong with your XSLT stylesheet).
	at org.apache.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:73) [ofbiz.jar:?]
	at org.apache.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87) [ofbiz.jar:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_151]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_151]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]
2017-12-04 14:08:30,956 |OFBiz-JobQueue-1     |PersistedServiceJob           |I| Persisted
Job [10081] Failed. Re-Scheduling : 1512396690945
2017-12-04 1
{code}

> PDF creation fails in sendOrderConfirmation service
> ---------------------------------------------------
>
>                 Key: OFBIZ-9802
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9802
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Jacques Le Roux
>
> After Nicolas fixed OFBIZ-9798, I faced another issue in sendOrderConfirmation:
> {code}
> 2017-10-03 11:32:09,318 |OFBiz-JobQueue-0     |EmailServices                 |E| Error
rendering PDF attachment for email: org.apache.fop.apps.FOPException: org.apache.fop.fo.ValidationException:
Document is
> empty (something might be wrong with your XSLT stylesheet).
> javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: Document
is empty (something might be wrong with your XSLT stylesheet).
> org.apache.fop.apps.FOPException: org.apache.fop.fo.ValidationException: Document is
empty (something might be wrong with your XSLT stylesheet).
>        at org.apache.ofbiz.webapp.view.ApacheFopWorker.transform(ApacheFopWorker.java:176)
~[ofbiz.jar:?]
>      at org.apache.ofbiz.common.email.EmailServices.sendMailFromScreen(EmailServices.java:558)
[ofbiz.jar:?]
>         at sun.reflect.GeneratedMethodAccessor215.invoke(Unknown Source) ~[?:?]
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[?:1.8.0_112]
>         at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_112]
>      at org.apache.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
[ofbiz.jar:?]
>         at org.apache.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
[ofbiz.jar:?]
>         at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:396)
[ofbiz.jar:?]
>         at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:227)
[ofbiz.jar:?]
>         at org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:88)
[ofbiz.jar:?]
>  at org.apache.ofbiz.order.order.OrderServices.sendOrderNotificationScreen(OrderServices.java:2680)
[ofbiz.jar:?]
>        at org.apache.ofbiz.order.order.OrderServices.sendOrderConfirmNotification(OrderServices.java:2510)
[ofbiz.jar:?]
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_112]
>   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_112]
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[?:1.8.0_112]
>         at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_112]
>      at org.apache.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
[ofbiz.jar:?]
>         at org.apache.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
[ofbiz.jar:?]
>         at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:396)
[ofbiz.jar:?]
>         at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:227)
[ofbiz.jar:?]
>         at org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:88)
[ofbiz.jar:?]
>  at org.apache.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70) [ofbiz.jar:?]
>         at org.apache.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87) [ofbiz.jar:?]
>      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[?:1.8.0_112]
>        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[?:1.8.0_112]
>        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112]
> Caused by: javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException:
Document is empty (something might be wrong with your XSLT stylesheet).
>      at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:501)
~[xalan-2.7.0.jar:?]
>        at org.apache.ofbiz.webapp.view.ApacheFopWorker.transform(ApacheFopWorker.java:174)
~[ofbiz.jar:?]
>      ... 25 more
> Caused by: org.apache.fop.fo.ValidationException: Document is empty (something might
be wrong with your XSLT stylesheet).
>   at org.apache.fop.events.ValidationExceptionFactory.createException(ValidationExceptionFactory.java:38)
~[fop-2.1.jar:?]
>        at org.apache.fop.events.EventExceptionManager.throwException(EventExceptionManager.java:58)
~[fop-2.1.jar:?]
>   at org.apache.fop.events.DefaultEventBroadcaster$1.invoke(DefaultEventBroadcaster.java:175)
~[fop-2.1.jar:?]
>    at com.sun.proxy.$Proxy24.emptyDocument(Unknown Source) ~[?:?]
>  at org.apache.fop.fo.FOTreeBuilder.endDocument(FOTreeBuilder.java:164) ~[fop-2.1.jar:?]
>         at org.apache.xalan.transformer.TransformerIdentityImpl.endDocument(TransformerIdentityImpl.java:962)
~[xalan-2.7.0.jar:?]
>      at org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
>    at org.apache.xerces.impl.dtd.XMLDTDValidator.endDocument(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
>     at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
>    at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
>  at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
>       at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
>         at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown
Source) ~[xercesImpl-2.9.1.jar:?]
>    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
~[xercesImpl-2.9.1.jar:?]
>         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
>         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
>         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
>  at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
>  at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
~[xalan-2.7.0.jar:?]
>        at org.apache.ofbiz.webapp.view.ApacheFopWorker.transform(ApacheFopWorker.java:174)
~[ofbiz.jar:?]
>      ... 25 more
> 2017-10-03 11:32:09,321 |OFBiz-JobQueue-0     |ServiceDispatcher             |E| Error
in Service [sendMailFromScreen]: Error rendering PDF attachment for email: org.apache.fop.apps.FOPException:
org.apache.f
> op.fo.ValidationException: Document is empty (something might be wrong with your XSLT
stylesheet).
> javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: Document
is empty (something might be wrong with your XSLT stylesheet).
> 2017-10-03 11:32:09,321 |OFBiz-JobQueue-0     |TransactionUtil               |W| Calling
transaction setRollbackOnly; this stack trace shows where this is happening:
> java.lang.Exception: Error in Service [sendMailFromScreen]: Error rendering PDF attachment
for email: org.apache.fop.apps.FOPException: org.apache.fop.fo.ValidationException: Document
is empty (something migh
> t be wrong with your XSLT stylesheet).
> javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: Document
is empty (something might be wrong with your XSLT stylesheet).
>         at org.apache.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:361)
[ofbiz.jar:?]
>  at org.apache.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:302)
[ofbiz.jar:?]
>         at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:535)
[ofbiz.jar:?]
>         at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:227)
[ofbiz.jar:?]
>         at org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:88)
[ofbiz.jar:?]
>  at org.apache.ofbiz.order.order.OrderServices.sendOrderNotificationScreen(OrderServices.java:2680)
[ofbiz.jar:?]
>        at org.apache.ofbiz.order.order.OrderServices.sendOrderConfirmNotification(OrderServices.java:2510)
[ofbiz.jar:?]
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_112]
>   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_112]
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[?:1.8.0_112]
>         at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_112]
>      at org.apache.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
[ofbiz.jar:?]
>         at org.apache.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
[ofbiz.jar:?]
>         at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:396)
[ofbiz.jar:?]
>         at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:227)
[ofbiz.jar:?]
>         at org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:88)
[ofbiz.jar:?]
>  at org.apache.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70) [ofbiz.jar:?]
>         at org.apache.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87) [ofbiz.jar:?]
>      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[?:1.8.0_112]
>        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[?:1.8.0_112]
>        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112]
> 2017-10-03 11:32:09,321 |OFBiz-JobQueue-0     |ServiceDispatcher             |T| Sync
service [default/sendMailFromScreen] finished in [936] milliseconds
> 2017-10-03 11:32:09,321 |OFBiz-JobQueue-0     |ServiceDispatcher             |E| Error
in Service [sendOrderConfirmation]: Error rendering PDF attachment for email: org.apache.fop.apps.FOPException:
org.apach
> e.fop.fo.ValidationException: Document is empty (something might be wrong with your XSLT
stylesheet).
> javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: Document
is empty (something might be wrong with your XSLT stylesheet).
> 2017-10-03 11:32:09,321 |OFBiz-JobQueue-0     |TransactionUtil               |E| [TransactionUtil.rollback]
> java.lang.Exception: Stack Trace
>        at org.apache.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:323)
[ofbiz.jar:?]
>         at org.apache.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:300)
[ofbiz.jar:?]
>         at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:535)
[ofbiz.jar:?]
>         at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:227)
[ofbiz.jar:?]
>         at org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:88)
[ofbiz.jar:?]
>  at org.apache.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70) [ofbiz.jar:?]
>         at org.apache.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87) [ofbiz.jar:?]
>      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[?:1.8.0_112]
>        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[?:1.8.0_112]
>        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112]
> 2017-10-03 11:32:09,322 |OFBiz-JobQueue-0     |TransactionUtil               |I| Transaction
rolled back
> 2017-10-03 11:32:09,322 |OFBiz-JobQueue-0     |ServiceDispatcher             |T| Sync
service [default/sendOrderConfirmation] finished in [957] milliseconds
> 2017-10-03 11:32:09,322 |OFBiz-JobQueue-0     |GenericServiceJob             |E| Async-Service
failed.
> java.lang.Exception: Error rendering PDF attachment for email: org.apache.fop.apps.FOPException:
org.apache.fop.fo.ValidationException: Document is empty (something might be wrong with your
XSLT stylesheet).
> javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: Document
is empty (something might be wrong with your XSLT stylesheet).
>        at org.apache.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:73)
[ofbiz.jar:?]
>         at org.apache.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87) [ofbiz.jar:?]
>      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[?:1.8.0_112]
>        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[?:1.8.0_112]
>        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112]
> 2017-10-03 11:32:09,322 |OFBiz-JobQueue-0     |PersistedServiceJob           |W| Persisted
Job [12947] Failed. Max Retry Hit, not re-scheduling
> {code}
> I don't think it's related with common-theme because it works on Nicolas's end. To be
checked...



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message