Error in sending email on Order Confirmation

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

Error in sending email on Order Confirmation

Ashish Vijaywargiya-3
Hi All,

Before few days I was able to send email from my machine.
But it is not working today.
I am using rev : 520943

I would be thankful for any pointer.

Here is the log :

Message: Error running simple method [getPartyNameForDate] in XML file
[org/ofbiz/party/party/PartyServices.xml]:  (Could not find SimpleMethod XML
document in resource: org/ofbiz/party/party/PartyServices.xml)
---- stack trace
---------------------------------------------------------------
org.ofbiz.service.GenericServiceException: Error running simple method
[getPartyNameForDate] in XML file
[org/ofbiz/party/party/PartyServices.xml]:  (Could not find SimpleMethod XML
document in resource: org/ofbiz/party/party/PartyServices.xml)
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(
SimpleServiceEngine.java:78)
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:51)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:340)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
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:585)
freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:616)
freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java
:111)
freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
freemarker.core.Assignment.accept(Assignment.java:90)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.Environment.process(Environment.java:176)
freemarker.template.Template.process(Template.java:232)
org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation(
FreeMarkerWorker.java:179)
org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:77)
org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(
HtmlWidget.java:105)
org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:64)
org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString
(ModelScreenWidget.java:807)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(
ModelScreenWidget.java:152)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(
ModelScreenWidget.java:245)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:134)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:616)
freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java
:111)
freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
freemarker.core.Expression.getStringValue(Expression.java:93)
freemarker.core.DollarVariable.accept(DollarVariable.java:76)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.IfBlock.accept(IfBlock.java:82)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.Environment.process(Environment.java:176)
freemarker.template.Template.process(Template.java:232)
org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation(
FreeMarkerWorker.java:179)
org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:77)
org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(
HtmlWidget.java:105)
org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:64)
org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString
(ModelScreenWidget.java:807)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(
ModelScreenWidget.java:152)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(
ModelScreenWidget.java:245)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:134)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
org.ofbiz.content.email.EmailServices.sendMailFromScreen(EmailServices.java
:318)
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:585)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(
StandardJavaEngine.java:91)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java
:53)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:340)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.order.order.OrderServices.sendOrderNotificationScreen(
OrderServices.java:2164)
org.ofbiz.order.order.OrderServices.sendOrderConfirmNotification(
OrderServices.java:2017)
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:585)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(
StandardJavaEngine.java:91)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java
:53)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:340)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221)
java.lang.Thread.run(Thread.java:595)
org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML
document in resource: org/ofbiz/party/party/PartyServices.xml
org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:132)
org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:100)
org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:87)
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(
SimpleServiceEngine.java:76)
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:51)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:340)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
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:585)
freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:616)
freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java
:111)
freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
freemarker.core.Assignment.accept(Assignment.java:90)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.Environment.process(Environment.java:176)
freemarker.template.Template.process(Template.java:232)
org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation(
FreeMarkerWorker.java:179)
org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:77)
org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(
HtmlWidget.java:105)
org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:64)
org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString
(ModelScreenWidget.java:807)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(
ModelScreenWidget.java:152)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(
ModelScreenWidget.java:245)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:134)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:616)
freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java
:111)
freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
freemarker.core.Expression.getStringValue(Expression.java:93)
freemarker.core.DollarVariable.accept(DollarVariable.java:76)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.IfBlock.accept(IfBlock.java:82)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.Environment.process(Environment.java:176)
freemarker.template.Template.process(Template.java:232)
org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation(
FreeMarkerWorker.java:179)
org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:77)
org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(
HtmlWidget.java:105)
org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:64)
org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString
(ModelScreenWidget.java:807)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(
ModelScreenWidget.java:152)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(
ModelScreenWidget.java:245)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:134)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
org.ofbiz.content.email.EmailServices.sendMailFromScreen(EmailServices.java
:318)
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:585)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(
StandardJavaEngine.java:91)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java
:53)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:340)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.order.order.OrderServices.sendOrderNotificationScreen(
OrderServices.java:2164)
org.ofbiz.order.order.OrderServices.sendOrderConfirmNotification(
OrderServices.java:2017)
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:585)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(
StandardJavaEngine.java:91)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java
:53)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:340)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221)
java.lang.Thread.run(Thread.java:595)
--------------------------------------------------------------------------------

2007-03-23 03:40:39,859 (default-invoker-Thread-5) [
TransactionUtil.java:285:WARN
]
---- exception report
----------------------------------------------------------
[TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this
stack trace shows where this is happening:
Exception: java.lang.Exception
Message: Service [getPartyNameForDate] threw an unexpected exception/error
---- stack trace
---------------------------------------------------------------
java.lang.Exception: Service [getPartyNameForDate] threw an unexpected
exception/error
org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(
TransactionUtil.java:285)
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java
:235)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:395)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
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:585)
freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:616)
freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java
:111)
freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
freemarker.core.Assignment.accept(Assignment.java:90)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.Environment.process(Environment.java:176)
freemarker.template.Template.process(Template.java:232)
org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation(
FreeMarkerWorker.java:179)
org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:77)
org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(
HtmlWidget.java:105)
org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:64)
org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString
(ModelScreenWidget.java:807)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(
ModelScreenWidget.java:152)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(
ModelScreenWidget.java:245)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:134)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:616)
freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java
:111)
freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
freemarker.core.Expression.getStringValue(Expression.java:93)
freemarker.core.DollarVariable.accept(DollarVariable.java:76)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.IfBlock.accept(IfBlock.java:82)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.Environment.process(Environment.java:176)
freemarker.template.Template.process(Template.java:232)
org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation(
FreeMarkerWorker.java:179)
org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:77)
org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(
HtmlWidget.java:105)
org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:64)
org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString
(ModelScreenWidget.java:807)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(
ModelScreenWidget.java:152)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(
ModelScreenWidget.java:245)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:134)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
org.ofbiz.content.email.EmailServices.sendMailFromScreen(EmailServices.java
:318)
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:585)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(
StandardJavaEngine.java:91)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java
:53)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:340)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.order.order.OrderServices.sendOrderNotificationScreen(
OrderServices.java:2164)
org.ofbiz.order.order.OrderServices.sendOrderConfirmNotification(
OrderServices.java:2017)
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:585)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(
StandardJavaEngine.java:91)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java
:53)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:340)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221)
java.lang.Thread.run(Thread.java:595)
--------------------------------------------------------------------------------

