Hi Guys,
The trunk ecommerce demo http://demo-trunk.ofbiz.apache.org/ecommerce/ is showing an error or two Cheers Sam 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@3696ac2b with arguments of types [java.lang.String,] The problematic instruction: ---------- ==> ${screens.render(productsummaryScreen)} [on line 118, column 23 in component://order/webapp/ordermgr/entry/catalog/categorydetail.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.ParserConfigurationException threw an exception when invoked on org.ofbiz.widget.screen.ScreenRenderer@3696ac2b with arguments of types [java.lang.String,] 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:209) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:209) at freemarker.core.IfBlock.accept(IfBlock.java:82) at freemarker.core.Environment.visit(Environment.java:209) at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:167) at freemarker.core.Environment.visit(Environment.java:416) at freemarker.core.IteratorBlock.accept(IteratorBlock.java:102) at freemarker.core.Environment.visit(Environment.java:209) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:209) at freemarker.core.IfBlock.accept(IfBlock.java:82) at freemarker.core.Environment.visit(Environment.java:209) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:209) at freemarker.core.Environment.process(Environment.java:189) at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:216) at org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:205) at org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:250) at org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:110) at org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:972) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392) at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:540) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392) at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:540) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392) at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135) at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97) at sun.reflect.GeneratedMethodAccessor154.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840) at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104) 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:209) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:209) at freemarker.core.IfBlock.accept(IfBlock.java:82) at freemarker.core.Environment.visit(Environment.java:209) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:209) at freemarker.core.Environment.process(Environment.java:189) at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:216) at org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:205) at org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:250) at org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:110) at org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:972) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:670) at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:126) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:703) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:257) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:257) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:637) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392) at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135) at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97) at org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101) at org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839) at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559) at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302) at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:706) at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:677) at org.apache.jsp.index_jsp._jspService(index_jsp.java:56) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:271) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:619) Caused by: org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://ecommerce/widget/CatalogScreens.xml#productsummary]: org.ofbiz.base.util.GeneralException: Error running Groovy script at location [component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductSummary.groovy] (Service [calculateProductPrice] target threw an unexpected exception (null)) (Error running Groovy script at location [component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductSummary.groovy] (Service [calculateProductPrice] target threw an unexpected exception (null))) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:419) at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135) at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97) at sun.reflect.GeneratedMethodAccessor154.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840) at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104) ... 121 more Caused by: org.ofbiz.base.util.GeneralException: Error running Groovy script at location [component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductSummary.groovy] (Service [calculateProductPrice] target threw an unexpected exception (null)) at org.ofbiz.widget.ModelWidgetAction$Script.runAction(ModelWidgetAction.java:421) at org.ofbiz.widget.ModelWidgetAction.runSubActions(ModelWidgetAction.java:117) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:181) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392) ... 128 more Caused by: org.ofbiz.service.GenericServiceException: Service [calculateProductPrice] target threw an unexpected exception (null) at org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:115) at org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57) at org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:761) at _$gen.file_58$.home.ofbiz.trunk.applications.product.servicedef.services_95$pricepromo_46$xml_35$calculateProductPrice.runSync(file:/home/ofbiz/trunk/applications/product/servicedef/services_pricepromo.xml#calculateProductPrice:29) at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:399) at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:226) at org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:165) at sun.reflect.GeneratedMethodAccessor2443.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229) at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:129) at ProductSummary.run(ProductSummary.groovy:106) at org.ofbiz.widget.ModelWidgetAction$Script.runAction(ModelWidgetAction.java:416) ... 131 more Caused by: java.lang.NullPointerException |
I think it will go away with data reload somone playing with the back
end, since it was specific to a product. https://demo-trunk.ofbiz.apache.org/webtools/control/LogView rollbackOnly was caused by: Service [calculateProductPrice] threw an unexpected exception/errororg.ofbiz.service.GenericServiceException: Service [calculateProductPrice] target threw an unexpected exception (null) (Service [calculateProductPrice] target threw an unexpected exception (null)). Rolling back transaction. Sam Hamilton sent the following on 7/9/2010 11:09 PM: > Hi Guys, > > The trunk ecommerce demo http://demo-trunk.ofbiz.apache.org/ecommerce/ > is showing an error or two > > Cheers > Sam > > > 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@3696ac2b with arguments of types > [java.lang.String,] The problematic instruction: ---------- ==> > ${screens.render(productsummaryScreen)} [on line 118, column 23 in > component://order/webapp/ordermgr/entry/catalog/categorydetail.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.ParserConfigurationException > threw an exception when invoked on > org.ofbiz.widget.screen.ScreenRenderer@3696ac2b with arguments of types > [java.lang.String,] 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:209) at > freemarker.core.MixedContent.accept(MixedContent.java:92) at > freemarker.core.Environment.visit(Environment.java:209) at > freemarker.core.IfBlock.accept(IfBlock.java:82) at > freemarker.core.Environment.visit(Environment.java:209) at > freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:167) at > freemarker.core.Environment.visit(Environment.java:416) at > freemarker.core.IteratorBlock.accept(IteratorBlock.java:102) at > freemarker.core.Environment.visit(Environment.java:209) at > freemarker.core.MixedContent.accept(MixedContent.java:92) at > freemarker.core.Environment.visit(Environment.java:209) at > freemarker.core.IfBlock.accept(IfBlock.java:82) at > freemarker.core.Environment.visit(Environment.java:209) at > freemarker.core.MixedContent.accept(MixedContent.java:92) at > freemarker.core.Environment.visit(Environment.java:209) at > freemarker.core.Environment.process(Environment.java:189) at > org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:216) > at > org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:205) > at > org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:250) > at > org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:110) > at > org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:972) > at > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) > at > org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188) > at > org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392) > at > org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:540) > at > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) > at > org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188) > at > org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392) > at > org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:540) > at > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) > at > org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188) > at > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) > at > org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188) > at > org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392) > at > org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135) > at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97) > at sun.reflect.GeneratedMethodAccessor154.invoke(Unknown Source) at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) at > freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840) at > freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104) > 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:209) at > freemarker.core.MixedContent.accept(MixedContent.java:92) at > freemarker.core.Environment.visit(Environment.java:209) at > freemarker.core.IfBlock.accept(IfBlock.java:82) at > freemarker.core.Environment.visit(Environment.java:209) at > freemarker.core.MixedContent.accept(MixedContent.java:92) at > freemarker.core.Environment.visit(Environment.java:209) at > freemarker.core.Environment.process(Environment.java:189) at > org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:216) > at > org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:205) > at > org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:250) > at > org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:110) > at > org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:972) > at > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) > at > org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:670) > at > org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:126) > at > org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:703) > at > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) > at > org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:257) > at > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) > at > org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:257) > at > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) > at > org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188) > at > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) > at > org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188) > at > org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392) > at > org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:637) > at > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) > at > org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188) > at > org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392) > at > org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135) > at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97) > at > org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101) > at > org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839) > at > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559) > at > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at > javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646) > at > org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436) > at > org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374) > at > org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302) > at > org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:706) > at > org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:677) > at org.apache.jsp.index_jsp._jspService(index_jsp.java:56) at > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at > javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377) > at > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) at > javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:271) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555) at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) > at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) > at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291) > at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769) at > org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698) > at > org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891) > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) > at java.lang.Thread.run(Thread.java:619) Caused by: > org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen > [component://ecommerce/widget/CatalogScreens.xml#productsummary]: > org.ofbiz.base.util.GeneralException: Error running Groovy script at > location > [component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductSummary.groovy] > (Service [calculateProductPrice] target threw an unexpected exception > (null)) (Error running Groovy script at location > [component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductSummary.groovy] > (Service [calculateProductPrice] target threw an unexpected exception > (null))) at > org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:419) > at > org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135) > at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97) > at sun.reflect.GeneratedMethodAccessor154.invoke(Unknown Source) at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) at > freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840) at > freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104) > ... 121 more Caused by: org.ofbiz.base.util.GeneralException: Error > running Groovy script at location > [component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductSummary.groovy] > (Service [calculateProductPrice] target threw an unexpected exception > (null)) at > org.ofbiz.widget.ModelWidgetAction$Script.runAction(ModelWidgetAction.java:421) > at > org.ofbiz.widget.ModelWidgetAction.runSubActions(ModelWidgetAction.java:117) > at > org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:181) > at > org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392) > ... 128 more Caused by: org.ofbiz.service.GenericServiceException: > Service [calculateProductPrice] target threw an unexpected exception > (null) at > org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:115) > at > org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57) > at > org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:761) > at > _$gen.file_58$.home.ofbiz.trunk.applications.product.servicedef.services_95$pricepromo_46$xml_35$calculateProductPrice.runSync(file:/home/ofbiz/trunk/applications/product/servicedef/services_pricepromo.xml#calculateProductPrice:29) > at > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:399) > at > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:226) > at > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:165) > at sun.reflect.GeneratedMethodAccessor2443.invoke(Unknown Source) at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) at > org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229) > at > org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52) > at > org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40) > at > org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117) > at > org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:129) > at ProductSummary.run(ProductSummary.groovy:106) at > org.ofbiz.widget.ModelWidgetAction$Script.runAction(ModelWidgetAction.java:416) > ... 131 more Caused by: java.lang.NullPointerException > |
does not look like the nightly update is automaic yet
still On Date: Fri Jul 9 02:34:22 2010 New Revision: 962392 BJ Freeman sent the following on 7/9/2010 11:32 PM: > I think it will go away with data reload somone playing with the back > end, since it was specific to a product. > https://demo-trunk.ofbiz.apache.org/webtools/control/LogView > > rollbackOnly was caused by: Service [calculateProductPrice] threw an > unexpected exception/errororg.ofbiz.service.GenericServiceException: > Service [calculateProductPrice] target threw an unexpected exception > (null) (Service [calculateProductPrice] target threw an unexpected > exception (null)). Rolling back transaction. > > Sam Hamilton sent the following on 7/9/2010 11:09 PM: >> Hi Guys, >> >> The trunk ecommerce demo http://demo-trunk.ofbiz.apache.org/ecommerce/ >> is showing an error or two >> >> Cheers >> Sam >> >> >> 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@3696ac2b with arguments of types >> [java.lang.String,] The problematic instruction: ---------- ==> >> ${screens.render(productsummaryScreen)} [on line 118, column 23 in >> component://order/webapp/ordermgr/entry/catalog/categorydetail.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.ParserConfigurationException >> >> threw an exception when invoked on >> org.ofbiz.widget.screen.ScreenRenderer@3696ac2b with arguments of types >> [java.lang.String,] 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:209) at >> freemarker.core.MixedContent.accept(MixedContent.java:92) at >> freemarker.core.Environment.visit(Environment.java:209) at >> freemarker.core.IfBlock.accept(IfBlock.java:82) at >> freemarker.core.Environment.visit(Environment.java:209) at >> freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:167) at >> freemarker.core.Environment.visit(Environment.java:416) at >> freemarker.core.IteratorBlock.accept(IteratorBlock.java:102) at >> freemarker.core.Environment.visit(Environment.java:209) at >> freemarker.core.MixedContent.accept(MixedContent.java:92) at >> freemarker.core.Environment.visit(Environment.java:209) at >> freemarker.core.IfBlock.accept(IfBlock.java:82) at >> freemarker.core.Environment.visit(Environment.java:209) at >> freemarker.core.MixedContent.accept(MixedContent.java:92) at >> freemarker.core.Environment.visit(Environment.java:209) at >> freemarker.core.Environment.process(Environment.java:189) at >> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:216) >> >> at >> org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:205) >> >> at >> org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:250) >> >> at >> org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:110) >> >> at >> org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:972) >> >> at >> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) >> >> at >> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188) >> >> at >> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392) >> >> at >> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:540) >> >> at >> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) >> >> at >> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188) >> >> at >> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392) >> >> at >> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:540) >> >> at >> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) >> >> at >> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188) >> >> at >> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) >> >> at >> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188) >> >> at >> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392) >> >> at >> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135) >> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97) >> at sun.reflect.GeneratedMethodAccessor154.invoke(Unknown Source) at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> >> at java.lang.reflect.Method.invoke(Method.java:597) at >> freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840) at >> freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104) >> >> 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:209) at >> freemarker.core.MixedContent.accept(MixedContent.java:92) at >> freemarker.core.Environment.visit(Environment.java:209) at >> freemarker.core.IfBlock.accept(IfBlock.java:82) at >> freemarker.core.Environment.visit(Environment.java:209) at >> freemarker.core.MixedContent.accept(MixedContent.java:92) at >> freemarker.core.Environment.visit(Environment.java:209) at >> freemarker.core.Environment.process(Environment.java:189) at >> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:216) >> >> at >> org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:205) >> >> at >> org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:250) >> >> at >> org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:110) >> >> at >> org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:972) >> >> at >> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) >> >> at >> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:670) >> >> at >> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:126) >> >> at >> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:703) >> >> at >> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) >> >> at >> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:257) >> >> at >> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) >> >> at >> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:257) >> >> at >> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) >> >> at >> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188) >> >> at >> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) >> >> at >> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188) >> >> at >> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392) >> >> at >> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:637) >> >> at >> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) >> >> at >> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188) >> >> at >> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392) >> >> at >> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135) >> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97) >> at >> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101) >> >> at >> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839) >> >> at >> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559) >> >> at >> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at >> javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) >> >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >> >> at >> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646) >> >> at >> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436) >> >> at >> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374) >> >> at >> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302) >> >> at >> org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:706) >> >> at >> org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:677) >> >> at org.apache.jsp.index_jsp._jspService(index_jsp.java:56) at >> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at >> javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at >> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377) >> >> at >> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) >> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) at >> javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) >> >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >> >> at >> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:271) >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) >> >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >> >> at >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) >> >> at >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) >> >> at >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) >> >> at >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) >> >> at >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) >> >> at >> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555) >> at >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) >> >> at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) >> at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291) >> at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769) at >> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698) >> >> at >> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891) >> >> at >> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) >> >> at java.lang.Thread.run(Thread.java:619) Caused by: >> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen >> [component://ecommerce/widget/CatalogScreens.xml#productsummary]: >> org.ofbiz.base.util.GeneralException: Error running Groovy script at >> location >> [component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductSummary.groovy] >> >> (Service [calculateProductPrice] target threw an unexpected exception >> (null)) (Error running Groovy script at location >> [component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductSummary.groovy] >> >> (Service [calculateProductPrice] target threw an unexpected exception >> (null))) at >> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:419) >> >> at >> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135) >> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97) >> at sun.reflect.GeneratedMethodAccessor154.invoke(Unknown Source) at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> >> at java.lang.reflect.Method.invoke(Method.java:597) at >> freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840) at >> freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104) >> >> ... 121 more Caused by: org.ofbiz.base.util.GeneralException: Error >> running Groovy script at location >> [component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductSummary.groovy] >> >> (Service [calculateProductPrice] target threw an unexpected exception >> (null)) at >> org.ofbiz.widget.ModelWidgetAction$Script.runAction(ModelWidgetAction.java:421) >> >> at >> org.ofbiz.widget.ModelWidgetAction.runSubActions(ModelWidgetAction.java:117) >> >> at >> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:181) >> >> at >> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392) >> >> ... 128 more Caused by: org.ofbiz.service.GenericServiceException: >> Service [calculateProductPrice] target threw an unexpected exception >> (null) at >> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:115) >> >> at >> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57) >> >> at >> org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:761) >> >> at >> _$gen.file_58$.home.ofbiz.trunk.applications.product.servicedef.services_95$pricepromo_46$xml_35$calculateProductPrice.runSync(file:/home/ofbiz/trunk/applications/product/servicedef/services_pricepromo.xml#calculateProductPrice:29) >> >> at >> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:399) >> at >> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:226) >> at >> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:165) >> at sun.reflect.GeneratedMethodAccessor2443.invoke(Unknown Source) at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> >> at java.lang.reflect.Method.invoke(Method.java:597) at >> org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229) >> >> at >> org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52) >> >> at >> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40) >> >> at >> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117) >> >> at >> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:129) >> >> at ProductSummary.run(ProductSummary.groovy:106) at >> org.ofbiz.widget.ModelWidgetAction$Script.runAction(ModelWidgetAction.java:416) >> >> ... 131 more Caused by: java.lang.NullPointerException >> > |
In reply to this post by samhamilton
reloaded :D
Sam Hamilton sent the following on 7/9/2010 11:09 PM: > Hi Guys, > > The trunk ecommerce demo http://demo-trunk.ofbiz.apache.org/ecommerce/ > is showing an error or two > > Cheers > Sam > > > 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@3696ac2b with arguments of types > [java.lang.String,] The problematic instruction: ---------- ==> > ${screens.render(productsummaryScreen)} [on line 118, column 23 in > component://order/webapp/ordermgr/entry/catalog/categorydetail.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.ParserConfigurationException > threw an exception when invoked on > org.ofbiz.widget.screen.ScreenRenderer@3696ac2b with arguments of types > [java.lang.String,] 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:209) at > freemarker.core.MixedContent.accept(MixedContent.java:92) at > freemarker.core.Environment.visit(Environment.java:209) at > freemarker.core.IfBlock.accept(IfBlock.java:82) at > freemarker.core.Environment.visit(Environment.java:209) at > freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:167) at > freemarker.core.Environment.visit(Environment.java:416) at > freemarker.core.IteratorBlock.accept(IteratorBlock.java:102) at > freemarker.core.Environment.visit(Environment.java:209) at > freemarker.core.MixedContent.accept(MixedContent.java:92) at > freemarker.core.Environment.visit(Environment.java:209) at > freemarker.core.IfBlock.accept(IfBlock.java:82) at > freemarker.core.Environment.visit(Environment.java:209) at > freemarker.core.MixedContent.accept(MixedContent.java:92) at > freemarker.core.Environment.visit(Environment.java:209) at > freemarker.core.Environment.process(Environment.java:189) at > org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:216) > at > org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:205) > at > org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:250) > at > org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:110) > at > org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:972) > at > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) > at > org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188) > at > org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392) > at > org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:540) > at > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) > at > org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188) > at > org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392) > at > org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:540) > at > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) > at > org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188) > at > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) > at > org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188) > at > org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392) > at > org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135) > at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97) > at sun.reflect.GeneratedMethodAccessor154.invoke(Unknown Source) at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) at > freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840) at > freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104) > 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:209) at > freemarker.core.MixedContent.accept(MixedContent.java:92) at > freemarker.core.Environment.visit(Environment.java:209) at > freemarker.core.IfBlock.accept(IfBlock.java:82) at > freemarker.core.Environment.visit(Environment.java:209) at > freemarker.core.MixedContent.accept(MixedContent.java:92) at > freemarker.core.Environment.visit(Environment.java:209) at > freemarker.core.Environment.process(Environment.java:189) at > org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:216) > at > org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:205) > at > org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:250) > at > org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:110) > at > org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:972) > at > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) > at > org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:670) > at > org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:126) > at > org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:703) > at > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) > at > org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:257) > at > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) > at > org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:257) > at > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) > at > org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188) > at > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) > at > org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188) > at > org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392) > at > org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:637) > at > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:101) > at > org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:188) > at > org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392) > at > org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135) > at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97) > at > org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101) > at > org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839) > at > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559) > at > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at > javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646) > at > org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436) > at > org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374) > at > org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302) > at > org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:706) > at > org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:677) > at org.apache.jsp.index_jsp._jspService(index_jsp.java:56) at > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at > javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377) > at > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) at > javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:271) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555) at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) > at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) > at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291) > at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769) at > org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698) > at > org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891) > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) > at java.lang.Thread.run(Thread.java:619) Caused by: > org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen > [component://ecommerce/widget/CatalogScreens.xml#productsummary]: > org.ofbiz.base.util.GeneralException: Error running Groovy script at > location > [component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductSummary.groovy] > (Service [calculateProductPrice] target threw an unexpected exception > (null)) (Error running Groovy script at location > [component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductSummary.groovy] > (Service [calculateProductPrice] target threw an unexpected exception > (null))) at > org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:419) > at > org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135) > at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97) > at sun.reflect.GeneratedMethodAccessor154.invoke(Unknown Source) at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) at > freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840) at > freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104) > ... 121 more Caused by: org.ofbiz.base.util.GeneralException: Error > running Groovy script at location > [component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductSummary.groovy] > (Service [calculateProductPrice] target threw an unexpected exception > (null)) at > org.ofbiz.widget.ModelWidgetAction$Script.runAction(ModelWidgetAction.java:421) > at > org.ofbiz.widget.ModelWidgetAction.runSubActions(ModelWidgetAction.java:117) > at > org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:181) > at > org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:392) > ... 128 more Caused by: org.ofbiz.service.GenericServiceException: > Service [calculateProductPrice] target threw an unexpected exception > (null) at > org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:115) > at > org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57) > at > org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:761) > at > _$gen.file_58$.home.ofbiz.trunk.applications.product.servicedef.services_95$pricepromo_46$xml_35$calculateProductPrice.runSync(file:/home/ofbiz/trunk/applications/product/servicedef/services_pricepromo.xml#calculateProductPrice:29) > at > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:399) > at > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:226) > at > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:165) > at sun.reflect.GeneratedMethodAccessor2443.invoke(Unknown Source) at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) at > org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229) > at > org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52) > at > org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40) > at > org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117) > at > org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:129) > at ProductSummary.run(ProductSummary.groovy:106) at > org.ofbiz.widget.ModelWidgetAction$Script.runAction(ModelWidgetAction.java:416) > ... 131 more Caused by: java.lang.NullPointerException > |
Free forum by Nabble | Edit this page |