The following required parameter is missing: [IN] [sendMailMultiPart.bodyParts] (The following required parameter is missing: [IN] [sendMailMultiPart.bodyParts])

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

The following required parameter is missing: [IN] [sendMailMultiPart.bodyParts] (The following required parameter is missing: [IN] [sendMailMultiPart.bodyParts])

Derek Lew-2
Hi

 

When trying to send mail, the following error occurred.

 

2015-10-19 14:31:05,819 |OFBiz-JobQueue-1     |ServiceDispatcher
|E| Could not commit transaction for service
[sendCreatePartyEmailNotification] call

org.ofbiz.entity.transaction.GenericTransactionException: Roll back error,
could not commit transaction, was rolled back instead because of: Service
[sendMailMultiPart] threw an unexpected
exception/errororg.ofbiz.service.ServiceValidationException: The following
required parameter is missing: [IN] [sendMailMultiPart.bodyParts] (The
following required parameter is missing: [IN] [sendMailMultiPart.bodyParts])

                at
org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:288
) ~[ofbiz-entity-test.jar:?]

                at
org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:252
) ~[ofbiz-entity-test.jar:?]

                at
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:546)
[ofbiz-service.jar:?]

                at
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232)
[ofbiz-service.jar:?]

                at
org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(Generic
DispatcherFactory.java:83) [ofbiz-service.jar:?]

                at
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:69)
[ofbiz-service.jar:?]

                at
org.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87)
[ofbiz-service.jar:?]

                at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:11
42) [?:1.8.0_40]

                at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:6
17) [?:1.8.0_40]

                at java.lang.Thread.run(Thread.java:745) [?:1.8.0_40]

Caused by: org.ofbiz.service.ServiceValidationException: The following
required parameter is missing: [IN] [sendMailMultiPart.bodyParts]

                at
org.ofbiz.service.ModelService.validate(ModelService.java:642)
~[ofbiz-service.jar:?]

                at
org.ofbiz.service.ModelService.validate(ModelService.java:578)
~[ofbiz-service.jar:?]

                at
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:381)
~[ofbiz-service.jar:?]

                at
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232)
~[ofbiz-service.jar:?]

                at
org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(Generic
DispatcherFactory.java:83) ~[ofbiz-service.jar:?]

                at
org.ofbiz.common.email.EmailServices.sendFailureNotification(EmailServices.j
ava:664) ~[ofbiz-common.jar:?]

                at
org.ofbiz.common.email.EmailServices.sendMail(EmailServices.java:346)
~[ofbiz-common.jar:?]

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method) ~[?:1.8.0_40]

                at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62
) ~[?:1.8.0_40]

                at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:43) ~[?:1.8.0_40]

                at java.lang.reflect.Method.invoke(Method.java:497)
~[?:1.8.0_40]

                at
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngin
e.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:400)
~[ofbiz-service.jar:?]

                at
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232)
~[ofbiz-service.jar:?]

                at
org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(Generic
DispatcherFactory.java:83) ~[ofbiz-service.jar:?]

                at
org.ofbiz.common.email.EmailServices.sendMailFromScreen(EmailServices.java:5
91) ~[ofbiz-common.jar:?]

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method) ~[?:1.8.0_40]

                at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62
) ~[?:1.8.0_40]

                at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:43) ~[?:1.8.0_40]

                at java.lang.reflect.Method.invoke(Method.java:497)
~[?:1.8.0_40]

                at
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngin
e.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:400)
~[ofbiz-service.jar:?]

                at
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232)
~[ofbiz-service.jar:?]

                at
org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(Generic
DispatcherFactory.java:98) ~[ofbiz-service.jar:?]

                at
org.ofbiz.minilang.method.callops.CallService.exec(CallService.java:217)
~[ofbiz-minilang.jar:?]

                at
org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:307)
~[ofbiz-minilang.jar:?]

                at
org.ofbiz.minilang.method.ifops.IfNotEmpty.exec(IfNotEmpty.java:61)
~[ofbiz-minilang.jar:?]

                at
org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:307)
~[ofbiz-minilang.jar:?]

                at
org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:454)
~[ofbiz-minilang.jar:?]

                at
org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:271)
~[ofbiz-minilang.jar:?]

                at