2007-03-23 03:40:39,891 (default-invoker-Thread-5) [ Log4JLoggerFactory.java:96
:ERROR]
Method public java.util.Map org.ofbiz.service.GenericDispatcher.runSync(
java.lang.String,java.util.Map) throws
org.ofbiz.service.ServiceValidationException,
org.ofbiz.service.GenericServiceException threw an exception when invoked on
org.ofbiz.service.GenericDispatcher@6fa7ec
The problematic instruction:
----------
==> assignment:
displayPartyNameResult=dispatcher.runSync("getPartyNameForDate",
Static["org.ofbiz.base.util.UtilMisc"].toMap("partyId", displayParty.partyId,
"compareDate", orderHeader.orderDate, "userLogin", userLogin)) [on line 44,
column 23 in orderheader.ftl]
----------

Java backtrace for programmers:
----------
freemarker.template.TemplateModelException: Method public java.util.Map
org.ofbiz.service.GenericDispatcher.runSync(java.lang.String,java.util.Map)
throws org.ofbiz.service.ServiceValidationException,
org.ofbiz.service.GenericServiceException threw an exception when invoked on
org.ofbiz.service.GenericDispatcher@6fa7ec
    at freemarker.ext.beans.OverloadedMethodModel.exec(
OverloadedMethodModel.java:134)
    at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
    at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
    at freemarker.core.Assignment.accept(Assignment.java:90)
    at freemarker.core.Environment.visit(Environment.java:196)
    at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
    at freemarker.core.Environment.visit(Environment.java:196)
    at freemarker.core.MixedContent.accept(MixedContent.java:92)
    at freemarker.core.Environment.visit(Environment.java:196)
    at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
    at freemarker.core.Environment.visit(Environment.java:196)
    at freemarker.core.MixedContent.accept(MixedContent.java:92)
    at freemarker.core.Environment.visit(Environment.java:196)
    at freemarker.core.Environment.process(Environment.java:176)
    at freemarker.template.Template.process(Template.java:232)
    at
org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation(
FreeMarkerWorker.java:179)
    at org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java
:77)
    at org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(
HtmlWidget.java:105)
    at org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java
:64)
    at
org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString
(ModelScreenWidget.java:807)
    at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(
ModelScreenWidget.java:152)
    at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(
ModelScreenWidget.java:245)
    at org.ofbiz.widget.screen.ModelScreen.renderScreenString(
ModelScreen.java:134)
    at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java
:105)
    at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
    at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:616)
    at freemarker.ext.beans.OverloadedMethodModel.exec(
OverloadedMethodModel.java:111)
    at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
    at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
    at freemarker.core.Expression.getStringValue(Expression.java:93)
    at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
    at freemarker.core.Environment.visit(Environment.java:196)
    at freemarker.core.MixedContent.accept(MixedContent.java:92)
    at freemarker.core.Environment.visit(Environment.java:196)
    at freemarker.core.IfBlock.accept(IfBlock.java:82)
    at freemarker.core.Environment.visit(Environment.java:196)
    at freemarker.core.MixedContent.accept(MixedContent.java:92)
    at freemarker.core.Environment.visit(Environment.java:196)
    at freemarker.core.Environment.process(Environment.java:176)
    at freemarker.template.Template.process(Template.java:232)
    at
org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation(
FreeMarkerWorker.java:179)
    at org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java
:77)
    at org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(
HtmlWidget.java:105)
    at org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java
:64)
    at
org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString
(ModelScreenWidget.java:807)
    at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(
ModelScreenWidget.java:152)
    at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(
ModelScreenWidget.java:245)
    at org.ofbiz.widget.screen.ModelScreen.renderScreenString(
ModelScreen.java:134)
    at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java
:105)
    at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
    at org.ofbiz.content.email.EmailServices.sendMailFromScreen(
EmailServices.java:318)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(
StandardJavaEngine.java:91)
    at org.ofbiz.service.engine.StandardJavaEngine.runSync(
StandardJavaEngine.java:53)
    at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java
:340)
    at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java
:211)
    at org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java
:136)
    at org.ofbiz.order.order.OrderServices.sendOrderNotificationScreen(
OrderServices.java:2164)
    at org.ofbiz.order.order.OrderServices.sendOrderConfirmNotification(
OrderServices.java:2017)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(
StandardJavaEngine.java:91)
    at org.ofbiz.service.engine.StandardJavaEngine.runSync(
StandardJavaEngine.java:53)
    at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java
:340)
    at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java
:211)
    at org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java
:136)
    at org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java
:70)
    at org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221)
    at java.lang.Thread.run(Thread.java:595)
