[ https://issues.apache.org/jira/browse/OFBIZ-2558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashish Vijaywargiya closed OFBIZ-2558. -------------------------------------- Resolution: Duplicate Recently fixed in trunk revision 785722. Part of jira issue OFBIZ-2623. -- Ashish Vijaywargiya > messageWrapper missing > ---------------------- > > Key: OFBIZ-2558 > URL: https://issues.apache.org/jira/browse/OFBIZ-2558 > Project: OFBiz > Issue Type: Bug > Components: order > Affects Versions: SVN trunk > Reporter: Ashish Vijaywargiya > Priority: Minor > > I will try to work on this in next few days but early help on this from > others would be of great help. FYI I haven't dig into code yet. > Steps to reproduce: > -- Create Sales Order for Demo Customer. > -- Click on Quick Ship Entire Order. > -- Email Settings are disabled in general.properties. > Here is the log message details: > , contentType=text/html, subject=OFBiz Demo - Shipment Complete Notification > #WSCO10160, partyId=10000, communicationEventId=10249] > 2009-06-02 10:34:41,044 (default-invoker-Thread-11) > [ServiceEcaCondition.java:155:WARN ] From Field (messageWrapper) is not found > in context for sendMail, defaulting to null. > 2009-06-02 10:34:41,044 (default-invoker-Thread-11) [ > ServiceEcaRule.java:134:INFO ] For Service ECA [sendMail] on [commit] got > false for condition: [messageWrapper][is-not-empty][true][String] > 2009-06-02 10:34:41,044 (default-invoker-Thread-11) [ > ServiceDispatcher.java:586:INFO ] Sync service [JobDispatcher/sendMail] > finished in [162] milliseconds > 2009-06-02 10:34:41,044 (default-invoker-Thread-11) [ > ServiceDispatcher.java:586:INFO ] Sync service > [JobDispatcher/sendMailFromScreen] finished in [195] milliseconds > 2009-06-02 10:34:41,045 (default-invoker-Thread-11) [ > ModelService.java:546:ERROR] [ModelService.validate] : > {sendShipmentCompleteNotification} : (OUT) Required test error: > org.ofbiz.service.ServiceValidationException: Unknown parameter found: > [sendShipmentCompleteNotification.messageWrapper] > 2009-06-02 10:34:41,045 (default-invoker-Thread-11) [ > ServiceDispatcher.java:484:ERROR] > ---- exception report > ---------------------------------------------------------- > Outgoing result (in runSync : sendShipmentCompleteNotification) does not > match expected requirements > Exception: org.ofbiz.service.ServiceValidationException > Message: Unknown parameter found: > [sendShipmentCompleteNotification.messageWrapper] > ---- stack trace > --------------------------------------------------------------- > org.ofbiz.service.ServiceValidationException: Unknown parameter found: > [sendShipmentCompleteNotification.messageWrapper] > org.ofbiz.service.ModelService.validate(ModelService.java:630) > org.ofbiz.service.ModelService.validate(ModelService.java:544) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:482) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:221) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:159) > org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:69) > org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:242) > java.lang.Thread.run(Thread.java:619) > -------------------------------------------------------------------------------- > 2009-06-02 10:34:41,045 (default-invoker-Thread-11) [ > ServiceDispatcher.java:505:INFO ] [[Sync service failed...- total:0.0,since > last(Begin):0.0]] - 'JobDispatcher / sendShipmentCompleteNotification' > 2009-06-02 10:34:41,045 (default-invoker-Thread-11) [ > ServiceDispatcher.java:508:ERROR] > ---- exception report > ---------------------------------------------------------- > Service [sendShipmentCompleteNotification] threw an unexpected exception/error > Exception: org.ofbiz.service.ServiceValidationException > Message: Unknown parameter found: > [sendShipmentCompleteNotification.messageWrapper] > ---- stack trace > --------------------------------------------------------------- > org.ofbiz.service.ServiceValidationException: Unknown parameter found: > [sendShipmentCompleteNotification.messageWrapper] > org.ofbiz.service.ModelService.validate(ModelService.java:630) > org.ofbiz.service.ModelService.validate(ModelService.java:544) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:482) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:221) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:159) > org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:69) > org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:242) > java.lang.Thread.run(Thread.java:619) > -------------------------------------------------------------------------------- > 2009-06-02 10:34:41,045 (default-invoker-Thread-11) [ > TransactionUtil.java:285:ERROR] > ---- exception report > ---------------------------------------------------------- > [TransactionUtil.rollback] > Exception: java.lang.Exception > Message: Stack Trace > ---- stack trace > --------------------------------------------------------------- > java.lang.Exception: Stack Trace > org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:284) > org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:266) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:511) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:221) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:159) > org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:69) > org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:242) > java.lang.Thread.run(Thread.java:619) > -------------------------------------------------------------------------------- > 2009-06-02 10:34:41,046 (default-invoker-Thread-11) [ > TransactionUtil.java:295:INFO ] [TransactionUtil.rollback] transaction rolled > back > 2009-06-02 10:34:41,046 (default-invoker-Thread-11) [ > TransactionUtil.java:219:WARN ] [TransactionUtil.commit] Not committing > transaction, status is No Transaction (6) > 2009-06-02 10:34:41,046 (default-invoker-Thread-11) [ > GenericServiceJob.java:116:ERROR] > ---- exception report > ---------------------------------------------------------- > Async-Service failed. > Exception: org.ofbiz.service.ServiceValidationException > Message: Unknown parameter found: > [sendShipmentCompleteNotification.messageWrapper] > ---- stack trace > --------------------------------------------------------------- > org.ofbiz.service.ServiceValidationException: Unknown parameter found: > [sendShipmentCompleteNotification.messageWrapper] > org.ofbiz.service.ModelService.validate(ModelService.java:630) > org.ofbiz.service.ModelService.validate(ModelService.java:544) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:482) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:221) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:159) > org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:69) > org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:242) > java.lang.Thread.run(Thread.java:619) > -------------------------------------------------------------------------------- > 2009-06-02 10:34:41,051 (default-invoker-Thread-11) > [PersistedServiceJob.java:243:WARN ] Persisted Job [12814] Failed - Max Retry > Hit; not re-scheduling > 2009-06-02 10:35:20,617 (default-invoker-Thread-7) [ > JobInvoker.java:232:INFO ] Invoker [default-invoker-Thread-7] received job > [Send Email] from poller [org.ofbiz.service.job.jobpol...@18c458] -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.