org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:290)
~[ofbiz-minilang.jar:?]

                at
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.ja
va:79) ~[ofbiz-minilang.jar:?]

                at
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:48)
~[ofbiz-minilang.jar:?]

                at
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:400)
~[ofbiz-service.jar:?]

                ... 7 more

 

Best regards.
 
Derek Lew

 

Reply | Threaded
Open this post in threaded view
|

Re: The following required parameter is missing: [IN] [sendMailMultiPart.bodyParts] (The following required parameter is missing: [IN] [sendMailMultiPart.bodyParts])

Pierre Smits
HI Derek,

Please create a JIRA issue.

Best regards,

Pierre

Op maandag 19 oktober 2015 heeft Derek Lew <[hidden email]>
het volgende geschreven:

> Hi
>
>
>
> When trying to send mail, the following error occurred.
>
>
>
> 2015-10-19 14:31:05,819 |OFBiz-JobQueue-1     |ServiceDispatcher
> |E| Could not commit transaction for service
> [sendCreatePartyEmailNotification] call
>
> org.ofbiz.entity.transaction.GenericTransactionException: Roll back error,
> could not commit transaction, was rolled back instead because of: Service
> [sendMailMultiPart] threw an unexpected
> exception/errororg.ofbiz.service.ServiceValidationException: The following
> required parameter is missing: [IN] [sendMailMultiPart.bodyParts] (The
> following required parameter is missing: [IN]
> [sendMailMultiPart.bodyParts])
>
>                 at
>
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:288
> ) ~[ofbiz-entity-test.jar:?]
>
>                 at
>
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:252
> ) ~[ofbiz-entity-test.jar:?]
>
>                 at
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:546)
> [ofbiz-service.jar:?]
>
>                 at
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232)
> [ofbiz-service.jar:?]
>
>                 at
>
> org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(Generic
> DispatcherFactory.java:83) [ofbiz-service.jar:?]
>
>                 at
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:69)
> [ofbiz-service.jar:?]
>
>                 at
> org.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87)
> [ofbiz-service.jar:?]
>
>                 at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:11
> 42) [?:1.8.0_40]
>
>                 at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:6
> 17) [?:1.8.0_40]
>
>                 at java.lang.Thread.run(Thread.java:745) [?:1.8.0_40]
>
> Caused by: org.ofbiz.service.ServiceValidationException: The following
> required parameter is missing: [IN] [sendMailMultiPart.bodyParts]
>
>                 at
> org.ofbiz.service.ModelService.validate(ModelService.java:642)
> ~[ofbiz-service.jar:?]
>
>                 at
> org.ofbiz.service.ModelService.validate(ModelService.java:578)
> ~[ofbiz-service.jar:?]
>
>                 at
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:381)
> ~[ofbiz-service.jar:?]
>
>                 at
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232)
> ~[ofbiz-service.jar:?]
>
>                 at
>
> org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(Generic
> DispatcherFactory.java:83) ~[ofbiz-service.jar:?]
>
>                 at
>
> org.ofbiz.common.email.EmailServices.sendFailureNotification(EmailServices.j
> ava:664) ~[ofbiz-common.jar:?]
>
>                 at
> org.ofbiz.common.email.EmailServices.sendMail(EmailServices.java:346)
> ~[ofbiz-common.jar:?]
>
>                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method) ~[?:1.8.0_40]
>
>                 at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62
> ) ~[?:1.8.0_40]
>
>                 at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:43) ~[?:1.8.0_40]
>
>                 at java.lang.reflect.Method.invoke(Method.java:497)
> ~[?:1.8.0_40]
>
>                 at
>
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngin
> e.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:400)
> ~[ofbiz-service.jar:?]
>
>                 at
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232)
> ~[ofbiz-service.jar:?]
>
>                 at
>
> org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(Generic
> DispatcherFactory.java:83) ~[ofbiz-service.jar:?]
>
>                 at
>
> org.ofbiz.common.email.EmailServices.sendMailFromScreen(EmailServices.java:5
> 91) ~[ofbiz-common.jar:?]
>
>                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method) ~[?:1.8.0_40]
>
>                 at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62
> ) ~[?:1.8.0_40]
>
>                 at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:43) ~[?:1.8.0_40]
>
>                 at java.lang.reflect.Method.invoke(Method.java:497)
> ~[?:1.8.0_40]
>
>                 at
>
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngin
> e.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:400)
> ~[ofbiz-service.jar:?]
>
>                 at
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232)
> ~[ofbiz-service.jar:?]
>
>                 at
>
> org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(Generic
> DispatcherFactory.java:98) ~[ofbiz-service.jar:?]
>
>                 at
> org.ofbiz.minilang.method.callops.CallService.exec(CallService.java:217)
> ~[ofbiz-minilang.jar:?]
>
>                 at
> org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:307)
> ~[ofbiz-minilang.jar:?]
>
>                 at
> org.ofbiz.minilang.method.ifops.IfNotEmpty.exec(IfNotEmpty.java:61)
> ~[ofbiz-minilang.jar:?]
>
>                 at
> org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:307)
> ~[ofbiz-minilang.jar:?]
>
>                 at
> org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:454)
> ~[ofbiz-minilang.jar:?]
>
>                 at
> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:271)
> ~[ofbiz-minilang.jar:?]
>
>                 at
> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:290)
> ~[ofbiz-minilang.jar:?]
>
>                 at
>
> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.ja
> va:79) ~[ofbiz-minilang.jar:?]
>
>                 at
> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:48)
> ~[ofbiz-minilang.jar:?]
>
>                 at
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:400)
> ~[ofbiz-service.jar:?]
>
>                 ... 7 more
>
>
>
> Best regards.
>
> Derek Lew
>
>
>
>