Caused by: org.ofbiz.service.GenericServiceException: Error running simple
method [getPartyNameForDate] in XML file
[org/ofbiz/party/party/PartyServices.xml]:  (Could not find SimpleMethod XML
document in resource: org/ofbiz/party/party/PartyServices.xml)
    at org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(
SimpleServiceEngine.java:78)
    at org.ofbiz.minilang.SimpleServiceEngine.runSync(
SimpleServiceEngine.java:51)
    at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java
:340)
    at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java
:211)
    at org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java
:136)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:616)
    at freemarker.ext.beans.OverloadedMethodModel.exec(
OverloadedMethodModel.java:111)
    ... 76 more
2007-03-23 03:40:39,908 (default-invoker-Thread-5) [         HtmlWidget.java:84
:ERROR]
---- exception report
----------------------------------------------------------
Error rendering included template at location
[component://ecommerce/webapp/ecommerce/order/orderheader.ftl]:
freemarker.template.TemplateModelException: Method public java.util.Map
org.ofbiz.service.GenericDispatcher.runSync(java.lang.String,java.util.Map)
throws org.ofbiz.service.ServiceValidationException,
org.ofbiz.service.GenericServiceException threw an exception when invoked on
org.ofbiz.service.GenericDispatcher@6fa7ec
Exception: freemarker.template.TemplateModelException
Message: Method public java.util.Map
org.ofbiz.service.GenericDispatcher.runSync(java.lang.String,java.util.Map)
throws org.ofbiz.service.ServiceValidationException,
org.ofbiz.service.GenericServiceException threw an exception when invoked on
org.ofbiz.service.GenericDispatcher@6fa7ec
---- cause
---------------------------------------------------------------------
Exception: org.ofbiz.service.GenericServiceException
Message: Error running simple method [getPartyNameForDate] in XML file
[org/ofbiz/party/party/PartyServices.xml]:  (Could not find SimpleMethod XML
document in resource: org/ofbiz/party/party/PartyServices.xml)
---- stack trace
---------------------------------------------------------------
org.ofbiz.service.GenericServiceException: Error running simple method
[getPartyNameForDate] in XML file
[org/ofbiz/party/party/PartyServices.xml]:  (Could not find SimpleMethod XML
document in resource: org/ofbiz/party/party/PartyServices.xml)
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(
SimpleServiceEngine.java:78)
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:51)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:340)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
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:585)
freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:616)
freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java
:111)
freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
freemarker.core.Assignment.accept(Assignment.java:90)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.Environment.process(Environment.java:176)
freemarker.template.Template.process(Template.java:232)
org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation(
FreeMarkerWorker.java:179)
org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:77)
org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(
HtmlWidget.java:105)
org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:64)
org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString
(ModelScreenWidget.java:807)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(
ModelScreenWidget.java:152)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(
ModelScreenWidget.java:245)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:134)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:616)
freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java
:111)
freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
freemarker.core.Expression.getStringValue(Expression.java:93)
freemarker.core.DollarVariable.accept(DollarVariable.java:76)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.IfBlock.accept(IfBlock.java:82)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.Environment.process(Environment.java:176)
freemarker.template.Template.process(Template.java:232)
org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation(
FreeMarkerWorker.java:179)
org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:77)
org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(
HtmlWidget.java:105)
org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:64)
org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString
(ModelScreenWidget.java:807)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(
ModelScreenWidget.java:152)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(
ModelScreenWidget.java:245)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:134)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
org.ofbiz.content.email.EmailServices.sendMailFromScreen(EmailServices.java
:318)
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:585)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(
StandardJavaEngine.java:91)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java
:53)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:340)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.order.order.OrderServices.sendOrderNotificationScreen(
OrderServices.java:2164)
org.ofbiz.order.order.OrderServices.sendOrderConfirmNotification(
OrderServices.java:2017)
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:585)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(
StandardJavaEngine.java:91)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java
:53)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:340)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221)
java.lang.Thread.run(Thread.java:595)
org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML
document in resource: org/ofbiz/party/party/PartyServices.xml
org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:132)
org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:100)
org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:87)
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(
SimpleServiceEngine.java:76)
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:51)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:340)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
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:585)
freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:616)
freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java
:111)
freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
freemarker.core.Assignment.accept(Assignment.java:90)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.Environment.process(Environment.java:176)
freemarker.template.Template.process(Template.java:232)
org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation(
FreeMarkerWorker.java:179)
org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:77)
org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(
HtmlWidget.java:105)
org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:64)
org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString
(ModelScreenWidget.java:807)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(
ModelScreenWidget.java:152)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(
ModelScreenWidget.java:245)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:134)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:616)
freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java
:111)
freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
freemarker.core.Expression.getStringValue(Expression.java:93)
freemarker.core.DollarVariable.accept(DollarVariable.java:76)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.IfBlock.accept(IfBlock.java:82)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.Environment.process(Environment.java:176)
freemarker.template.Template.process(Template.java:232)
org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation(
FreeMarkerWorker.java:179)
org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:77)
org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(
HtmlWidget.java:105)
org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:64)
org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString
(ModelScreenWidget.java:807)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(
ModelScreenWidget.java:152)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(
ModelScreenWidget.java:245)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:134)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
org.ofbiz.content.email.EmailServices.sendMailFromScreen(EmailServices.java
:318)
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:585)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(
StandardJavaEngine.java:91)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java
:53)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:340)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.order.order.OrderServices.sendOrderNotificationScreen(
OrderServices.java:2164)
org.ofbiz.order.order.OrderServices.sendOrderConfirmNotification(
OrderServices.java:2017)
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:585)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(
StandardJavaEngine.java:91)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java
:53)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:340)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221)
java.lang.Thread.run(Thread.java:595)
--------------------------------------------------------------------------------

