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

Eric de Maulde edited comment on OFBIZ-5016 at 8/21/12 7:45 PM:
----------------------------------------------------------------

This error appears on demo trunk server too : 
https://demo-trunk.ofbiz.apache.org:8443/ecommerce
I created the order id : WSCO10003

The full error is :

2012-08-21 09:39:06,237 (OFBiz-JobQueue-0) [ ModelService.java:571:ERROR] 
[ModelService.validate] : {createCommContentDataResource} : (OUT) Required test 
error: org.ofbiz.service.ServiceValidationException: Unknown parameter found: 
[createCommContentDataResource.success]
2012-08-21 09:39:06,238 (OFBiz-JobQueue-0) [ ServiceDispatcher.java:492:INFO ] 
[[Sync service failed...- total:0.0,since last(Begin):0.0]] - 'default / 
createCommContentDataResource'
2012-08-21 09:39:06,239 (OFBiz-JobQueue-0) [ TransactionUtil.java:379:WARN ] 
---- exception report 
---------------------------------------------------------- 
[TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this 
stack trace shows where this is happening: Exception: java.lang.Exception 
Message: Service [createCommContentDataResource] threw an unexpected 
exception/error ---- stack trace 
--------------------------------------------------------------- 
java.lang.Exception: Service [createCommContentDataResource] threw an 
unexpected exception/error 
org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:379)
 
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:320) 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:497) 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:215) 
org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83)
 
org.ofbiz.party.communication.CommunicationEventServices.createAttachmentContent(CommunicationEventServices.java:1022)
 
org.ofbiz.party.communication.CommunicationEventServices.updateCommEventAfterEmail(CommunicationEventServices.java:648)
 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 java.lang.reflect.Method.invoke(Method.java:597) 
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
 
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57) 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:380) 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:215) 
org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83)
 org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:138) 
org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:159) 
org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:188) 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:477) 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:215) 
org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83)
 
org.ofbiz.common.email.EmailServices.sendMailFromScreen(EmailServices.java:582) 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 java.lang.reflect.Method.invoke(Method.java:597) 
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
 
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57) 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:380) 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:215) 
org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83)
 
org.ofbiz.order.order.OrderServices.sendOrderNotificationScreen(OrderServices.java:2622)
 
org.ofbiz.order.order.OrderServices.sendOrderConfirmNotification(OrderServices.java:2469)
 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 java.lang.reflect.Method.invoke(Method.java:597) 
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
 
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57) 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:380) 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:215) 
org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83)
 org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:69) 
org.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87) 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 
java.lang.Thread.run(Thread.java:662) 
--------------------------------------------------------------------------------
2012-08-21 09:39:06,240 (OFBiz-JobQueue-0) [ ServiceDispatcher.java:515:ERROR] 
Error in Service [updateCommEventAfterEmail]: Outgoing result (in runSync : 
createCommContentDataResource) does not match expected requirements (Unknown 
parameter found: [createCommContentDataResource.success]) 

... And more
                
      was (Author: eric13007):
    This error appears on demo trunk server too : 
https://demo-trunk.ofbiz.apache.org:8443/ecommerce
I created the order id : WSCO10003

The full error is :

2012-08-21 09:39:06,237 (OFBiz-JobQueue-0) [ ModelService.java:571:ERROR] 
[ModelService.validate] : {createCommContentDataResource} : (OUT) Required test 
error: org.ofbiz.service.ServiceValidationException: Unknown parameter found: 
[createCommContentDataResource.success]
2012-08-21 09:39:06,238 (OFBiz-JobQueue-0) [ ServiceDispatcher.java:492:INFO ] 
[[Sync service failed...- total:0.0,since last(Begin):0.0]] - 'default / 
createCommContentDataResource'
2012-08-21 09:39:06,239 (OFBiz-JobQueue-0) [ TransactionUtil.java:379:WARN ] 
---- exception report 
---------------------------------------------------------- 
[TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this 
stack trace shows where this is happening: Exception: java.lang.Exception 
Message: Service [createCommContentDataResource] threw an unexpected 
exception/error ---- stack trace 
--------------------------------------------------------------- 
java.lang.Exception: Service [createCommContentDataResource] threw an 
unexpected exception/error 
org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:379)
 
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:320) 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:497) 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:215) 
org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83)
 
org.ofbiz.party.communication.CommunicationEventServices.createAttachmentContent(CommunicationEventServices.java:1022)
 
org.ofbiz.party.communication.CommunicationEventServices.updateCommEventAfterEmail(CommunicationEventServices.java:648)
 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 java.lang.reflect.Method.invoke(Method.java:597) 
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
 
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57) 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:380) 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:215) 
org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83)
 org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:138) 
org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:159) 
org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:188) 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:477) 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:215) 
org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83)
 
org.ofbiz.common.email.EmailServices.sendMailFromScreen(EmailServices.java:582) 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 java.lang.reflect.Method.invoke(Method.java:597) 
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
 
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57) 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:380) 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:215) 
org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83)
 
org.ofbiz.order.order.OrderServices.sendOrderNotificationScreen(OrderServices.java:2622)
 
org.ofbiz.order.order.OrderServices.sendOrderConfirmNotification(OrderServices.java:2469)
 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 java.lang.reflect.Method.invoke(Method.java:597) 
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
 
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57) 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:380) 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:215) 
org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83)
 org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:69) 
org.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87) 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 
java.lang.Thread.run(Thread.java:662) 
--------------------------------------------------------------------------------
2012-08-21 09:39:06,240 (OFBiz-JobQueue-0) [ ServiceDispatcher.java:515:ERROR] 
Error in Service [updateCommEventAfterEmail]: Outgoing result (in runSync : 
createCommContentDataResource) does not match expected requirements (Unknown 
parameter found: [createCommContentDataResource.success]) 
                  
> createCommContentDataResource service error
> -------------------------------------------
>
>                 Key: OFBIZ-5016
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5016
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL APPLICATIONS
>    Affects Versions: SVN trunk
>         Environment: trunk 1374736, database : Derby on Debian
>            Reporter: Eric de Maulde
>            Priority: Minor
>
> Hi,
> When I process an order ("Submit order") on page "Final Checkout Review",
> there is a "createCommContentDataResource" service return error,
> in order to send  an order email :
> 2012-08-21 02:25:46,457 (OFBiz-JobQueue-0) [ ModelService.java:571:ERROR] 
> [ModelService.validate] : {createCommContentDataResource} : (OUT) Required 
> test error: org.ofbiz.service.ServiceValidationException: Unknown parameter 
> found: [createCommContentDataResource.success]
> So the complete order email is sent several times ...
> I've searched but I haven't found the OUT parameter "success", instead of
> "successMessage".
> Eric

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to