--
Pierre Smits

*OFBiz Extensions Marketplace*
http://oem.ofbizci.net/oci-2/
Reply | Threaded
Open this post in threaded view
|

RE: The following required parameter is missing: [IN] [sendMailMultiPart.bodyParts] (The following required parameter is missing: [IN] [sendMailMultiPart.bodyParts])

Derek Lew-2
Hi Pierre,

There are couple of related JIRA.

https://issues.apache.org/jira/browse/OFBIZ-5732
https://issues.apache.org/jira/browse/OFBIZ-3379

Seems like it is still an unresolved issue.

Best regards,

Derek

-----Original Message-----
From: Pierre Smits [mailto:[hidden email]]
Sent: Monday, 19 October 2015 3:29 PM
To: [hidden email]
Subject: Re: The following required parameter is missing: [IN] [sendMailMultiPart.bodyParts] (The following required parameter is missing: [IN] [sendMailMultiPart.bodyParts])

HI Derek,

Please create a JIRA issue.

Best regards,

Pierre

Op maandag 19 oktober 2015 heeft Derek Lew <[hidden email]> het volgende geschreven:

> Hi
>
>
>
> When trying to send mail, the following error occurred.
>
>
>
> 2015-10-19 14:31:05,819 |OFBiz-JobQueue-1     |ServiceDispatcher
> |E| Could not commit transaction for service
> [sendCreatePartyEmailNotification] call
>
> org.ofbiz.entity.transaction.GenericTransactionException: Roll back
> error, could not commit transaction, was rolled back instead because
> of: Service [sendMailMultiPart] threw an unexpected
> exception/errororg.ofbiz.service.ServiceValidationException: The
> following required parameter is missing: [IN]
> [sendMailMultiPart.bodyParts] (The following required parameter is
> missing: [IN]
> [sendMailMultiPart.bodyParts])
>
>                 at
>
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.ja
> va:288
> ) ~[ofbiz-entity-test.jar:?]
>
>                 at
>
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.ja
> va:252
> ) ~[ofbiz-entity-test.jar:?]
>
>                 at
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:546
> )
> [ofbiz-service.jar:?]
>
>                 at
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232
> )
> [ofbiz-service.jar:?]
>
>                 at
>
> org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(G
> eneric
> DispatcherFactory.java:83) [ofbiz-service.jar:?]
>
>                 at
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:69
> )
> [ofbiz-service.jar:?]
>
>                 at
> org.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87)
> [ofbiz-service.jar:?]
>
>                 at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.j
> ava:11
> 42) [?:1.8.0_40]
>
>                 at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.
> java:6
> 17) [?:1.8.0_40]
>
>                 at java.lang.Thread.run(Thread.java:745) [?:1.8.0_40]
>
> Caused by: org.ofbiz.service.ServiceValidationException: The following
> required parameter is missing: [IN] [sendMailMultiPart.bodyParts]
>
>                 at
> org.ofbiz.service.ModelService.validate(ModelService.java:642)
> ~[ofbiz-service.jar:?]
>
>                 at
> org.ofbiz.service.ModelService.validate(ModelService.java:578)
> ~[ofbiz-service.jar:?]
>
>                 at
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:381
> )
> ~[ofbiz-service.jar:?]
>
>                 at
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232
> )
> ~[ofbiz-service.jar:?]
>
>                 at
>
> org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(G
> eneric
> DispatcherFactory.java:83) ~[ofbiz-service.jar:?]
>
>                 at
>
> org.ofbiz.common.email.EmailServices.sendFailureNotification(EmailServ
> ices.j
> ava:664) ~[ofbiz-common.jar:?]
>
>                 at
> org.ofbiz.common.email.EmailServices.sendMail(EmailServices.java:346)
> ~[ofbiz-common.jar:?]
>
>                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method) ~[?:1.8.0_40]
>
>                 at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> ava:62
> ) ~[?:1.8.0_40]
>
>                 at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> orImpl
> .java:43) ~[?:1.8.0_40]
>
>                 at java.lang.reflect.Method.invoke(Method.java:497)
> ~[?:1.8.0_40]
>
>                 at
>
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJav
> aEngin
> e.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:400
> )
> ~[ofbiz-service.jar:?]
>
>                 at
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232
> )
> ~[ofbiz-service.jar:?]
>
>                 at
>
> org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(G
> eneric
> DispatcherFactory.java:83) ~[ofbiz-service.jar:?]
>
>                 at
>
> org.ofbiz.common.email.EmailServices.sendMailFromScreen(EmailServices.
> java:5
> 91) ~[ofbiz-common.jar:?]
>
>                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method) ~[?:1.8.0_40]
>
>                 at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> ava:62
> ) ~[?:1.8.0_40]
>
>                 at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> orImpl
> .java:43) ~[?:1.8.0_40]
>
>                 at java.lang.reflect.Method.invoke(Method.java:497)
> ~[?:1.8.0_40]
>
>                 at
>
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJav
> aEngin
> e.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:400
> )
> ~[ofbiz-service.jar:?]
>
>                 at
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232
> )
> ~[ofbiz-service.jar:?]
>
>                 at
>
> org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(G
> eneric
> DispatcherFactory.java:98) ~[ofbiz-service.jar:?]
>
>                 at
> org.ofbiz.minilang.method.callops.CallService.exec(CallService.java:21
> 7)
> ~[ofbiz-minilang.jar:?]
>
>                 at
> org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:307)
> ~[ofbiz-minilang.jar:?]
>
>                 at
> org.ofbiz.minilang.method.ifops.IfNotEmpty.exec(IfNotEmpty.java:61)
> ~[ofbiz-minilang.jar:?]
>
>                 at
> org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:307)
> ~[ofbiz-minilang.jar:?]
>
>                 at
> org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:454)
> ~[ofbiz-minilang.jar:?]
>
>                 at
> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:271)
> ~[ofbiz-minilang.jar:?]
>
>                 at
> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:290
> )
> ~[ofbiz-minilang.jar:?]
>
>                 at
>
> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEng
> ine.ja
> va:79) ~[ofbiz-minilang.jar:?]
>
>                 at
> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.jav
> a:48)
> ~[ofbiz-minilang.jar:?]
>
>                 at
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:400
> )
> ~[ofbiz-service.jar:?]
>
>                 ... 7 more
>
>
>
> Best regards.
>
> Derek Lew
>
>
>
>