2007-03-23 03:40:40,006 (default-invoker-Thread-5) [
ModelScreen.java:137:ERROR]
Error rendering screen
[component://ecommerce/widget/OrderScreens.xml#orderheader]:
java.lang.RuntimeException: Error rendering included template at location
[component://ecommerce/webapp/ecommerce/order/orderheader.ftl]:
freemarker.template.TemplateModelException: Method public java.util.Map
org.ofbiz.service.GenericDispatcher.runSync(java.lang.String,java.util.Map)
throws org.ofbiz.service.ServiceValidationException,
org.ofbiz.service.GenericServiceException threw an exception when invoked on
org.ofbiz.service.GenericDispatcher@6fa7ec. Rolling back transaction.
2007-03-23 03:40:40,007 (default-invoker-Thread-5) [
TransactionUtil.java:289:INFO
] [TransactionUtil.setRollbackOnly] transaction rollback only not set,
rollback only is already set.
2007-03-23 03:40:40,009 (default-invoker-Thread-5) [ Log4JLoggerFactory.java:96
:ERROR]
Method public java.lang.String org.ofbiz.widget.screen.ScreenRenderer.render
(java.lang.String) throws org.ofbiz.base.util.GeneralException,
java.io.IOException,org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException threw an exception when
invoked on org.ofbiz.widget.screen.ScreenRenderer@7d3b8e
The problematic instruction:
----------
==> ${screens.render("component://ecommerce/widget/OrderScreens.xml#orderheader")}
[on line 37, column 1 in OrderNoticeEmail.ftl]
----------

Java backtrace for programmers:
----------
freemarker.template.TemplateModelException: Method public java.lang.String
org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String) throws
org.ofbiz.base.util.GeneralException,java.io.IOException,
org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationExceptionthrew
an exception when invoked on
org.ofbiz.widget.screen.ScreenRenderer@7d3b8e
    at freemarker.ext.beans.OverloadedMethodModel.exec(
OverloadedMethodModel.java:134)
    at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
    at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
    at freemarker.core.Expression.getStringValue(Expression.java:93)
    at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
    at freemarker.core.Environment.visit(Environment.java:196)
    at freemarker.core.MixedContent.accept(MixedContent.java:92)
    at freemarker.core.Environment.visit(Environment.java:196)
    at freemarker.core.IfBlock.accept(IfBlock.java:82)
    at freemarker.core.Environment.visit(Environment.java:196)
    at freemarker.core.MixedContent.accept(MixedContent.java:92)
    at freemarker.core.Environment.visit(Environment.java:196)
    at freemarker.core.Environment.process(Environment.java:176)
    at freemarker.template.Template.process(Template.java:232)
    at
org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation(
FreeMarkerWorker.java:179)
    at org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java
:77)
    at org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(
HtmlWidget.java:105)
    at org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java
:64)
    at
org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString
(ModelScreenWidget.java:807)
    at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(
ModelScreenWidget.java:152)
    at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(
ModelScreenWidget.java:245)
    at org.ofbiz.widget.screen.ModelScreen.renderScreenString(
ModelScreen.java:134)
    at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java
:105)
    at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
    at org.ofbiz.content.email.EmailServices.sendMailFromScreen(
EmailServices.java:318)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(
StandardJavaEngine.java:91)
    at org.ofbiz.service.engine.StandardJavaEngine.runSync(
StandardJavaEngine.java:53)
    at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java
:340)
    at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java
:211)
    at org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java
:136)
    at org.ofbiz.order.order.OrderServices.sendOrderNotificationScreen(
OrderServices.java:2164)
    at org.ofbiz.order.order.OrderServices.sendOrderConfirmNotification(
OrderServices.java:2017)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(
StandardJavaEngine.java:91)
    at org.ofbiz.service.engine.StandardJavaEngine.runSync(
StandardJavaEngine.java:53)
    at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java
:340)
    at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java
:211)
    at org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java
:136)
    at org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java
:70)
    at org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221)
    at java.lang.Thread.run(Thread.java:595)
