[jira] [Commented] (OFBIZ-5732) Error in sendMailHiddenInLog service
[ https://issues.apache.org/jira/browse/OFBIZ-5732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15263629#comment-15263629 ] Jacques Le Roux commented on OFBIZ-5732: Thanks Wei, I closed OFBIZ-6686 as a duplicate. Please apply your patch which makes sense to me (I mean I did not test ;)). I guess after this fix OFBIZ-3379 will be easier to fix, or will maybe even your patch will fix it also? Actually I'll review it in details... > Error in sendMailHiddenInLog service > > > Key: OFBIZ-5732 > URL: https://issues.apache.org/jira/browse/OFBIZ-5732 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: Trunk >Reporter: Wei Zhang > > I got the following error when calling sendMailHiddenInLog, see the errors > below. > {code} > 2014-08-27 02:18:41,395 (OFBiz-JobQueue-0) [ > ServiceDispatcher.java:550:ERROR] > exception report > -- > Could not commit transaction for service [sendMailHiddenInLog] call > Exception: org.ofbiz.entity.transaction.GenericTransactionException > Message: 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]) > cause > - > Exception: org.ofbiz.service.ServiceValidationException > Message: The following required parameter is missing: [IN] > [sendMailMultiPart.bodyParts] > stack trace > --- > org.ofbiz.service.ServiceValidationException: The following required > parameter is missing: [IN] [sendMailMultiPart.bodyParts] > org.ofbiz.service.ModelService.validate(ModelService.java:630) > org.ofbiz.service.ModelService.validate(ModelService.java:572) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:381) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232) > org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83) > org.ofbiz.common.email.EmailServices.sendFailureNotification(EmailServices.java:667) > org.ofbiz.common.email.EmailServices.sendMail(EmailServices.java:349) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > java.lang.reflect.Method.invoke(Method.java:606) > 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:400) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232) > 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.runWorker(ThreadPoolExecutor.java:1145) > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > java.lang.Thread.run(Thread.java:745) > > {code} > I think we should miss the code below before line 667 in EmailServices.java > {code} > newContext.put("bodyParts", bodyParts); > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-5732) Error in sendMailHiddenInLog service
[ https://issues.apache.org/jira/browse/OFBIZ-5732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15263488#comment-15263488 ] Wei Zhang commented on OFBIZ-5732: -- Hi Jacques, Yes, the OFBIZ-5732 and OFBIZ-6686 are the same one. Re. OFBIZ-3379-2.patch. I don't think it is correct and the required prameter bodyParts still missed. Regards, Wei > Error in sendMailHiddenInLog service > > > Key: OFBIZ-5732 > URL: https://issues.apache.org/jira/browse/OFBIZ-5732 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: Trunk >Reporter: Wei Zhang > > I got the following error when calling sendMailHiddenInLog, see the errors > below. > {code} > 2014-08-27 02:18:41,395 (OFBiz-JobQueue-0) [ > ServiceDispatcher.java:550:ERROR] > exception report > -- > Could not commit transaction for service [sendMailHiddenInLog] call > Exception: org.ofbiz.entity.transaction.GenericTransactionException > Message: 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]) > cause > - > Exception: org.ofbiz.service.ServiceValidationException > Message: The following required parameter is missing: [IN] > [sendMailMultiPart.bodyParts] > stack trace > --- > org.ofbiz.service.ServiceValidationException: The following required > parameter is missing: [IN] [sendMailMultiPart.bodyParts] > org.ofbiz.service.ModelService.validate(ModelService.java:630) > org.ofbiz.service.ModelService.validate(ModelService.java:572) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:381) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232) > org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83) > org.ofbiz.common.email.EmailServices.sendFailureNotification(EmailServices.java:667) > org.ofbiz.common.email.EmailServices.sendMail(EmailServices.java:349) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > java.lang.reflect.Method.invoke(Method.java:606) > 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:400) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232) > 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.runWorker(ThreadPoolExecutor.java:1145) > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > java.lang.Thread.run(Thread.java:745) > > {code} > I think we should miss the code below before line 667 in EmailServices.java > {code} > newContext.put("bodyParts", bodyParts); > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-5732) Error in sendMailHiddenInLog service
[ https://issues.apache.org/jira/browse/OFBIZ-5732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15261770#comment-15261770 ] Jacques Le Roux commented on OFBIZ-5732: Hi Wei, If you do please check the related issues, to see if it fixes them also or help at least, thanks! Thanks Gareth for feedback > Error in sendMailHiddenInLog service > > > Key: OFBIZ-5732 > URL: https://issues.apache.org/jira/browse/OFBIZ-5732 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: Trunk >Reporter: Wei Zhang > > I got the following error when calling sendMailHiddenInLog, see the errors > below. > {code} > 2014-08-27 02:18:41,395 (OFBiz-JobQueue-0) [ > ServiceDispatcher.java:550:ERROR] > exception report > -- > Could not commit transaction for service [sendMailHiddenInLog] call > Exception: org.ofbiz.entity.transaction.GenericTransactionException > Message: 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]) > cause > - > Exception: org.ofbiz.service.ServiceValidationException > Message: The following required parameter is missing: [IN] > [sendMailMultiPart.bodyParts] > stack trace > --- > org.ofbiz.service.ServiceValidationException: The following required > parameter is missing: [IN] [sendMailMultiPart.bodyParts] > org.ofbiz.service.ModelService.validate(ModelService.java:630) > org.ofbiz.service.ModelService.validate(ModelService.java:572) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:381) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232) > org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83) > org.ofbiz.common.email.EmailServices.sendFailureNotification(EmailServices.java:667) > org.ofbiz.common.email.EmailServices.sendMail(EmailServices.java:349) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > java.lang.reflect.Method.invoke(Method.java:606) > 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:400) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232) > 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.runWorker(ThreadPoolExecutor.java:1145) > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > java.lang.Thread.run(Thread.java:745) > > {code} > I think we should miss the code below before line 667 in EmailServices.java > {code} > newContext.put("bodyParts", bodyParts); > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-5732) Error in sendMailHiddenInLog service
[ https://issues.apache.org/jira/browse/OFBIZ-5732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15261727#comment-15261727 ] Gareth Carter commented on OFBIZ-5732: -- I would, we've applied this as a patch in our production systems now and works fine. > Error in sendMailHiddenInLog service > > > Key: OFBIZ-5732 > URL: https://issues.apache.org/jira/browse/OFBIZ-5732 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: Trunk >Reporter: Wei Zhang > > I got the following error when calling sendMailHiddenInLog, see the errors > below. > {code} > 2014-08-27 02:18:41,395 (OFBiz-JobQueue-0) [ > ServiceDispatcher.java:550:ERROR] > exception report > -- > Could not commit transaction for service [sendMailHiddenInLog] call > Exception: org.ofbiz.entity.transaction.GenericTransactionException > Message: 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]) > cause > - > Exception: org.ofbiz.service.ServiceValidationException > Message: The following required parameter is missing: [IN] > [sendMailMultiPart.bodyParts] > stack trace > --- > org.ofbiz.service.ServiceValidationException: The following required > parameter is missing: [IN] [sendMailMultiPart.bodyParts] > org.ofbiz.service.ModelService.validate(ModelService.java:630) > org.ofbiz.service.ModelService.validate(ModelService.java:572) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:381) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232) > org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83) > org.ofbiz.common.email.EmailServices.sendFailureNotification(EmailServices.java:667) > org.ofbiz.common.email.EmailServices.sendMail(EmailServices.java:349) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > java.lang.reflect.Method.invoke(Method.java:606) > 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:400) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232) > 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.runWorker(ThreadPoolExecutor.java:1145) > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > java.lang.Thread.run(Thread.java:745) > > {code} > I think we should miss the code below before line 667 in EmailServices.java > {code} > newContext.put("bodyParts", bodyParts); > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-5732) Error in sendMailHiddenInLog service
[ https://issues.apache.org/jira/browse/OFBIZ-5732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15261579#comment-15261579 ] Wei Zhang commented on OFBIZ-5732: -- Should I commit my fix? > Error in sendMailHiddenInLog service > > > Key: OFBIZ-5732 > URL: https://issues.apache.org/jira/browse/OFBIZ-5732 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: Trunk >Reporter: Wei Zhang > > I got the following error when calling sendMailHiddenInLog, see the errors > below. > {code} > 2014-08-27 02:18:41,395 (OFBiz-JobQueue-0) [ > ServiceDispatcher.java:550:ERROR] > exception report > -- > Could not commit transaction for service [sendMailHiddenInLog] call > Exception: org.ofbiz.entity.transaction.GenericTransactionException > Message: 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]) > cause > - > Exception: org.ofbiz.service.ServiceValidationException > Message: The following required parameter is missing: [IN] > [sendMailMultiPart.bodyParts] > stack trace > --- > org.ofbiz.service.ServiceValidationException: The following required > parameter is missing: [IN] [sendMailMultiPart.bodyParts] > org.ofbiz.service.ModelService.validate(ModelService.java:630) > org.ofbiz.service.ModelService.validate(ModelService.java:572) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:381) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232) > org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83) > org.ofbiz.common.email.EmailServices.sendFailureNotification(EmailServices.java:667) > org.ofbiz.common.email.EmailServices.sendMail(EmailServices.java:349) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > java.lang.reflect.Method.invoke(Method.java:606) > 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:400) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232) > 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.runWorker(ThreadPoolExecutor.java:1145) > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > java.lang.Thread.run(Thread.java:745) > > {code} > I think we should miss the code below before line 667 in EmailServices.java > {code} > newContext.put("bodyParts", bodyParts); > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-5732) Error in sendMailHiddenInLog service
[ https://issues.apache.org/jira/browse/OFBIZ-5732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15256066#comment-15256066 ] Gareth Carter commented on OFBIZ-5732: -- Also I think OFBiz-6686 is related. A report of a similar error but others are not able to reproduce - I believe the user put in the wrong email address and is calling this service sendFailureNotification > Error in sendMailHiddenInLog service > > > Key: OFBIZ-5732 > URL: https://issues.apache.org/jira/browse/OFBIZ-5732 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: Trunk >Reporter: Wei Zhang > > I got the following error when calling sendMailHiddenInLog, see the errors > below. > {quote} > 2014-08-27 02:18:41,395 (OFBiz-JobQueue-0) [ > ServiceDispatcher.java:550:ERROR] > exception report > -- > Could not commit transaction for service [sendMailHiddenInLog] call > Exception: org.ofbiz.entity.transaction.GenericTransactionException > Message: 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]) > cause > - > Exception: org.ofbiz.service.ServiceValidationException > Message: The following required parameter is missing: [IN] > [sendMailMultiPart.bodyParts] > stack trace > --- > org.ofbiz.service.ServiceValidationException: The following required > parameter is missing: [IN] [sendMailMultiPart.bodyParts] > org.ofbiz.service.ModelService.validate(ModelService.java:630) > org.ofbiz.service.ModelService.validate(ModelService.java:572) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:381) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232) > org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83) > org.ofbiz.common.email.EmailServices.sendFailureNotification(EmailServices.java:667) > org.ofbiz.common.email.EmailServices.sendMail(EmailServices.java:349) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > java.lang.reflect.Method.invoke(Method.java:606) > 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:400) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232) > 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.runWorker(ThreadPoolExecutor.java:1145) > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > java.lang.Thread.run(Thread.java:745) > > {quote} > I think we should miss the code below before line 667 in EmailServices.java > {code:title=|borderStyle=solid} > newContext.put("bodyParts", bodyParts); > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-5732) Error in sendMailHiddenInLog service
[ https://issues.apache.org/jira/browse/OFBIZ-5732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15256064#comment-15256064 ] Gareth Carter commented on OFBIZ-5732: -- We've just encountered this problem. Testing with the suggested fix... > Error in sendMailHiddenInLog service > > > Key: OFBIZ-5732 > URL: https://issues.apache.org/jira/browse/OFBIZ-5732 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: Trunk >Reporter: Wei Zhang > > I got the following error when calling sendMailHiddenInLog, see the errors > below. > {quote} > 2014-08-27 02:18:41,395 (OFBiz-JobQueue-0) [ > ServiceDispatcher.java:550:ERROR] > exception report > -- > Could not commit transaction for service [sendMailHiddenInLog] call > Exception: org.ofbiz.entity.transaction.GenericTransactionException > Message: 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]) > cause > - > Exception: org.ofbiz.service.ServiceValidationException > Message: The following required parameter is missing: [IN] > [sendMailMultiPart.bodyParts] > stack trace > --- > org.ofbiz.service.ServiceValidationException: The following required > parameter is missing: [IN] [sendMailMultiPart.bodyParts] > org.ofbiz.service.ModelService.validate(ModelService.java:630) > org.ofbiz.service.ModelService.validate(ModelService.java:572) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:381) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232) > org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83) > org.ofbiz.common.email.EmailServices.sendFailureNotification(EmailServices.java:667) > org.ofbiz.common.email.EmailServices.sendMail(EmailServices.java:349) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > java.lang.reflect.Method.invoke(Method.java:606) > 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:400) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232) > 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.runWorker(ThreadPoolExecutor.java:1145) > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > java.lang.Thread.run(Thread.java:745) > > {quote} > I think we should miss the code below before line 667 in EmailServices.java > {code:title=|borderStyle=solid} > newContext.put("bodyParts", bodyParts); > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-5732) Error in sendMailHiddenInLog service
[ https://issues.apache.org/jira/browse/OFBIZ-5732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14115807#comment-14115807 ] Jacques Le Roux commented on OFBIZ-5732: I put as "is part of" but, reading [~pranay.pan...@hotwaxmedia.com] I wonder if it's not a duplicate of OFBIZ-3379. I let him and [~lektran] who commited for OFBIZ-3379 decide > Error in sendMailHiddenInLog service > > > Key: OFBIZ-5732 > URL: https://issues.apache.org/jira/browse/OFBIZ-5732 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: Trunk >Reporter: Wei Zhang > > I got the following error when calling sendMailHiddenInLog, see the errors > below. > {quote} > 2014-08-27 02:18:41,395 (OFBiz-JobQueue-0) [ > ServiceDispatcher.java:550:ERROR] > exception report > -- > Could not commit transaction for service [sendMailHiddenInLog] call > Exception: org.ofbiz.entity.transaction.GenericTransactionException > Message: 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]) > cause > - > Exception: org.ofbiz.service.ServiceValidationException > Message: The following required parameter is missing: [IN] > [sendMailMultiPart.bodyParts] > stack trace > --- > org.ofbiz.service.ServiceValidationException: The following required > parameter is missing: [IN] [sendMailMultiPart.bodyParts] > org.ofbiz.service.ModelService.validate(ModelService.java:630) > org.ofbiz.service.ModelService.validate(ModelService.java:572) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:381) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232) > org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83) > org.ofbiz.common.email.EmailServices.sendFailureNotification(EmailServices.java:667) > org.ofbiz.common.email.EmailServices.sendMail(EmailServices.java:349) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > java.lang.reflect.Method.invoke(Method.java:606) > 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:400) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232) > 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.runWorker(ThreadPoolExecutor.java:1145) > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > java.lang.Thread.run(Thread.java:745) > > {quote} > I think we should miss the code below before line 667 in EmailServices.java > {code:title=|borderStyle=solid} > newContext.put("bodyParts", bodyParts); > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (OFBIZ-5732) Error in sendMailHiddenInLog service
[ https://issues.apache.org/jira/browse/OFBIZ-5732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14115798#comment-14115798 ] Jacques Le Roux commented on OFBIZ-5732: This is related with OFBIZ-3379 > Error in sendMailHiddenInLog service > > > Key: OFBIZ-5732 > URL: https://issues.apache.org/jira/browse/OFBIZ-5732 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: Trunk >Reporter: Wei Zhang > > I got the following error when calling sendMailHiddenInLog, see the errors > below. > {quote} > 2014-08-27 02:18:41,395 (OFBiz-JobQueue-0) [ > ServiceDispatcher.java:550:ERROR] > exception report > -- > Could not commit transaction for service [sendMailHiddenInLog] call > Exception: org.ofbiz.entity.transaction.GenericTransactionException > Message: 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]) > cause > - > Exception: org.ofbiz.service.ServiceValidationException > Message: The following required parameter is missing: [IN] > [sendMailMultiPart.bodyParts] > stack trace > --- > org.ofbiz.service.ServiceValidationException: The following required > parameter is missing: [IN] [sendMailMultiPart.bodyParts] > org.ofbiz.service.ModelService.validate(ModelService.java:630) > org.ofbiz.service.ModelService.validate(ModelService.java:572) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:381) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232) > org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83) > org.ofbiz.common.email.EmailServices.sendFailureNotification(EmailServices.java:667) > org.ofbiz.common.email.EmailServices.sendMail(EmailServices.java:349) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > java.lang.reflect.Method.invoke(Method.java:606) > 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:400) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232) > 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.runWorker(ThreadPoolExecutor.java:1145) > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > java.lang.Thread.run(Thread.java:745) > > {quote} > I think we should miss the code below before line 667 in EmailServices.java > {code:title=|borderStyle=solid} > newContext.put("bodyParts", bodyParts); > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)