--
Pierre Smits

*OFBiz Extensions Marketplace*
http://oem.ofbizci.net/oci-2/
Reply | Threaded
Open this post in threaded view
|

Re: The following required parameter is missing: [IN] [sendMailMultiPart.bodyParts] (The following required parameter is missing: [IN] [sendMailMultiPart.bodyParts])

taher
Hi Derek,

Can you either update one of the JIRAs or create a new one with the steps to _reproduce_ the bug? You can update the thread once you decide on the JIRA and we'll try to help you out.

Taher Alkhateeb

----- Original Message -----

From: "Derek Lew" <[hidden email]>
To: [hidden email]
Sent: Monday, 19 October, 2015 12:04:40 PM
Subject: RE: The following required parameter is missing: [IN] [sendMailMultiPart.bodyParts] (The following required parameter is missing: [IN] [sendMailMultiPart.bodyParts])

Hi Pierre,

There are couple of related JIRA.

https://issues.apache.org/jira/browse/OFBIZ-5732 
https://issues.apache.org/jira/browse/OFBIZ-3379 

Seems like it is still an unresolved issue.

Best regards,

Derek

-----Original Message-----
From: Pierre Smits [mailto:[hidden email]]
Sent: Monday, 19 October 2015 3:29 PM
To: [hidden email]
Subject: Re: The following required parameter is missing: [IN] [sendMailMultiPart.bodyParts] (The following required parameter is missing: [IN] [sendMailMultiPart.bodyParts])