Caused by: org.ofbiz.base.util.GeneralException: Error rendering screen
[component://ecommerce/widget/OrderScreens.xml#orderheader]:
java.lang.RuntimeException: Error rendering included template at location
[component://ecommerce/webapp/ecommerce/order/orderheader.ftl]:
freemarker.template.TemplateModelException: Method public java.util.Map
org.ofbiz.service.GenericDispatcher.runSync(java.lang.String,java.util.Map)
throws org.ofbiz.service.ServiceValidationException,
org.ofbiz.service.GenericServiceException threw an exception when invoked on
org.ofbiz.service.GenericDispatcher@6fa7ec (Error rendering included
template at location
[component://ecommerce/webapp/ecommerce/order/orderheader.ftl]:
freemarker.template.TemplateModelException: Method public java.util.Map
org.ofbiz.service.GenericDispatcher.runSync(java.lang.String,java.util.Map)
throws org.ofbiz.service.ServiceValidationException,
org.ofbiz.service.GenericServiceException threw an exception when invoked on
org.ofbiz.service.GenericDispatcher@6fa7ec)
    at org.ofbiz.widget.screen.ModelScreen.renderScreenString(
ModelScreen.java:145)
    at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java
:105)
    at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
    at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:616)
    at freemarker.ext.beans.OverloadedMethodModel.exec(
OverloadedMethodModel.java:111)
    ... 47 more
2007-03-23 03:40:40,017 (default-invoker-Thread-5) [         HtmlWidget.java:84
:ERROR]
---- exception report
----------------------------------------------------------
Error rendering included template at location
[component://ecommerce/templates/email/OrderNoticeEmail.ftl]:
freemarker.template.TemplateModelException: Method public java.lang.String
org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String) throws
org.ofbiz.base.util.GeneralException,java.io.IOException,
org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationExceptionthrew
an exception when invoked on
org.ofbiz.widget.screen.ScreenRenderer@7d3b8e
Exception: freemarker.template.TemplateModelException
Message: Method public java.lang.String
org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String) throws
org.ofbiz.base.util.GeneralException,java.io.IOException,
org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationExceptionthrew
an exception when invoked on
org.ofbiz.widget.screen.ScreenRenderer@7d3b8e
---- cause
---------------------------------------------------------------------
Exception: org.ofbiz.base.util.GeneralException
Message: Error rendering screen
[component://ecommerce/widget/OrderScreens.xml#orderheader]:
java.lang.RuntimeException: Error rendering included template at location
[component://ecommerce/webapp/ecommerce/order/orderheader.ftl]:
freemarker.template.TemplateModelException: Method public java.util.Map
org.ofbiz.service.GenericDispatcher.runSync(java.lang.String,java.util.Map)
throws org.ofbiz.service.ServiceValidationException,
org.ofbiz.service.GenericServiceException threw an exception when invoked on
org.ofbiz.service.GenericDispatcher@6fa7ec (Error rendering included
template at location
[component://ecommerce/webapp/ecommerce/order/orderheader.ftl]:
freemarker.template.TemplateModelException: Method public java.util.Map
org.ofbiz.service.GenericDispatcher.runSync(java.lang.String,java.util.Map)
throws org.ofbiz.service.ServiceValidationException,
org.ofbiz.service.GenericServiceException threw an exception when invoked on
org.ofbiz.service.GenericDispatcher@6fa7ec)
---- stack trace
---------------------------------------------------------------
org.ofbiz.base.util.GeneralException: Error rendering screen
[component://ecommerce/widget/OrderScreens.xml#orderheader]:
java.lang.RuntimeException: Error rendering included template at location
[component://ecommerce/webapp/ecommerce/order/orderheader.ftl]:
freemarker.template.TemplateModelException: Method public java.util.Map
org.ofbiz.service.GenericDispatcher.runSync(java.lang.String,java.util.Map)
throws org.ofbiz.service.ServiceValidationException,
org.ofbiz.service.GenericServiceException threw an exception when invoked on
org.ofbiz.service.GenericDispatcher@6fa7ec (Error rendering included
template at location
[component://ecommerce/webapp/ecommerce/order/orderheader.ftl]:
freemarker.template.TemplateModelException: Method public java.util.Map
org.ofbiz.service.GenericDispatcher.runSync(java.lang.String,java.util.Map)
throws org.ofbiz.service.ServiceValidationException,
org.ofbiz.service.GenericServiceException threw an exception when invoked on
org.ofbiz.service.GenericDispatcher@6fa7ec)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:145)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:616)
freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java
:111)
freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
freemarker.core.Expression.getStringValue(Expression.java:93)
freemarker.core.DollarVariable.accept(DollarVariable.java:76)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.IfBlock.accept(IfBlock.java:82)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.Environment.process(Environment.java:176)
freemarker.template.Template.process(Template.java:232)
org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation(
FreeMarkerWorker.java:179)
org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:77)
org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(
HtmlWidget.java:105)
org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:64)
org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString
(ModelScreenWidget.java:807)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(
ModelScreenWidget.java:152)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(
ModelScreenWidget.java:245)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:134)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
org.ofbiz.content.email.EmailServices.sendMailFromScreen(EmailServices.java
:318)
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:585)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(
StandardJavaEngine.java:91)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java
:53)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:340)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.order.order.OrderServices.sendOrderNotificationScreen(
OrderServices.java:2164)
org.ofbiz.order.order.OrderServices.sendOrderConfirmNotification(
OrderServices.java:2017)
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:585)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(
StandardJavaEngine.java:91)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java
:53)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:340)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221)
java.lang.Thread.run(Thread.java:595)
java.lang.RuntimeException: Error rendering included template at location
[component://ecommerce/webapp/ecommerce/order/orderheader.ftl]:
freemarker.template.TemplateModelException: Method public java.util.Map
org.ofbiz.service.GenericDispatcher.runSync(java.lang.String,java.util.Map)
throws org.ofbiz.service.ServiceValidationException,
org.ofbiz.service.GenericServiceException threw an exception when invoked on
org.ofbiz.service.GenericDispatcher@6fa7ec
org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:85)
org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(
HtmlWidget.java:105)
org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:64)
org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString
(ModelScreenWidget.java:807)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(
ModelScreenWidget.java:152)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(
ModelScreenWidget.java:245)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:134)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:616)
freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java
:111)
freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
freemarker.core.Expression.getStringValue(Expression.java:93)
freemarker.core.DollarVariable.accept(DollarVariable.java:76)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.IfBlock.accept(IfBlock.java:82)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.Environment.process(Environment.java:176)
freemarker.template.Template.process(Template.java:232)
org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation(
FreeMarkerWorker.java:179)
org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:77)
org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(
HtmlWidget.java:105)
org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:64)
org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString
(ModelScreenWidget.java:807)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(
ModelScreenWidget.java:152)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(
ModelScreenWidget.java:245)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:134)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
org.ofbiz.content.email.EmailServices.sendMailFromScreen(EmailServices.java
:318)
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:585)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(
StandardJavaEngine.java:91)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java
:53)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:340)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.order.order.OrderServices.sendOrderNotificationScreen(
OrderServices.java:2164)
org.ofbiz.order.order.OrderServices.sendOrderConfirmNotification(
OrderServices.java:2017)
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:585)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(
StandardJavaEngine.java:91)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java
:53)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:340)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221)
java.lang.Thread.run(Thread.java:595)
--------------------------------------------------------------------------------

