You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Arun Patidar (JIRA)" <ji...@apache.org> on 2015/06/20 11:03:00 UTC
[jira] [Closed] (OFBIZ-6512) service engine notification cause
exception
[ https://issues.apache.org/jira/browse/OFBIZ-6512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arun Patidar closed OFBIZ-6512.
-------------------------------
Resolution: Fixed
Closing this issue. Please feel free to reopen it if you have different thought or fix for the same.
> service engine notification cause exception
> -------------------------------------------
>
> Key: OFBIZ-6512
> URL: https://issues.apache.org/jira/browse/OFBIZ-6512
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: Trunk
> Reporter: Wai
> Assignee: Arun Patidar
>
> In serviceengine.xml, when notification group, default.success.main, is enabled, exception occurs.
> eg.
> <service-config ...>
> ...
> <notification-group name="default.success.main">
> <notification subject="Service Success ${model.serviceName}"
> screen="component://content/widget/EmailScreens.xml#ServiceNotification"/>
> <notify type="from">from@example.com</notify>
> <notify type="to">to@example.com</notify>
> </notification-group>
> 2015-06-17 08:12:03,832 |http-bio-8443-exec-1 |ServiceDispatcher |T| [[Sync service failed...- total:0.0,since last(Begin):0.0]] - 'catalog / sendMailFromScreen'
> 2015-06-17 08:12:03,833 |http-bio-8443-exec-1 |TransactionUtil |W| Not committing transaction, status is No Transaction (6)
> 2015-06-17 08:12:03,833 |http-bio-8443-exec-1 |ServiceDispatcher |T| [[Sync service failed...- total:0.0,since last(Begin):0.0]] - 'catalog / sendMailFromScreen'
> 2015-06-17 08:12:03,837 |http-bio-8443-exec-1 |TransactionUtil |I| Transaction rolled back
> 2015-06-17 08:12:03,837 |http-bio-8443-exec-1 |TransactionUtil |W| Not committing transaction, status is No Transaction (6)
> 2015-06-17 08:12:03,837 |http-bio-8443-exec-1 |ServiceDispatcher |T| [[Sync service failed...- total:0.0,since last(Begin):0.0]] - 'catalog / sendMailFromScreen'
> 2015-06-17 08:12:03,837 |http-bio-8443-exec-1 |TransactionUtil |I| Transaction rolled back
> 2015-06-17 08:12:03,837 |http-bio-8443-exec-1 |TransactionUtil |W| Not committing transaction, status is No Transaction (6)
> 2015-06-17 08:12:03,838 |http-bio-8443-exec-1 |ModelNotification |E| null
> org.ofbiz.service.GenericServiceException: Service [sendMailFromScreen] target threw an unexpected exception (null)
> at org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:115) ~[ofbiz-service.jar:?]
> at org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57) ~[ofbiz-service.jar:?]
> at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:395) ~[ofbiz-service.jar:?]
> at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:227) ~[ofbiz-service.jar:?]
> at org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:103) ~[ofbiz-service.jar:?]
> at org.ofbiz.service.ModelNotification.callNotify(ModelNotification.java:54) ~[ofbiz-service.jar:?]
> at org.ofbiz.service.ModelService.evalNotifications(ModelService.java:1020) ~[ofbiz-service.jar:?]
> at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:554) ~[ofbiz-service.jar:?]
> at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:227) ~[ofbiz-service.jar:?]
> at org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:88) ~[ofbiz-service.jar:?]
> at org.ofbiz.widget.renderer.ScreenRenderer.populateBasicContext(ScreenRenderer.java:172) ~[ofbiz-widget.jar:?]
> at org.ofbiz.widget.renderer.ScreenRenderer.populateBasicContext(ScreenRenderer.java:150) ~[ofbiz-widget.jar:?]
> at org.ofbiz.widget.renderer.ScreenRenderer.populateContextForService(ScreenRenderer.java:320) ~[ofbiz-widget.jar:?]
> at org.ofbiz.common.email.EmailServices.sendMailFromScreen(EmailServices.java:465) ~[ofbiz-common.jar:?]
> at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source) ~[?:?]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_31]
> at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_31]
> at org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100) ~[ofbiz-service.jar:?]
> at org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57) ~[ofbiz-service.jar:?]
> at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:395) ~[ofbiz-service.jar:?]
> at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:227) ~[ofbiz-service.jar:?]
> at org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:103) ~[ofbiz-service.jar:?]
> at org.ofbiz.service.ModelNotification.callNotify(ModelNotification.java:54) ~[ofbiz-service.jar:?]
> at org.ofbiz.service.ModelService.evalNotifications(ModelService.java:1020) ~[ofbiz-service.jar:?]
> at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:554) ~[ofbiz-service.jar:?]
> at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:227) ~[ofbiz-service.jar:?]
> at org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:88) ~[ofbiz-service.jar:?]
> at org.ofbiz.widget.renderer.ScreenRenderer.populateBasicContext(ScreenRenderer.java:172) ~[ofbiz-widget.jar:?]
> at org.ofbiz.widget.renderer.ScreenRenderer.populateBasicContext(ScreenRenderer.java:150) ~[ofbiz-widget.jar:?]
> at org.ofbiz.widget.renderer.ScreenRenderer.populateContextForService(ScreenRenderer.java:320) ~[ofbiz-widget.jar:?]
> at org.ofbiz.common.email.EmailServices.sendMailFromScreen(EmailServices.java:465) ~[ofbiz-common.jar:?]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)