HI Derek,

Please create a JIRA issue.

Best regards,

Pierre

Op maandag 19 oktober 2015 heeft Derek Lew <[hidden email]> het volgende geschreven:

> Hi
>
>
>
> When trying to send mail, the following error occurred.
>
>
>
> 2015-10-19 14:31:05,819 |OFBiz-JobQueue-1 |ServiceDispatcher
> |E| Could not commit transaction for service
> [sendCreatePartyEmailNotification] call
>
> org.ofbiz.entity.transaction.GenericTransactionException: Roll back
> error, could not commit transaction, was rolled back instead because
> of: Service [sendMailMultiPart] threw an unexpected
> exception/errororg.ofbiz.service.ServiceValidationException: The
> following required parameter is missing: [IN]
> [sendMailMultiPart.bodyParts] (The following required parameter is
> missing: [IN]
> [sendMailMultiPart.bodyParts])
>
> at
>
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.ja
> va:288
> ) ~[ofbiz-entity-test.jar:?]
>
> at
>
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.ja
> va:252
> ) ~[ofbiz-entity-test.jar:?]
>
> at
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:546
> )
> [ofbiz-service.jar:?]
>
> at
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232
> )
> [ofbiz-service.jar:?]
>
> at
>
> org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(G
> eneric
> DispatcherFactory.java:83) [ofbiz-service.jar:?]
>
> at
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:69
> )
> [ofbiz-service.jar:?]
>
> at
> org.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87)
> [ofbiz-service.jar:?]
>
> at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.j
> ava:11
> 42) [?:1.8.0_40]
>
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.
> java:6
> 17) [?:1.8.0_40]
>
> at java.lang.Thread.run(Thread.java:745) [?:1.8.0_40]
>
> Caused by: org.ofbiz.service.ServiceValidationException: The following
> required parameter is missing: [IN] [sendMailMultiPart.bodyParts]
>
> at
> org.ofbiz.service.ModelService.validate(ModelService.java:642)
> ~[ofbiz-service.jar:?]
>
> at
> org.ofbiz.service.ModelService.validate(ModelService.java:578)
> ~[ofbiz-service.jar:?]
>
> at
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:381
> )
> ~[ofbiz-service.jar:?]
>
> at
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232
> )
> ~[ofbiz-service.jar:?]
>
> at
>
> org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(G
> eneric
> DispatcherFactory.java:83) ~[ofbiz-service.jar:?]
>
> at
>
> org.ofbiz.common.email.EmailServices.sendFailureNotification(EmailServ
> ices.j
> ava:664) ~[ofbiz-common.jar:?]
>
> at
> org.ofbiz.common.email.EmailServices.sendMail(EmailServices.java:346)
> ~[ofbiz-common.jar:?]
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method) ~[?:1.8.0_40]
>
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> ava:62
> ) ~[?:1.8.0_40]
>
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> orImpl
> .java:43) ~[?:1.8.0_40]
>
> at java.lang.reflect.Method.invoke(Method.java:497)
> ~[?:1.8.0_40]
>
> at
>
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJav
> aEngin
> e.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:400
> )
> ~[ofbiz-service.jar:?]
>
> at
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232
> )
> ~[ofbiz-service.jar:?]
>
> at
>
> org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(G
> eneric
> DispatcherFactory.java:83) ~[ofbiz-service.jar:?]
>
> at
>
> org.ofbiz.common.email.EmailServices.sendMailFromScreen(EmailServices.
> java:5
> 91) ~[ofbiz-common.jar:?]
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method) ~[?:1.8.0_40]
>
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> ava:62
> ) ~[?:1.8.0_40]
>
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> orImpl
> .java:43) ~[?:1.8.0_40]
>
> at java.lang.reflect.Method.invoke(Method.java:497)
> ~[?:1.8.0_40]
>
> at
>
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJav
> aEngin
> e.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:400
> )
> ~[ofbiz-service.jar:?]
>
> at
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232
> )
> ~[ofbiz-service.jar:?]
>
> at
>
> org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(G
> eneric
> DispatcherFactory.java:98) ~[ofbiz-service.jar:?]
>
> at
> org.ofbiz.minilang.method.callops.CallService.exec(CallService.java:21
> 7)
> ~[ofbiz-minilang.jar:?]
>
> at
> org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:307)
> ~[ofbiz-minilang.jar:?]
>
> at
> org.ofbiz.minilang.method.ifops.IfNotEmpty.exec(IfNotEmpty.java:61)
> ~[ofbiz-minilang.jar:?]
>
> at
> org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:307)
> ~[ofbiz-minilang.jar:?]
>
> at
> org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:454)
> ~[ofbiz-minilang.jar:?]
>
> at
> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:271)
> ~[ofbiz-minilang.jar:?]
>
> at
> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:290
> )
> ~[ofbiz-minilang.jar:?]
>
> at
>
> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEng
> ine.ja
> va:79) ~[ofbiz-minilang.jar:?]
>
> at
> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.jav
> a:48)
> ~[ofbiz-minilang.jar:?]
>
> at
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:400
> )
> ~[ofbiz-service.jar:?]
>
> ... 7 more
>
>
>
> Best regards.
>
> Derek Lew
>
>
>
>