2007-03-23 03:40:40,020 (default-invoker-Thread-5) [
ModelScreen.java:137:ERROR]
Error rendering screen
[component://ecommerce/widget/EmailOrderScreens.xml#OrderConfirmNotice]:
java.lang.RuntimeException: Error rendering included template at location
[component://ecommerce/templates/email/OrderNoticeEmail.ftl]:
freemarker.template.TemplateModelException: Method public java.lang.String
org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String) throws
org.ofbiz.base.util.GeneralException,java.io.IOException,
org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationExceptionthrew
an exception when invoked on
org.ofbiz.widget.screen.ScreenRenderer@7d3b8e. Rolling back transaction.
2007-03-23 03:40:40,024 (default-invoker-Thread-5) [
TransactionUtil.java:289:INFO
] [TransactionUtil.setRollbackOnly] transaction rollback only not set,
rollback only is already set.
2007-03-23 03:40:40,027 (default-invoker-Thread-5) [
EmailServices.java:321:ERROR]

---- exception report
----------------------------------------------------------
Error rendering screen for email: org.ofbiz.base.util.GeneralException:
Error rendering screen
[component://ecommerce/widget/EmailOrderScreens.xml#OrderConfirmNotice]:
java.lang.RuntimeException: Error rendering included template at location
[component://ecommerce/templates/email/OrderNoticeEmail.ftl]:
freemarker.template.TemplateModelException: Method public java.lang.String
org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String) throws
org.ofbiz.base.util.GeneralException,java.io.IOException,
org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationExceptionthrew
an exception when invoked on
org.ofbiz.widget.screen.ScreenRenderer@7d3b8e (Error rendering included
template at location
[component://ecommerce/templates/email/OrderNoticeEmail.ftl]:
freemarker.template.TemplateModelException: Method public java.lang.String
org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String) throws
org.ofbiz.base.util.GeneralException,java.io.IOException,
org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationExceptionthrew
an exception when invoked on
org.ofbiz.widget.screen.ScreenRenderer@7d3b8e)
Exception: org.ofbiz.base.util.GeneralException
Message: Error rendering screen
[component://ecommerce/widget/EmailOrderScreens.xml#OrderConfirmNotice]:
java.lang.RuntimeException: Error rendering included template at location
[component://ecommerce/templates/email/OrderNoticeEmail.ftl]:
freemarker.template.TemplateModelException: Method public java.lang.String
org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String) throws
org.ofbiz.base.util.GeneralException,java.io.IOException,
org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationExceptionthrew
an exception when invoked on
org.ofbiz.widget.screen.ScreenRenderer@7d3b8e (Error rendering included
template at location
[component://ecommerce/templates/email/OrderNoticeEmail.ftl]:
freemarker.template.TemplateModelException: Method public java.lang.String
org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String) throws
org.ofbiz.base.util.GeneralException,java.io.IOException,
org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationExceptionthrew
an exception when invoked on
org.ofbiz.widget.screen.ScreenRenderer@7d3b8e)
---- stack trace
---------------------------------------------------------------
org.ofbiz.base.util.GeneralException: Error rendering screen
[component://ecommerce/widget/EmailOrderScreens.xml#OrderConfirmNotice]:
java.lang.RuntimeException: Error rendering included template at location
[component://ecommerce/templates/email/OrderNoticeEmail.ftl]:
freemarker.template.TemplateModelException: Method public java.lang.String
org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String) throws
org.ofbiz.base.util.GeneralException,java.io.IOException,
org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationExceptionthrew
an exception when invoked on
org.ofbiz.widget.screen.ScreenRenderer@7d3b8e (Error rendering included
template at location
[component://ecommerce/templates/email/OrderNoticeEmail.ftl]:
freemarker.template.TemplateModelException: Method public java.lang.String
org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String) throws
org.ofbiz.base.util.GeneralException,java.io.IOException,
org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationExceptionthrew
an exception when invoked on
org.ofbiz.widget.screen.ScreenRenderer@7d3b8e)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:145)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
org.ofbiz.content.email.EmailServices.sendMailFromScreen(EmailServices.java
:318)
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:585)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(
StandardJavaEngine.java:91)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java
:53)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:340)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.order.order.OrderServices.sendOrderNotificationScreen(
OrderServices.java:2164)
org.ofbiz.order.order.OrderServices.sendOrderConfirmNotification(
OrderServices.java:2017)
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:585)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(
StandardJavaEngine.java:91)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java
:53)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:340)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221)
java.lang.Thread.run(Thread.java:595)
java.lang.RuntimeException: Error rendering included template at location
[component://ecommerce/templates/email/OrderNoticeEmail.ftl]:
freemarker.template.TemplateModelException: Method public java.lang.String
org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String) throws
org.ofbiz.base.util.GeneralException,java.io.IOException,
org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationExceptionthrew
an exception when invoked on
org.ofbiz.widget.screen.ScreenRenderer@7d3b8e
org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:85)
org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(
HtmlWidget.java:105)
org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:64)
org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString
(ModelScreenWidget.java:807)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(
ModelScreenWidget.java:152)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(
ModelScreenWidget.java:245)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:134)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
org.ofbiz.content.email.EmailServices.sendMailFromScreen(EmailServices.java
:318)
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:585)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(
StandardJavaEngine.java:91)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java
:53)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:340)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.order.order.OrderServices.sendOrderNotificationScreen(
OrderServices.java:2164)
org.ofbiz.order.order.OrderServices.sendOrderConfirmNotification(
OrderServices.java:2017)
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:585)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(
StandardJavaEngine.java:91)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java
:53)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:340)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221)
java.lang.Thread.run(Thread.java:595)
--------------------------------------------------------------------------------

2007-03-23 03:40:40,029 (default-invoker-Thread-5) [
ServiceDispatcher.java:415:ERROR]
Service Error [sendMailFromScreen]: Error rendering screen for email:
org.ofbiz.base.util.GeneralException: Error rendering screen
[component://ecommerce/widget/EmailOrderScreens.xml#OrderConfirmNotice]:
java.lang.RuntimeException: Error rendering included template at location
[component://ecommerce/templates/email/OrderNoticeEmail.ftl]:
freemarker.template.TemplateModelException: Method public java.lang.String
org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String) throws
org.ofbiz.base.util.GeneralException,java.io.IOException,
org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationExceptionthrew
an exception when invoked on
org.ofbiz.widget.screen.ScreenRenderer@7d3b8e (Error rendering included
template at location
[component://ecommerce/templates/email/OrderNoticeEmail.ftl]:
freemarker.template.TemplateModelException: Method public java.lang.String
org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String) throws
org.ofbiz.base.util.GeneralException,java.io.IOException,
org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationExceptionthrew
an exception when invoked on
org.ofbiz.widget.screen.ScreenRenderer@7d3b8e)
2007-03-23 03:40:40,030 (default-invoker-Thread-5) [
TransactionUtil.java:289:INFO
] [TransactionUtil.setRollbackOnly] transaction rollback only not set,
rollback only is already set.
2007-03-23 03:40:40,030 (default-invoker-Thread-5) [
ServiceDispatcher.java:459:DEBUG]
[[Sync service finished- total:0.941,since last(Begin):0.941]] -
'JobDispatcher / sendMailFromScreen'
2007-03-23 03:40:40,031 (default-invoker-Thread-5) [
ServiceDispatcher.java:415:ERROR]
Service Error [sendOrderConfirmation]: Error rendering screen for email:
org.ofbiz.base.util.GeneralException: Error rendering screen
[component://ecommerce/widget/EmailOrderScreens.xml#OrderConfirmNotice]:
java.lang.RuntimeException: Error rendering included template at location
[component://ecommerce/templates/email/OrderNoticeEmail.ftl]:
freemarker.template.TemplateModelException: Method public java.lang.String
org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String) throws
org.ofbiz.base.util.GeneralException,java.io.IOException,
org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationExceptionthrew
an exception when invoked on
org.ofbiz.widget.screen.ScreenRenderer@7d3b8e (Error rendering included
template at location
[component://ecommerce/templates/email/OrderNoticeEmail.ftl]:
freemarker.template.TemplateModelException: Method public java.lang.String
org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String) throws
org.ofbiz.base.util.GeneralException,java.io.IOException,
org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationExceptionthrew
an exception when invoked on
org.ofbiz.widget.screen.ScreenRenderer@7d3b8e)
2007-03-23 03:40:40,031 (default-invoker-Thread-5) [
TransactionUtil.java:252: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
:251)
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java
:233)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:419)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221)
java.lang.Thread.run(Thread.java:595)
--------------------------------------------------------------------------------

2007-03-23 03:40:40,033 (default-invoker-Thread-5) [
TransactionUtil.java:262:INFO
] [TransactionUtil.rollback] transaction rolled back
2007-03-23 03:40:40,033 (default-invoker-Thread-5) [
ServiceDispatcher.java:459:DEBUG]
[[Sync service finished- total:0.987,since last(Begin):0.987]] -
'JobDispatcher / sendOrderConfirmation'
2007-03-23 03:40:40,034 (default-invoker-Thread-5) [
GenericServiceJob.java:117:ERROR]