--
Pierre Smits

*OFBiz Extensions Marketplace*
http://oem.ofbizci.net/oci-2/ 

Reply | Threaded
Open this post in threaded view
|

RE: The following required parameter is missing: [IN] [sendMailMultiPart.bodyParts] (The following required parameter is missing: [IN] [sendMailMultiPart.bodyParts])

Derek Lew-2
Ok, logged as https://issues.apache.org/jira/browse/OFBIZ-6686



-----Original Message-----
From: Taher Alkhateeb [mailto:[hidden email]]
Sent: Monday, 19 October 2015 7:31 PM
To: [hidden email]
Subject: Re: The following required parameter is missing: [IN] [sendMailMultiPart.bodyParts] (The following required parameter is missing: [IN] [sendMailMultiPart.bodyParts])

Hi Derek,

Can you either update one of the JIRAs or create a new one with the steps to _reproduce_ the bug? You can update the thread once you decide on the JIRA and we'll try to help you out.

Taher Alkhateeb

----- Original Message -----

From: "Derek Lew" <[hidden email]>
To: [hidden email]
Sent: Monday, 19 October, 2015 12:04:40 PM
Subject: RE: The following required parameter is missing: [IN] [sendMailMultiPart.bodyParts] (The following required parameter is missing: [IN] [sendMailMultiPart.bodyParts])

Hi Pierre,

There are couple of related JIRA.

https://issues.apache.org/jira/browse/OFBIZ-5732
https://issues.apache.org/jira/browse/OFBIZ-3379 

Seems like it is still an unresolved issue.

Best regards,

Derek

-----Original Message-----
From: Pierre Smits [mailto:[hidden email]]
Sent: Monday, 19 October 2015 3:29 PM
To: [hidden email]
Subject: Re: The following required parameter is missing: [IN] [sendMailMultiPart.bodyParts] (The following required parameter is missing: [IN] [sendMailMultiPart.bodyParts])

HI Derek,

Please create a JIRA issue.

Best regards,

Pierre

Op maandag 19 oktober 2015 heeft Derek Lew <[hidden email]> het volgende geschreven:

> Hi
>
>
>
> When trying to send mail, the following error occurred.
>
>
>
> 2015-10-19 14:31:05,819 |OFBiz-JobQueue-1 |ServiceDispatcher
> |E| Could not commit transaction for service
> [sendCreatePartyEmailNotification] call
>
> org.ofbiz.entity.transaction.GenericTransactionException: Roll back
> error, could not commit transaction, was rolled back instead because
> of: Service [sendMailMultiPart] threw an unexpected
> exception/errororg.ofbiz.service.ServiceValidationException: The
> following required parameter is missing: [IN]
> [sendMailMultiPart.bodyParts] (The following required parameter is
> missing: [IN]
> [sendMailMultiPart.bodyParts])
>
> at
>
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.ja
> va:288
> ) ~[ofbiz-entity-test.jar:?]
>
> at
>
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.ja
> va:252
> ) ~[ofbiz-entity-test.jar:?]
>
> at
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:546
> )
> [ofbiz-service.jar:?]
>
> at
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232
> )
> [ofbiz-service.jar:?]
>
> at
>
> org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(G
> eneric
> DispatcherFactory.java:83) [ofbiz-service.jar:?]
>
> at
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:69
> )
> [ofbiz-service.jar:?]
>
> at
> org.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87)
> [ofbiz-service.jar:?]
>
> at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.j
> ava:11
> 42) [?:1.8.0_40]
>
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.
> java:6
> 17) [?:1.8.0_40]
>
> at java.lang.Thread.run(Thread.java:745) [?:1.8.0_40]
>
> Caused by: org.ofbiz.service.ServiceValidationException: The following
> required parameter is missing: [IN] [sendMailMultiPart.bodyParts]
>
> at
> org.ofbiz.service.ModelService.validate(ModelService.java:642)
> ~[ofbiz-service.jar:?]
>
> at
> org.ofbiz.service.ModelService.validate(ModelService.java:578)
> ~[ofbiz-service.jar:?]
>
> at
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:381
> )
> ~[ofbiz-service.jar:?]
>
> at
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232
> )
> ~[ofbiz-service.jar:?]
>
> at
>
> org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(G
> eneric
> DispatcherFactory.java:83) ~[ofbiz-service.jar:?]
>
> at
>
> org.ofbiz.common.email.EmailServices.sendFailureNotification(EmailServ
> ices.j
> ava:664) ~[ofbiz-common.jar:?]
>
> at
> org.ofbiz.common.email.EmailServices.sendMail(EmailServices.java:346)
> ~[ofbiz-common.jar:?]
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method) ~[?:1.8.0_40]
>
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> ava:62
> ) ~[?:1.8.0_40]
>
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> orImpl
> .java:43) ~[?:1.8.0_40]
>
> at java.lang.reflect.Method.invoke(Method.java:497)
> ~[?:1.8.0_40]
>
> at
>
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJav
> aEngin
> e.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:400
> )
> ~[ofbiz-service.jar:?]
>
> at
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232
> )
> ~[ofbiz-service.jar:?]
>
> at
>
> org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(G
> eneric
> DispatcherFactory.java:83) ~[ofbiz-service.jar:?]
>
> at
>
> org.ofbiz.common.email.EmailServices.sendMailFromScreen(EmailServices.
> java:5
> 91) ~[ofbiz-common.jar:?]
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method) ~[?:1.8.0_40]
>
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> ava:62
> ) ~[?:1.8.0_40]
>
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> orImpl
> .java:43) ~[?:1.8.0_40]
>
> at java.lang.reflect.Method.invoke(Method.java:497)
> ~[?:1.8.0_40]
>
> at
>
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJav
> aEngin
> e.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:400
> )
> ~[ofbiz-service.jar:?]
>
> at
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232
> )
> ~[ofbiz-service.jar:?]
>
> at
>
> org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(G
> eneric
> DispatcherFactory.java:98) ~[ofbiz-service.jar:?]
>
> at
> org.ofbiz.minilang.method.callops.CallService.exec(CallService.java:21
> 7)
> ~[ofbiz-minilang.jar:?]
>
> at
> org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:307)
> ~[ofbiz-minilang.jar:?]
>
> at
> org.ofbiz.minilang.method.ifops.IfNotEmpty.exec(IfNotEmpty.java:61)
> ~[ofbiz-minilang.jar:?]
>
> at
> org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:307)
> ~[ofbiz-minilang.jar:?]
>
> at
> org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:454)
> ~[ofbiz-minilang.jar:?]
>
> at
> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:271)
> ~[ofbiz-minilang.jar:?]
>
> at
> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:290
> )
> ~[ofbiz-minilang.jar:?]
>
> at
>
> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEng
> ine.ja
> va:79) ~[ofbiz-minilang.jar:?]
>
> at
> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.jav
> a:48)
> ~[ofbiz-minilang.jar:?]
>
> at
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:400
> )
> ~[ofbiz-service.jar:?]
>
> ... 7 more
>
>
>
> Best regards.
>
> Derek Lew
>
>
>
>

--
Pierre Smits

*OFBiz Extensions Marketplace*
http://oem.ofbizci.net/oci-2/