---- exception report
----------------------------------------------------------
Async-Service failed.
Exception: java.lang.Exception
Message: Error rendering screen for email:
org.ofbiz.base.util.GeneralException: Error rendering screen
[component://ecommerce/widget/EmailOrderScreens.xml#OrderConfirmNotice]:
java.lang.RuntimeException: Error rendering included template at location
[component://ecommerce/templates/email/OrderNoticeEmail.ftl]:
freemarker.template.TemplateModelException: Method public java.lang.String
org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String) throws
org.ofbiz.base.util.GeneralException,java.io.IOException,
org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationExceptionthrew
an exception when invoked on
org.ofbiz.widget.screen.ScreenRenderer@7d3b8e (Error rendering included
template at location
[component://ecommerce/templates/email/OrderNoticeEmail.ftl]:
freemarker.template.TemplateModelException: Method public java.lang.String
org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String) throws
org.ofbiz.base.util.GeneralException,java.io.IOException,
org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationExceptionthrew
an exception when invoked on
org.ofbiz.widget.screen.ScreenRenderer@7d3b8e)
---- stack trace
---------------------------------------------------------------
java.lang.Exception: Error rendering screen for email:
org.ofbiz.base.util.GeneralException: Error rendering screen
[component://ecommerce/widget/EmailOrderScreens.xml#OrderConfirmNotice]:
java.lang.RuntimeException: Error rendering included template at location
[component://ecommerce/templates/email/OrderNoticeEmail.ftl]:
freemarker.template.TemplateModelException: Method public java.lang.String
org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String) throws
org.ofbiz.base.util.GeneralException,java.io.IOException,
org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationExceptionthrew
an exception when invoked on
org.ofbiz.widget.screen.ScreenRenderer@7d3b8e (Error rendering included
template at location
[component://ecommerce/templates/email/OrderNoticeEmail.ftl]:
freemarker.template.TemplateModelException: Method public java.lang.String
org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String) throws
org.ofbiz.base.util.GeneralException,java.io.IOException,
org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationExceptionthrew
an exception when invoked on
org.ofbiz.widget.screen.ScreenRenderer@7d3b8e)


--
Regards
Ashish Vijaywargiya
Aditisoft Technology Laboratory
http://www.adititechlabs.com
[hidden email]
_______________________
Office : 509.855.4113
Cell    : 91-989-347-9711
Reply | Threaded
Open this post in threaded view
|

Re: Error in sending email on Order Confirmation

Ray Barlow
Ashish,

I just created an order with the latest checkout (521619) and I couldn't
see any errors, the HTML was dumped to the log as usual. It doesn't look
like the getPartyNameForDate signature has changed recently either.

Have you tried an "ant clean" and "ant"? Also an "svn st" to see if
there are any modified files hanging around? Or even a fresh database?

Ray

Ashish Vijaywargiya wrote:

> Hi All,
>
> Before few days I was able to send email from my machine.
> But it is not working today.
> I am using rev : 520943
>
> I would be thankful for any pointer.
>
> Here is the log :
>
> Message: Error running simple method [getPartyNameForDate] in XML file
> [org/ofbiz/party/party/PartyServices.xml]:  (Could not find
> SimpleMethod XML
> document in resource: org/ofbiz/party/party/PartyServices.xml)
> ---- stack trace
> ---------------------------------------------------------------
> org.ofbiz.service.GenericServiceException: Error running simple method
> [getPartyNameForDate] in XML file
> [org/ofbiz/party/party/PartyServices.xml]:  (Could not find
> SimpleMethod XML
> document in resource: org/ofbiz/party/party/PartyServices.xml)
> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(
> SimpleServiceEngine.java:78)
> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:51)
>
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:340)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
>
Reply | Threaded
Open this post in threaded view
|

Re: Error in sending email on Order Confirmation

Ashish Vijaywargiya-3
Thx Ray.

I think "I was missing ant clean".


On 3/23/07, Ray Barlow <[hidden email]> wrote:

>
> Ashish,
>
> I just created an order with the latest checkout (521619) and I couldn't
> see any errors, the HTML was dumped to the log as usual. It doesn't look
> like the getPartyNameForDate signature has changed recently either.
>
> Have you tried an "ant clean" and "ant"? Also an "svn st" to see if
> there are any modified files hanging around? Or even a fresh database?
>
> Ray
>
> Ashish Vijaywargiya wrote:
> > Hi All,
> >
> > Before few days I was able to send email from my machine.
> > But it is not working today.
> > I am using rev : 520943
> >
> > I would be thankful for any pointer.
> >
> > Here is the log :
> >
> > Message: Error running simple method [getPartyNameForDate] in XML file
> > [org/ofbiz/party/party/PartyServices.xml]:  (Could not find
> > SimpleMethod XML
> > document in resource: org/ofbiz/party/party/PartyServices.xml)
> > ---- stack trace
> > ---------------------------------------------------------------
> > org.ofbiz.service.GenericServiceException: Error running simple method
> > [getPartyNameForDate] in XML file
> > [org/ofbiz/party/party/PartyServices.xml]:  (Could not find
> > SimpleMethod XML
> > document in resource: org/ofbiz/party/party/PartyServices.xml)
> > org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(
> > SimpleServiceEngine.java:78)
> > org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java
> :51)
> >
> > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:340)
> > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
> >
>



--
Regards
Ashish Vijaywargiya
Aditisoft Technology Laboratory
http://www.adititechlabs.com
[hidden email]
_______________________
Office : 509.855.4113
Cell    : 91-989-347-9711
Reply | Threaded
Open this post in threaded view
|

Re: Error in sending email on Order Confirmation

Vamsi
hi,
before going to problem
can u answers this question to get some information from you

Is that order placed using checkoutwithout login?

regards
Vamsi
Reply | Threaded
Open this post in threaded view
|

Error in ofbiz-service-rmi.jar building

Kane Lo
There is an error under framework/service/build.xml.

The line 112. <jar jarfile="${build.dir}/lib/${name}-rmi.raj"> should be
<jar jarfile="${build.dir}/lib/${name}-rmi.jar">

Reply | Threaded
Open this post in threaded view
|

Re: Error in ofbiz-service-rmi.jar building

David E Jones

Actually, this is NOT an error. The extension is intentionally  
reversed so that it doesn't get picked up in normal operation.

The is the jar for the service engine RMI client, and to use it see  
the code and comments in the example service client java file.

-David


On Mar 28, 2007, at 1:49 AM, Kane Lo wrote:

> There is an error under framework/service/build.xml.
>
> The line 112. <jar jarfile="${build.dir}/lib/${name}-rmi.raj">  
> should be <jar jarfile="${build.dir}/lib/${name}-rmi.jar">


smime.p7s (3K) Download Attachment