Ecommerce home page is broken in current trunk - r937263

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

Ecommerce home page is broken in current trunk - r937263

Ashish Vijaywargiya
Hitting http://localhost:8080/ecommerce

Console error(On fresh db):

org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------

2010-04-23 18:20:50,678 (http-0.0.0.0-8080-5) [
ServiceDispatcher.java:543:ERROR] Error in Service
[getInventoryAvailableByFacility]: Could not convert field value for
the field: [parameters.availableToPromiseTotal] to the [BigDecimal]
type for the value [0]: org.ofbiz.base.util.GeneralException:
Conversion from java.lang.String to BigDecimal not currently supported
2010-04-23 18:20:50,679 (http-0.0.0.0-8080-5) [
TransactionUtil.java:374:INFO ] [TransactionUtil.setRollbackOnly]
transaction rollback only not set, rollback only is already set.
2010-04-23 18:20:50,679 (http-0.0.0.0-8080-5) [
ServiceDispatcher.java:599:INFO ] Sync service
[ecommerce/getInventoryAvailableByFacility] finished in [108]
milliseconds
2010-04-23 18:20:50,681 (http-0.0.0.0-8080-5) [
TransactionUtil.java:151:WARN ]
---- exception report ----------------------------------------------------------
[TransactionUtil.begin] active transaction marked for rollback in
place, so no transaction begun; this stack trace shows when the
exception began:
Exception: java.lang.Exception
Message: Tx Stack Placeholder
---- stack trace ---------------------------------------------------------------
java.lang.Exception: Tx Stack Placeholder
org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:695)
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:185)
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------

2010-04-23 18:20:50,683 (http-0.0.0.0-8080-5) [
GenericDelegator.java:2226:ERROR]
---- exception report ----------------------------------------------------------
Failure in findByCondition operation for entity
[ProductStoreGroupMember]:
org.ofbiz.entity.transaction.GenericTransactionException: The current
transaction is marked for rollback, not beginning a new transaction
and aborting current operation; the rollbackOnly was caused by: Error
in simple-method [Get Inventory Available for a Product
[file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported. Rolling back
transaction.
Exception: org.ofbiz.entity.transaction.GenericTransactionException
Message: The current transaction is marked for rollback, not beginning
a new transaction and aborting current operation; the rollbackOnly was
caused by: Error in simple-method [Get Inventory Available for a
Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported
---- stack trace ---------------------------------------------------------------
org.ofbiz.entity.transaction.GenericTransactionException: The current
transaction is marked for rollback, not beginning a new transaction
and aborting current operation; the rollbackOnly was caused by: Error
in simple-method [Get Inventory Available for a Product
[file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:159)
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
org.ofbiz.entity.GenericDelegator.findList(GenericDelegator.java:2211)
org.ofbiz.entity.GenericDelegator.findByAndCache(GenericDelegator.java:1973)
org.ofbiz.product.price.PriceServices.calculateProductPrice(PriceServices.java:121)
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:597)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:761)
_$gen.file_58$.home.ashish.ofbiz_95$dev.testing.applications.product.servicedef.services_95$pricepromo_46$xml_35$calculateProductPrice.runSync(file:/home/ashish/ofbiz_dev/testing/applications/product/servicedef/services_pricepromo.xml#calculateProductPrice:29)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:399)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:226)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:165)
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:597)
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:129)
ProductSummary.run(ProductSummary.groovy:106)
org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction.java:421)
org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:121)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:219)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
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:597)
freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840)
freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104)
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:209)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:209)
freemarker.core.IfBlock.accept(IfBlock.java:82)
freemarker.core.Environment.visit(Environment.java:209)
freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:167)
freemarker.core.Environment.visit(Environment.java:416)
freemarker.core.IteratorBlock.accept(IteratorBlock.java:102)
freemarker.core.Environment.visit(Environment.java:209)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:209)
freemarker.core.IfBlock.accept(IfBlock.java:82)
freemarker.core.Environment.visit(Environment.java:209)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:209)
freemarker.core.Environment.process(Environment.java:189)
org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:211)
org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:205)
org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:250)
org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:110)
org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:999)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
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:597)
freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840)
freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104)
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:209)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:209)
freemarker.core.IfBlock.accept(IfBlock.java:82)
freemarker.core.Environment.visit(Environment.java:209)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:209)
freemarker.core.Environment.process(Environment.java:189)
org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:211)
org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:205)
org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:250)
org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:110)
org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:999)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:702)
org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:165)
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:734)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:670)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------

2010-04-23 18:20:50,683 (http-0.0.0.0-8080-5) [
TransactionUtil.java:374:INFO ] [TransactionUtil.setRollbackOnly]
transaction rollback only not set, rollback only is already set.
2010-04-23 18:20:50,684 (http-0.0.0.0-8080-5) [
PriceServices.java:130:ERROR]
---- exception report ----------------------------------------------------------
Error getting product store info from the database while calculating
priceorg.ofbiz.entity.transaction.GenericTransactionException: The
current transaction is marked for rollback, not beginning a new
transaction and aborting current operation; the rollbackOnly was
caused by: Error in simple-method [Get Inventory Available for a
Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported
Exception: org.ofbiz.entity.transaction.GenericTransactionException
Message: The current transaction is marked for rollback, not beginning
a new transaction and aborting current operation; the rollbackOnly was
caused by: Error in simple-method [Get Inventory Available for a
Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported
---- stack trace ---------------------------------------------------------------
org.ofbiz.entity.transaction.GenericTransactionException: The current
transaction is marked for rollback, not beginning a new transaction
and aborting current operation; the rollbackOnly was caused by: Error
in simple-method [Get Inventory Available for a Product
[file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:159)
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
org.ofbiz.entity.GenericDelegator.findList(GenericDelegator.java:2211)
org.ofbiz.entity.GenericDelegator.findByAndCache(GenericDelegator.java:1973)
org.ofbiz.product.price.PriceServices.calculateProductPrice(PriceServices.java:121)
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:597)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:761)
_$gen.file_58$.home.ashish.ofbiz_95$dev.testing.applications.product.servicedef.services_95$pricepromo_46$xml_35$calculateProductPrice.runSync(file:/home/ashish/ofbiz_dev/testing/applications/product/servicedef/services_pricepromo.xml#calculateProductPrice:29)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:399)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:226)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:165)
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:597)
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:129)
ProductSummary.run(ProductSummary.groovy:106)
org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction.java:421)
org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:121)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:219)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
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:597)
freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840)
freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104)
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:209)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:209)
freemarker.core.IfBlock.accept(IfBlock.java:82)
freemarker.core.Environment.visit(Environment.java:209)
freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:167)
freemarker.core.Environment.visit(Environment.java:416)
freemarker.core.IteratorBlock.accept(IteratorBlock.java:102)
freemarker.core.Environment.visit(Environment.java:209)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:209)
freemarker.core.IfBlock.accept(IfBlock.java:82)
freemarker.core.Environment.visit(Environment.java:209)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:209)
freemarker.core.Environment.process(Environment.java:189)
org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:211)
org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:205)
org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:250)
org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:110)
org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:999)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
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:597)
freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840)
freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104)
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:209)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:209)
freemarker.core.IfBlock.accept(IfBlock.java:82)
freemarker.core.Environment.visit(Environment.java:209)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:209)
freemarker.core.Environment.process(Environment.java:189)
org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:211)
org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:205)
org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:250)
org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:110)
org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:999)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:702)
org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:165)
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:734)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:670)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------

2010-04-23 18:20:50,685 (http-0.0.0.0-8080-5) [
ServiceDispatcher.java:543:ERROR] Error in Service
[calculateProductPrice]: Error getting product store info from the
database while calculating
priceorg.ofbiz.entity.transaction.GenericTransactionException: The
current transaction is marked for rollback, not beginning a new
transaction and aborting current operation; the rollbackOnly was
caused by: Error in simple-method [Get Inventory Available for a
Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported
2010-04-23 18:20:50,685 (http-0.0.0.0-8080-5) [
TransactionUtil.java:374:INFO ] [TransactionUtil.setRollbackOnly]
transaction rollback only not set, rollback only is already set.
2010-04-23 18:20:50,706 (http-0.0.0.0-8080-5) [
TransactionUtil.java:151:WARN ]
---- exception report ----------------------------------------------------------
[TransactionUtil.begin] active transaction marked for rollback in
place, so no transaction begun; this stack trace shows when the
exception began:
Exception: java.lang.Exception
Message: Tx Stack Placeholder
---- stack trace ---------------------------------------------------------------
java.lang.Exception: Tx Stack Placeholder
org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:695)
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:185)
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------

2010-04-23 18:20:50,707 (http-0.0.0.0-8080-5) [
GenericDelegator.java:1602:ERROR]
---- exception report ----------------------------------------------------------
Failure in findOne operation for entity [Product]:
org.ofbiz.entity.transaction.GenericTransactionException: The current
transaction is marked for rollback, not beginning a new transaction
and aborting current operation; the rollbackOnly was caused by: Error
in simple-method [Get Inventory Available for a Product
[file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported. Rolling back
transaction.
Exception: org.ofbiz.entity.transaction.GenericTransactionException
Message: The current transaction is marked for rollback, not beginning
a new transaction and aborting current operation; the rollbackOnly was
caused by: Error in simple-method [Get Inventory Available for a
Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported
---- stack trace ---------------------------------------------------------------
org.ofbiz.entity.transaction.GenericTransactionException: The current
transaction is marked for rollback, not beginning a new transaction
and aborting current operation; the rollbackOnly was caused by: Error
in simple-method [Get Inventory Available for a Product
[file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:159)
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
org.ofbiz.entity.GenericDelegator.findOne(GenericDelegator.java:1568)
org.ofbiz.entity.GenericDelegator.findByPrimaryKey(GenericDelegator.java:1645)
org.ofbiz.product.config.ProductConfigWrapper.init(ProductConfigWrapper.java:93)
org.ofbiz.product.config.ProductConfigWrapper.<init>(ProductConfigWrapper.java:71)
org.ofbiz.product.config.ProductConfigWorker.getProductConfigWrapper(ProductConfigWorker.java:69)
org.ofbiz.product.config.ProductConfigWorker$getProductConfigWrapper.call(Unknown
Source)
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:133)
ProductSummary.run(ProductSummary.groovy:120)
org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction.java:421)
org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:121)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:219)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
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:597)
freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840)
freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104)
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:209)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:209)
freemarker.core.IfBlock.accept(IfBlock.java:82)
freemarker.core.Environment.visit(Environment.java:209)
freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:167)
freemarker.core.Environment.visit(Environment.java:416)
freemarker.core.IteratorBlock.accept(IteratorBlock.java:102)
freemarker.core.Environment.visit(Environment.java:209)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:209)
freemarker.core.IfBlock.accept(IfBlock.java:82)
freemarker.core.Environment.visit(Environment.java:209)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:209)
freemarker.core.Environment.process(Environment.java:189)
org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:211)
org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:205)
org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:250)
org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:110)
org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:999)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
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:597)
freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840)
freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104)
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:209)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:209)
freemarker.core.IfBlock.accept(IfBlock.java:82)
freemarker.core.Environment.visit(Environment.java:209)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:209)
freemarker.core.Environment.process(Environment.java:189)
org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:211)
org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:205)
org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:250)
org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:110)
org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:999)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:702)
org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:165)
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:734)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:670)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------

2010-04-23 18:20:50,708 (http-0.0.0.0-8080-5) [
TransactionUtil.java:374:INFO ] [TransactionUtil.setRollbackOnly]
transaction rollback only not set, rollback only is already set.
2010-04-23 18:20:50,708 (http-0.0.0.0-8080-5)
[ProductConfigWorker.java:81 :WARN ] The current transaction is marked
for rollback, not beginning a new transaction and aborting current
operation; the rollbackOnly was caused by: Error in simple-method [Get
Inventory Available for a Product
[file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported
2010-04-23 18:20:50,709 (http-0.0.0.0-8080-5) [
TransactionUtil.java:151:WARN ]
---- exception report ----------------------------------------------------------
[TransactionUtil.begin] active transaction marked for rollback in
place, so no transaction begun; this stack trace shows when the
exception began:
Exception: java.lang.Exception
Message: Tx Stack Placeholder
---- stack trace ---------------------------------------------------------------
java.lang.Exception: Tx Stack Placeholder
org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:695)
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:185)
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------

2010-04-23 18:20:50,710 (http-0.0.0.0-8080-5) [
GenericDelegator.java:2226:ERROR]
---- exception report ----------------------------------------------------------
Failure in findByCondition operation for entity [ProductReview]:
org.ofbiz.entity.transaction.GenericTransactionException: The current
transaction is marked for rollback, not beginning a new transaction
and aborting current operation; the rollbackOnly was caused by: Error
in simple-method [Get Inventory Available for a Product
[file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported. Rolling back
transaction.
Exception: org.ofbiz.entity.transaction.GenericTransactionException
Message: The current transaction is marked for rollback, not beginning
a new transaction and aborting current operation; the rollbackOnly was
caused by: Error in simple-method [Get Inventory Available for a
Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported
---- stack trace ---------------------------------------------------------------
org.ofbiz.entity.transaction.GenericTransactionException: The current
transaction is marked for rollback, not beginning a new transaction
and aborting current operation; the rollbackOnly was caused by: Error
in simple-method [Get Inventory Available for a Product
[file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:159)
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
org.ofbiz.entity.GenericDelegator.findList(GenericDelegator.java:2211)
org.ofbiz.entity.GenericDelegator.findByAndCache(GenericDelegator.java:1973)
org.ofbiz.entity.GenericDelegator.getRelatedCache(GenericDelegator.java:2485)
org.ofbiz.entity.GenericValue.getRelatedCache(GenericValue.java:200)
org.ofbiz.entity.GenericValue.getRelatedCache(GenericValue.java:240)
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:597)
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:133)
ProductSummary.run(ProductSummary.groovy:128)
org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction.java:421)
org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:121)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:219)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
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:597)
freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840)
freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104)
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:209)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:209)
freemarker.core.IfBlock.accept(IfBlock.java:82)
freemarker.core.Environment.visit(Environment.java:209)
freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:167)
freemarker.core.Environment.visit(Environment.java:416)
freemarker.core.IteratorBlock.accept(IteratorBlock.java:102)
freemarker.core.Environment.visit(Environment.java:209)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:209)
freemarker.core.IfBlock.accept(IfBlock.java:82)
freemarker.core.Environment.visit(Environment.java:209)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:209)
freemarker.core.Environment.process(Environment.java:189)
org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:211)
org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:205)
org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:250)
org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:110)
org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:999)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
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:597)
freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840)
freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104)
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:209)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:209)
freemarker.core.IfBlock.accept(IfBlock.java:82)
freemarker.core.Environment.visit(Environment.java:209)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:209)
freemarker.core.Environment.process(Environment.java:189)
org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:211)
org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:205)
org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:250)
org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:110)
org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:999)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:702)
org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:165)
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:734)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:670)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------

2010-04-23 18:20:50,711 (http-0.0.0.0-8080-5) [
TransactionUtil.java:374:INFO ] [TransactionUtil.setRollbackOnly]
transaction rollback only not set, rollback only is already set.
2010-04-23 18:20:50,711 (http-0.0.0.0-8080-5) [
ModelScreen.java:410:ERROR] 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]
(The current transaction is marked for rollback, not beginning a new
transaction and aborting current operation; the rollbackOnly was
caused by: Error in simple-method [Get Inventory Available for a
Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported). Rolling back
transaction.
2010-04-23 18:20:50,712 (http-0.0.0.0-8080-5) [
TransactionUtil.java:374:INFO ] [TransactionUtil.setRollbackOnly]
transaction rollback only not set, rollback only is already set.
2010-04-23 18:20:50,712 (http-0.0.0.0-8080-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@8132bb 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@8132bb 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:211)
        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:999)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
        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: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:211)
        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:999)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:702)
        at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:165)
        at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:734)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:670)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        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:690)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        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:630)
        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:694)
        at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
        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:803)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        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:267)
        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:175)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        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:568)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        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]
(The current transaction is marked for rollback, not beginning a new
transaction and aborting current operation; the rollbackOnly was
caused by: Error in simple-method [Get Inventory Available for a
Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported) (Error running
Groovy script at location
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductSummary.groovy]
(The current transaction is marked for rollback, not beginning a new
transaction and aborting current operation; the rollbackOnly was
caused by: Error in simple-method [Get Inventory Available for a
Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported))
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:421)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
        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:597)
        at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840)
        at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104)
        ... 119 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]
(The current transaction is marked for rollback, not beginning a new
transaction and aborting current operation; the rollbackOnly was
caused by: Error in simple-method [Get Inventory Available for a
Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported)
        at org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction.java:426)
        at org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:121)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:219)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        ... 127 more
Caused by: org.ofbiz.entity.transaction.GenericTransactionException:
The current transaction is marked for rollback, not beginning a new
transaction and aborting current operation; the rollbackOnly was
caused by: Error in simple-method [Get Inventory Available for a
Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported
        at org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:159)
        at org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
        at org.ofbiz.entity.GenericDelegator.findList(GenericDelegator.java:2211)
        at org.ofbiz.entity.GenericDelegator.findByAndCache(GenericDelegator.java:1973)
        at org.ofbiz.entity.GenericDelegator.getRelatedCache(GenericDelegator.java:2485)
        at org.ofbiz.entity.GenericValue.getRelatedCache(GenericValue.java:200)
        at org.ofbiz.entity.GenericValue.getRelatedCache(GenericValue.java:240)
        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: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:133)
        at ProductSummary.run(ProductSummary.groovy:128)
        at org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction.java:421)
        ... 130 more
2010-04-23 18:20:50,719 (http-0.0.0.0-8080-5) [
TransactionUtil.java:151:WARN ]
---- exception report ----------------------------------------------------------
[TransactionUtil.begin] active transaction marked for rollback in
place, so no transaction begun; this stack trace shows when the
exception began:
Exception: java.lang.Exception
Message: Tx Stack Placeholder
---- stack trace ---------------------------------------------------------------
java.lang.Exception: Tx Stack Placeholder
org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:695)
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:185)
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------

2010-04-23 18:20:50,720 (http-0.0.0.0-8080-5) [
ModelScreen.java:410:ERROR] Error rendering screen
[component://ecommerce/widget/CatalogScreens.xml#productsummary]:
org.ofbiz.entity.transaction.GenericTransactionException: The current
transaction is marked for rollback, not beginning a new transaction
and aborting current operation; the rollbackOnly was caused by: Error
in simple-method [Get Inventory Available for a Product
[file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported. Rolling back
transaction.
2010-04-23 18:20:50,720 (http-0.0.0.0-8080-5) [
TransactionUtil.java:374:INFO ] [TransactionUtil.setRollbackOnly]
transaction rollback only not set, rollback only is already set.
2010-04-23 18:20:50,721 (http-0.0.0.0-8080-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@8132bb 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@8132bb 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:211)
        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:999)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
        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: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:211)
        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:999)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:702)
        at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:165)
        at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:734)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:670)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        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:690)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        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:630)
        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:694)
        at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
        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:803)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        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:267)
        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:175)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        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:568)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        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.entity.transaction.GenericTransactionException: The current
transaction is marked for rollback, not beginning a new transaction
and aborting current operation; the rollbackOnly was caused by: Error
in simple-method [Get Inventory Available for a Product
[file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported (The current
transaction is marked for rollback, not beginning a new transaction
and aborting current operation; the rollbackOnly was caused by: Error
in simple-method [Get Inventory Available for a Product
[file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:421)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
        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:597)
        at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840)
        at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104)
        ... 119 more
Caused by: org.ofbiz.entity.transaction.GenericTransactionException:
The current transaction is marked for rollback, not beginning a new
transaction and aborting current operation; the rollbackOnly was
caused by: Error in simple-method [Get Inventory Available for a
Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported
        at org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:159)
        at org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
        ... 127 more
2010-04-23 18:20:50,729 (http-0.0.0.0-8080-5) [
TransactionUtil.java:151:WARN ]
---- exception report ----------------------------------------------------------
[TransactionUtil.begin] active transaction marked for rollback in
place, so no transaction begun; this stack trace shows when the
exception began:
Exception: java.lang.Exception
Message: Tx Stack Placeholder
---- stack trace ---------------------------------------------------------------
java.lang.Exception: Tx Stack Placeholder
org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:695)
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:185)
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------

2010-04-23 18:20:50,730 (http-0.0.0.0-8080-5) [
ModelScreen.java:410:ERROR] Error rendering screen
[component://ecommerce/widget/CatalogScreens.xml#productsummary]:
org.ofbiz.entity.transaction.GenericTransactionException: The current
transaction is marked for rollback, not beginning a new transaction
and aborting current operation; the rollbackOnly was caused by: Error
in simple-method [Get Inventory Available for a Product
[file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported. Rolling back
transaction.
2010-04-23 18:20:50,730 (http-0.0.0.0-8080-5) [
TransactionUtil.java:374:INFO ] [TransactionUtil.setRollbackOnly]
transaction rollback only not set, rollback only is already set.
2010-04-23 18:20:50,731 (http-0.0.0.0-8080-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@8132bb 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@8132bb 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:211)
        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:999)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
        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: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:211)
        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:999)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:702)
        at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:165)
        at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:734)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:670)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        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:690)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        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:630)
        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:694)
        at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
        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:803)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        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:267)
        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:175)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        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:568)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        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.entity.transaction.GenericTransactionException: The current
transaction is marked for rollback, not beginning a new transaction
and aborting current operation; the rollbackOnly was caused by: Error
in simple-method [Get Inventory Available for a Product
[file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported (The current
transaction is marked for rollback, not beginning a new transaction
and aborting current operation; the rollbackOnly was caused by: Error
in simple-method [Get Inventory Available for a Product
[file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:421)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
        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:597)
        at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840)
        at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104)
        ... 119 more
Caused by: org.ofbiz.entity.transaction.GenericTransactionException:
The current transaction is marked for rollback, not beginning a new
transaction and aborting current operation; the rollbackOnly was
caused by: Error in simple-method [Get Inventory Available for a
Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported
        at org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:159)
        at org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
        ... 127 more
2010-04-23 18:20:50,737 (http-0.0.0.0-8080-5) [
TransactionUtil.java:151:WARN ]
---- exception report ----------------------------------------------------------
[TransactionUtil.begin] active transaction marked for rollback in
place, so no transaction begun; this stack trace shows when the
exception began:
Exception: java.lang.Exception
Message: Tx Stack Placeholder
---- stack trace ---------------------------------------------------------------
java.lang.Exception: Tx Stack Placeholder
org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:695)
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:185)
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------

2010-04-23 18:20:50,738 (http-0.0.0.0-8080-5) [
ModelScreen.java:410:ERROR] Error rendering screen
[component://ecommerce/widget/CatalogScreens.xml#productsummary]:
org.ofbiz.entity.transaction.GenericTransactionException: The current
transaction is marked for rollback, not beginning a new transaction
and aborting current operation; the rollbackOnly was caused by: Error
in simple-method [Get Inventory Available for a Product
[file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported. Rolling back
transaction.
2010-04-23 18:20:50,738 (http-0.0.0.0-8080-5) [
TransactionUtil.java:374:INFO ] [TransactionUtil.setRollbackOnly]
transaction rollback only not set, rollback only is already set.
2010-04-23 18:20:50,739 (http-0.0.0.0-8080-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@8132bb 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@8132bb 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:211)
        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:999)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
        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: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:211)
        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:999)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:702)
        at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:165)
        at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:734)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:670)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        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:690)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        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:630)
        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:694)
        at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
        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:803)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        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:267)
        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:175)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        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:568)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        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.entity.transaction.GenericTransactionException: The current
transaction is marked for rollback, not beginning a new transaction
and aborting current operation; the rollbackOnly was caused by: Error
in simple-method [Get Inventory Available for a Product
[file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported (The current
transaction is marked for rollback, not beginning a new transaction
and aborting current operation; the rollbackOnly was caused by: Error
in simple-method [Get Inventory Available for a Product
[file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:421)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
        at sun.reflect.GeneratedMethodAccessor124.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)
        ... 119 more
Caused by: org.ofbiz.entity.transaction.GenericTransactionException:
The current transaction is marked for rollback, not beginning a new
transaction and aborting current operation; the rollbackOnly was
caused by: Error in simple-method [Get Inventory Available for a
Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported
        at org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:159)
        at org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
        ... 126 more
2010-04-23 18:20:50,744 (http-0.0.0.0-8080-5) [
TransactionUtil.java:151:WARN ]
---- exception report ----------------------------------------------------------
[TransactionUtil.begin] active transaction marked for rollback in
place, so no transaction begun; this stack trace shows when the
exception began:
Exception: java.lang.Exception
Message: Tx Stack Placeholder
---- stack trace ---------------------------------------------------------------
java.lang.Exception: Tx Stack Placeholder
org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:695)
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:185)
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------

2010-04-23 18:20:50,745 (http-0.0.0.0-8080-5) [
ModelScreen.java:410:ERROR] Error rendering screen
[component://ecommerce/widget/CatalogScreens.xml#productsummary]:
org.ofbiz.entity.transaction.GenericTransactionException: The current
transaction is marked for rollback, not beginning a new transaction
and aborting current operation; the rollbackOnly was caused by: Error
in simple-method [Get Inventory Available for a Product
[file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported. Rolling back
transaction.
2010-04-23 18:20:50,745 (http-0.0.0.0-8080-5) [
TransactionUtil.java:374:INFO ] [TransactionUtil.setRollbackOnly]
transaction rollback only not set, rollback only is already set.
2010-04-23 18:20:50,746 (http-0.0.0.0-8080-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@8132bb 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@8132bb 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:211)
        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:999)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
        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: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:211)
        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:999)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:702)
        at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:165)
        at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:734)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:670)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        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:690)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        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:630)
        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:694)
        at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
        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:803)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        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:267)
        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:175)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        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:568)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        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.entity.transaction.GenericTransactionException: The current
transaction is marked for rollback, not beginning a new transaction
and aborting current operation; the rollbackOnly was caused by: Error
in simple-method [Get Inventory Available for a Product
[file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported (The current
transaction is marked for rollback, not beginning a new transaction
and aborting current operation; the rollbackOnly was caused by: Error
in simple-method [Get Inventory Available for a Product
[file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:421)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
        at sun.reflect.GeneratedMethodAccessor124.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)
        ... 119 more
Caused by: org.ofbiz.entity.transaction.GenericTransactionException:
The current transaction is marked for rollback, not beginning a new
transaction and aborting current operation; the rollbackOnly was
caused by: Error in simple-method [Get Inventory Available for a
Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported
        at org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:159)
        at org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
        ... 126 more
2010-04-23 18:20:50,850 (http-0.0.0.0-8080-5) [
TransactionUtil.java:151:WARN ]
---- exception report ----------------------------------------------------------
[TransactionUtil.begin] active transaction marked for rollback in
place, so no transaction begun; this stack trace shows when the
exception began:
Exception: java.lang.Exception
Message: Tx Stack Placeholder
---- stack trace ---------------------------------------------------------------
java.lang.Exception: Tx Stack Placeholder
org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:695)
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:185)
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------

2010-04-23 18:20:50,851 (http-0.0.0.0-8080-5) [
ModelScreen.java:410:ERROR] Error rendering screen
[component://ecommerce/widget/CatalogScreens.xml#productsummary]:
org.ofbiz.entity.transaction.GenericTransactionException: The current
transaction is marked for rollback, not beginning a new transaction
and aborting current operation; the rollbackOnly was caused by: Error
in simple-method [Get Inventory Available for a Product
[file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported. Rolling back
transaction.
2010-04-23 18:20:50,851 (http-0.0.0.0-8080-5) [
TransactionUtil.java:374:INFO ] [TransactionUtil.setRollbackOnly]
transaction rollback only not set, rollback only is already set.
2010-04-23 18:20:50,852 (http-0.0.0.0-8080-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@8132bb 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@8132bb 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:211)
        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:999)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
        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: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:211)
        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:999)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:702)
        at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:165)
        at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:734)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:670)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        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:690)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        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:630)
        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:694)
        at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
        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:803)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        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:267)
        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:175)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        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:568)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        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.entity.transaction.GenericTransactionException: The current
transaction is marked for rollback, not beginning a new transaction
and aborting current operation; the rollbackOnly was caused by: Error
in simple-method [Get Inventory Available for a Product
[file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported (The current
transaction is marked for rollback, not beginning a new transaction
and aborting current operation; the rollbackOnly was caused by: Error
in simple-method [Get Inventory Available for a Product
[file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:421)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
        at sun.reflect.GeneratedMethodAccessor124.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)
        ... 119 more
Caused by: org.ofbiz.entity.transaction.GenericTransactionException:
The current transaction is marked for rollback, not beginning a new
transaction and aborting current operation; the rollbackOnly was
caused by: Error in simple-method [Get Inventory Available for a
Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported
        at org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:159)
        at org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
        ... 126 more
2010-04-23 18:20:50,858 (http-0.0.0.0-8080-5) [
TransactionUtil.java:151:WARN ]
---- exception report ----------------------------------------------------------
[TransactionUtil.begin] active transaction marked for rollback in
place, so no transaction begun; this stack trace shows when the
exception began:
Exception: java.lang.Exception
Message: Tx Stack Placeholder
---- stack trace ---------------------------------------------------------------
java.lang.Exception: Tx Stack Placeholder
org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:695)
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:185)
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------

2010-04-23 18:20:50,859 (http-0.0.0.0-8080-5) [
ModelScreen.java:410:ERROR] Error rendering screen
[component://ecommerce/widget/CatalogScreens.xml#productsummary]:
org.ofbiz.entity.transaction.GenericTransactionException: The current
transaction is marked for rollback, not beginning a new transaction
and aborting current operation; the rollbackOnly was caused by: Error
in simple-method [Get Inventory Available for a Product
[file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported. Rolling back
transaction.
2010-04-23 18:20:50,859 (http-0.0.0.0-8080-5) [
TransactionUtil.java:374:INFO ] [TransactionUtil.setRollbackOnly]
transaction rollback only not set, rollback only is already set.
2010-04-23 18:20:50,860 (http-0.0.0.0-8080-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@8132bb 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@8132bb 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:211)
        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:999)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
        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: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:211)
        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:999)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:702)
        at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:165)
        at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:734)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:670)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        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:690)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        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:630)
        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:694)
        at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
        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:803)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        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:267)
        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:175)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        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:568)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        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.entity.transaction.GenericTransactionException: The current
transaction is marked for rollback, not beginning a new transaction
and aborting current operation; the rollbackOnly was caused by: Error
in simple-method [Get Inventory Available for a Product
[file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported (The current
transaction is marked for rollback, not beginning a new transaction
and aborting current operation; the rollbackOnly was caused by: Error
in simple-method [Get Inventory Available for a Product
[file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:421)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
        at sun.reflect.GeneratedMethodAccessor124.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)
        ... 119 more
Caused by: org.ofbiz.entity.transaction.GenericTransactionException:
The current transaction is marked for rollback, not beginning a new
transaction and aborting current operation; the rollbackOnly was
caused by: Error in simple-method [Get Inventory Available for a
Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported
        at org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:159)
        at org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
        ... 126 more
2010-04-23 18:20:50,891 (http-0.0.0.0-8080-5) [
TransactionUtil.java:151:WARN ]
---- exception report ----------------------------------------------------------
[TransactionUtil.begin] active transaction marked for rollback in
place, so no transaction begun; this stack trace shows when the
exception began:
Exception: java.lang.Exception
Message: Tx Stack Placeholder
---- stack trace ---------------------------------------------------------------
java.lang.Exception: Tx Stack Placeholder
org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:695)
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:185)
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------

2010-04-23 18:20:50,892 (http-0.0.0.0-8080-5) [
ModelScreen.java:410:ERROR] Error rendering screen
[component://ecommerce/widget/CatalogScreens.xml#productsummary]:
org.ofbiz.entity.transaction.GenericTransactionException: The current
transaction is marked for rollback, not beginning a new transaction
and aborting current operation; the rollbackOnly was caused by: Error
in simple-method [Get Inventory Available for a Product
[file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported. Rolling back
transaction.
2010-04-23 18:20:50,892 (http-0.0.0.0-8080-5) [
TransactionUtil.java:374:INFO ] [TransactionUtil.setRollbackOnly]
transaction rollback only not set, rollback only is already set.
2010-04-23 18:20:50,893 (http-0.0.0.0-8080-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@8132bb 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@8132bb 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:211)
        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:999)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
        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: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:211)
        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:999)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:702)
        at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:165)
        at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:734)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:670)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        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:690)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        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:630)
        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:694)
        at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
        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:803)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        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:267)
        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:175)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        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:568)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        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.entity.transaction.GenericTransactionException: The current
transaction is marked for rollback, not beginning a new transaction
and aborting current operation; the rollbackOnly was caused by: Error
in simple-method [Get Inventory Available for a Product
[file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported (The current
transaction is marked for rollback, not beginning a new transaction
and aborting current operation; the rollbackOnly was caused by: Error
in simple-method [Get Inventory Available for a Product
[file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:421)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
        at sun.reflect.GeneratedMethodAccessor124.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)
        ... 119 more
Caused by: org.ofbiz.entity.transaction.GenericTransactionException:
The current transaction is marked for rollback, not beginning a new
transaction and aborting current operation; the rollbackOnly was
caused by: Error in simple-method [Get Inventory Available for a
Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported
        at org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:159)
        at org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
        ... 126 more
2010-04-23 18:20:50,899 (http-0.0.0.0-8080-5) [
TransactionUtil.java:151:WARN ]
---- exception report ----------------------------------------------------------
[TransactionUtil.begin] active transaction marked for rollback in
place, so no transaction begun; this stack trace shows when the
exception began:
Exception: java.lang.Exception
Message: Tx Stack Placeholder
---- stack trace ---------------------------------------------------------------
java.lang.Exception: Tx Stack Placeholder
org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:695)
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:185)
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------

2010-04-23 18:20:50,899 (http-0.0.0.0-8080-5) [
ModelScreen.java:410:ERROR] Error rendering screen
[component://ecommerce/widget/CatalogScreens.xml#productsummary]:
org.ofbiz.entity.transaction.GenericTransactionException: The current
transaction is marked for rollback, not beginning a new transaction
and aborting current operation; the rollbackOnly was caused by: Error
in simple-method [Get Inventory Available for a Product
[file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported. Rolling back
transaction.
2010-04-23 18:20:50,900 (http-0.0.0.0-8080-5) [
TransactionUtil.java:374:INFO ] [TransactionUtil.setRollbackOnly]
transaction rollback only not set, rollback only is already set.
2010-04-23 18:20:50,900 (http-0.0.0.0-8080-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@8132bb 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@8132bb 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:211)
        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:999)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
        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: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:211)
        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:999)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:702)
        at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:165)
        at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:734)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:670)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
        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:690)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        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:630)
        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:694)
        at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
        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:803)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        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:267)
        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:175)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        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:568)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        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.entity.transaction.GenericTransactionException: The current
transaction is marked for rollback, not beginning a new transaction
and aborting current operation; the rollbackOnly was caused by: Error
in simple-method [Get Inventory Available for a Product
[file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported (The current
transaction is marked for rollback, not beginning a new transaction
and aborting current operation; the rollbackOnly was caused by: Error
in simple-method [Get Inventory Available for a Product
[file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:421)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
        at sun.reflect.GeneratedMethodAccessor124.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)
        ... 119 more
Caused by: org.ofbiz.entity.transaction.GenericTransactionException:
The current transaction is marked for rollback, not beginning a new
transaction and aborting current operation; the rollbackOnly was
caused by: Error in simple-method [Get Inventory Available for a
Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported
        at org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:159)
        at org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
        ... 126 more
2010-04-23 18:20:50,916 (Finalizer) [ EntityListIterator.java:543:ERROR]
====================================================================
 EntityListIterator Not Closed for Entity [InventoryItem], caught in Finalize
 ====================================================================

2010-04-23 18:20:50,925 (http-0.0.0.0-8080-5) [
TransactionUtil.java:280:ERROR]
---- exception report ----------------------------------------------------------
Rollback Only was set when trying to commit transaction here; throwing
rollbackOnly cause exception
Exception: javax.transaction.RollbackException
Message: Unable to commit: transaction marked for rollback
---- stack trace ---------------------------------------------------------------
javax.transaction.RollbackException: Unable to commit: transaction
marked for rollback
org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:271)
org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:245)
org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:259)
org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:245)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:425)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------

2010-04-23 18:20:50,925 (http-0.0.0.0-8080-5) [
ModelScreen.java:427:ERROR]
---- exception report ----------------------------------------------------------
Could not commit transaction:
org.ofbiz.entity.transaction.GenericTransactionException: Roll back
error, could not commit transaction, was rolled back instead because
of: Error in simple-method [Get Inventory Available for a Product
[file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported
Exception: org.ofbiz.entity.transaction.GenericTransactionException
Message: Roll back error, could not commit transaction, was rolled
back instead because of: Error in simple-method [Get Inventory
Available for a Product
[file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported
---- stack trace ---------------------------------------------------------------
org.ofbiz.entity.transaction.GenericTransactionException: Roll back
error, could not commit transaction, was rolled back instead because
of: Error in simple-method [Get Inventory Available for a Product
[file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
Could not convert field value for the field:
[parameters.availableToPromiseTotal] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported
org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:281)
org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:245)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:425)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------

2010-04-23 18:20:50,926 (http-0.0.0.0-8080-5) [
SequenceUtil.java:232:WARN ] [SequenceUtil.SequenceBank.fillBank]
first select failed: will try to add new row, result set was empty for
sequence [ServerHitBin]
Used SQL: SELECT SEQ_ID FROM public.SEQUENCE_VALUE_ITEM WHERE
SEQ_NAME='ServerHitBin'
 Thread Name is: http-0.0.0.0-8080-5:Thread[http-0.0.0.0-8080-5,5,main]
2010-04-23 18:20:51,238 (http-0.0.0.0-8080-5) [
SequenceUtil.java:337:INFO ] Got bank of sequenced IDs for
[ServerHitBin]; curSeqId=10000, maxSeqId=10010, bankSize=10

--
Ashish
Reply | Threaded
Open this post in threaded view
|

Re: Ecommerce home page is broken in current trunk - r937263

Deepak Dixit-2
If we use ofbiz ant version then it works fine.

Thanks & Regards
--
Deepak Dixit
HotWax Media Pvt. Ltd.
Website :- www.hotwaxmedia.com
Contact :- +91-98267-54548


Ashish Vijaywargiya wrote:

> Hitting http://localhost:8080/ecommerce
>
> Console error(On fresh db):
>
> org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
> org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
>
> 2010-04-23 18:20:50,678 (http-0.0.0.0-8080-5) [
> ServiceDispatcher.java:543:ERROR] Error in Service
> [getInventoryAvailableByFacility]: Could not convert field value for
> the field: [parameters.availableToPromiseTotal] to the [BigDecimal]
> type for the value [0]: org.ofbiz.base.util.GeneralException:
> Conversion from java.lang.String to BigDecimal not currently supported
> 2010-04-23 18:20:50,679 (http-0.0.0.0-8080-5) [
> TransactionUtil.java:374:INFO ] [TransactionUtil.setRollbackOnly]
> transaction rollback only not set, rollback only is already set.
> 2010-04-23 18:20:50,679 (http-0.0.0.0-8080-5) [
> ServiceDispatcher.java:599:INFO ] Sync service
> [ecommerce/getInventoryAvailableByFacility] finished in [108]
> milliseconds
> 2010-04-23 18:20:50,681 (http-0.0.0.0-8080-5) [
> TransactionUtil.java:151:WARN ]
> ---- exception report ----------------------------------------------------------
> [TransactionUtil.begin] active transaction marked for rollback in
> place, so no transaction begun; this stack trace shows when the
> exception began:
> Exception: java.lang.Exception
> Message: Tx Stack Placeholder
> ---- stack trace ---------------------------------------------------------------
> java.lang.Exception: Tx Stack Placeholder
> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:695)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:185)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
> org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
> org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
> org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
>
> 2010-04-23 18:20:50,683 (http-0.0.0.0-8080-5) [
> GenericDelegator.java:2226:ERROR]
> ---- exception report ----------------------------------------------------------
> Failure in findByCondition operation for entity
> [ProductStoreGroupMember]:
> org.ofbiz.entity.transaction.GenericTransactionException: The current
> transaction is marked for rollback, not beginning a new transaction
> and aborting current operation; the rollbackOnly was caused by: Error
> in simple-method [Get Inventory Available for a Product
> [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported. Rolling back
> transaction.
> Exception: org.ofbiz.entity.transaction.GenericTransactionException
> Message: The current transaction is marked for rollback, not beginning
> a new transaction and aborting current operation; the rollbackOnly was
> caused by: Error in simple-method [Get Inventory Available for a
> Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported
> ---- stack trace ---------------------------------------------------------------
> org.ofbiz.entity.transaction.GenericTransactionException: The current
> transaction is marked for rollback, not beginning a new transaction
> and aborting current operation; the rollbackOnly was caused by: Error
> in simple-method [Get Inventory Available for a Product
> [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:159)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
> org.ofbiz.entity.GenericDelegator.findList(GenericDelegator.java:2211)
> org.ofbiz.entity.GenericDelegator.findByAndCache(GenericDelegator.java:1973)
> org.ofbiz.product.price.PriceServices.calculateProductPrice(PriceServices.java:121)
> 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:597)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
> org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:761)
> _$gen.file_58$.home.ashish.ofbiz_95$dev.testing.applications.product.servicedef.services_95$pricepromo_46$xml_35$calculateProductPrice.runSync(file:/home/ashish/ofbiz_dev/testing/applications/product/servicedef/services_pricepromo.xml#calculateProductPrice:29)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:399)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:226)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:165)
> 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:597)
> org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
> org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:129)
> ProductSummary.run(ProductSummary.groovy:106)
> org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction.java:421)
> org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:121)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:219)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> 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:597)
> freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840)
> freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104)
> 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:209)
> freemarker.core.MixedContent.accept(MixedContent.java:92)
> freemarker.core.Environment.visit(Environment.java:209)
> freemarker.core.IfBlock.accept(IfBlock.java:82)
> freemarker.core.Environment.visit(Environment.java:209)
> freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:167)
> freemarker.core.Environment.visit(Environment.java:416)
> freemarker.core.IteratorBlock.accept(IteratorBlock.java:102)
> freemarker.core.Environment.visit(Environment.java:209)
> freemarker.core.MixedContent.accept(MixedContent.java:92)
> freemarker.core.Environment.visit(Environment.java:209)
> freemarker.core.IfBlock.accept(IfBlock.java:82)
> freemarker.core.Environment.visit(Environment.java:209)
> freemarker.core.MixedContent.accept(MixedContent.java:92)
> freemarker.core.Environment.visit(Environment.java:209)
> freemarker.core.Environment.process(Environment.java:189)
> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:211)
> org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:205)
> org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:250)
> org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:110)
> org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:999)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> 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:597)
> freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840)
> freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104)
> 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:209)
> freemarker.core.MixedContent.accept(MixedContent.java:92)
> freemarker.core.Environment.visit(Environment.java:209)
> freemarker.core.IfBlock.accept(IfBlock.java:82)
> freemarker.core.Environment.visit(Environment.java:209)
> freemarker.core.MixedContent.accept(MixedContent.java:92)
> freemarker.core.Environment.visit(Environment.java:209)
> freemarker.core.Environment.process(Environment.java:189)
> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:211)
> org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:205)
> org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:250)
> org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:110)
> org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:999)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:702)
> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:165)
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:734)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:670)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
> org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
> org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
> org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
>
> 2010-04-23 18:20:50,683 (http-0.0.0.0-8080-5) [
> TransactionUtil.java:374:INFO ] [TransactionUtil.setRollbackOnly]
> transaction rollback only not set, rollback only is already set.
> 2010-04-23 18:20:50,684 (http-0.0.0.0-8080-5) [
> PriceServices.java:130:ERROR]
> ---- exception report ----------------------------------------------------------
> Error getting product store info from the database while calculating
> priceorg.ofbiz.entity.transaction.GenericTransactionException: The
> current transaction is marked for rollback, not beginning a new
> transaction and aborting current operation; the rollbackOnly was
> caused by: Error in simple-method [Get Inventory Available for a
> Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported
> Exception: org.ofbiz.entity.transaction.GenericTransactionException
> Message: The current transaction is marked for rollback, not beginning
> a new transaction and aborting current operation; the rollbackOnly was
> caused by: Error in simple-method [Get Inventory Available for a
> Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported
> ---- stack trace ---------------------------------------------------------------
> org.ofbiz.entity.transaction.GenericTransactionException: The current
> transaction is marked for rollback, not beginning a new transaction
> and aborting current operation; the rollbackOnly was caused by: Error
> in simple-method [Get Inventory Available for a Product
> [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:159)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
> org.ofbiz.entity.GenericDelegator.findList(GenericDelegator.java:2211)
> org.ofbiz.entity.GenericDelegator.findByAndCache(GenericDelegator.java:1973)
> org.ofbiz.product.price.PriceServices.calculateProductPrice(PriceServices.java:121)
> 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:597)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
> org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:761)
> _$gen.file_58$.home.ashish.ofbiz_95$dev.testing.applications.product.servicedef.services_95$pricepromo_46$xml_35$calculateProductPrice.runSync(file:/home/ashish/ofbiz_dev/testing/applications/product/servicedef/services_pricepromo.xml#calculateProductPrice:29)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:399)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:226)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:165)
> 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:597)
> org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
> org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:129)
> ProductSummary.run(ProductSummary.groovy:106)
> org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction.java:421)
> org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:121)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:219)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> 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:597)
> freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840)
> freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104)
> 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:209)
> freemarker.core.MixedContent.accept(MixedContent.java:92)
> freemarker.core.Environment.visit(Environment.java:209)
> freemarker.core.IfBlock.accept(IfBlock.java:82)
> freemarker.core.Environment.visit(Environment.java:209)
> freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:167)
> freemarker.core.Environment.visit(Environment.java:416)
> freemarker.core.IteratorBlock.accept(IteratorBlock.java:102)
> freemarker.core.Environment.visit(Environment.java:209)
> freemarker.core.MixedContent.accept(MixedContent.java:92)
> freemarker.core.Environment.visit(Environment.java:209)
> freemarker.core.IfBlock.accept(IfBlock.java:82)
> freemarker.core.Environment.visit(Environment.java:209)
> freemarker.core.MixedContent.accept(MixedContent.java:92)
> freemarker.core.Environment.visit(Environment.java:209)
> freemarker.core.Environment.process(Environment.java:189)
> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:211)
> org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:205)
> org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:250)
> org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:110)
> org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:999)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> 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:597)
> freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840)
> freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104)
> 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:209)
> freemarker.core.MixedContent.accept(MixedContent.java:92)
> freemarker.core.Environment.visit(Environment.java:209)
> freemarker.core.IfBlock.accept(IfBlock.java:82)
> freemarker.core.Environment.visit(Environment.java:209)
> freemarker.core.MixedContent.accept(MixedContent.java:92)
> freemarker.core.Environment.visit(Environment.java:209)
> freemarker.core.Environment.process(Environment.java:189)
> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:211)
> org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:205)
> org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:250)
> org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:110)
> org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:999)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:702)
> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:165)
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:734)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:670)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
> org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
> org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
> org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
>
> 2010-04-23 18:20:50,685 (http-0.0.0.0-8080-5) [
> ServiceDispatcher.java:543:ERROR] Error in Service
> [calculateProductPrice]: Error getting product store info from the
> database while calculating
> priceorg.ofbiz.entity.transaction.GenericTransactionException: The
> current transaction is marked for rollback, not beginning a new
> transaction and aborting current operation; the rollbackOnly was
> caused by: Error in simple-method [Get Inventory Available for a
> Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported
> 2010-04-23 18:20:50,685 (http-0.0.0.0-8080-5) [
> TransactionUtil.java:374:INFO ] [TransactionUtil.setRollbackOnly]
> transaction rollback only not set, rollback only is already set.
> 2010-04-23 18:20:50,706 (http-0.0.0.0-8080-5) [
> TransactionUtil.java:151:WARN ]
> ---- exception report ----------------------------------------------------------
> [TransactionUtil.begin] active transaction marked for rollback in
> place, so no transaction begun; this stack trace shows when the
> exception began:
> Exception: java.lang.Exception
> Message: Tx Stack Placeholder
> ---- stack trace ---------------------------------------------------------------
> java.lang.Exception: Tx Stack Placeholder
> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:695)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:185)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
> org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
> org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
> org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
>
> 2010-04-23 18:20:50,707 (http-0.0.0.0-8080-5) [
> GenericDelegator.java:1602:ERROR]
> ---- exception report ----------------------------------------------------------
> Failure in findOne operation for entity [Product]:
> org.ofbiz.entity.transaction.GenericTransactionException: The current
> transaction is marked for rollback, not beginning a new transaction
> and aborting current operation; the rollbackOnly was caused by: Error
> in simple-method [Get Inventory Available for a Product
> [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported. Rolling back
> transaction.
> Exception: org.ofbiz.entity.transaction.GenericTransactionException
> Message: The current transaction is marked for rollback, not beginning
> a new transaction and aborting current operation; the rollbackOnly was
> caused by: Error in simple-method [Get Inventory Available for a
> Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported
> ---- stack trace ---------------------------------------------------------------
> org.ofbiz.entity.transaction.GenericTransactionException: The current
> transaction is marked for rollback, not beginning a new transaction
> and aborting current operation; the rollbackOnly was caused by: Error
> in simple-method [Get Inventory Available for a Product
> [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:159)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
> org.ofbiz.entity.GenericDelegator.findOne(GenericDelegator.java:1568)
> org.ofbiz.entity.GenericDelegator.findByPrimaryKey(GenericDelegator.java:1645)
> org.ofbiz.product.config.ProductConfigWrapper.init(ProductConfigWrapper.java:93)
> org.ofbiz.product.config.ProductConfigWrapper.<init>(ProductConfigWrapper.java:71)
> org.ofbiz.product.config.ProductConfigWorker.getProductConfigWrapper(ProductConfigWorker.java:69)
> org.ofbiz.product.config.ProductConfigWorker$getProductConfigWrapper.call(Unknown
> Source)
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:133)
> ProductSummary.run(ProductSummary.groovy:120)
> org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction.java:421)
> org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:121)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:219)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> 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:597)
> freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840)
> freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104)
> 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:209)
> freemarker.core.MixedContent.accept(MixedContent.java:92)
> freemarker.core.Environment.visit(Environment.java:209)
> freemarker.core.IfBlock.accept(IfBlock.java:82)
> freemarker.core.Environment.visit(Environment.java:209)
> freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:167)
> freemarker.core.Environment.visit(Environment.java:416)
> freemarker.core.IteratorBlock.accept(IteratorBlock.java:102)
> freemarker.core.Environment.visit(Environment.java:209)
> freemarker.core.MixedContent.accept(MixedContent.java:92)
> freemarker.core.Environment.visit(Environment.java:209)
> freemarker.core.IfBlock.accept(IfBlock.java:82)
> freemarker.core.Environment.visit(Environment.java:209)
> freemarker.core.MixedContent.accept(MixedContent.java:92)
> freemarker.core.Environment.visit(Environment.java:209)
> freemarker.core.Environment.process(Environment.java:189)
> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:211)
> org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:205)
> org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:250)
> org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:110)
> org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:999)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> 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:597)
> freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840)
> freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104)
> 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:209)
> freemarker.core.MixedContent.accept(MixedContent.java:92)
> freemarker.core.Environment.visit(Environment.java:209)
> freemarker.core.IfBlock.accept(IfBlock.java:82)
> freemarker.core.Environment.visit(Environment.java:209)
> freemarker.core.MixedContent.accept(MixedContent.java:92)
> freemarker.core.Environment.visit(Environment.java:209)
> freemarker.core.Environment.process(Environment.java:189)
> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:211)
> org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:205)
> org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:250)
> org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:110)
> org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:999)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:702)
> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:165)
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:734)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:670)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
> org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
> org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
> org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
>
> 2010-04-23 18:20:50,708 (http-0.0.0.0-8080-5) [
> TransactionUtil.java:374:INFO ] [TransactionUtil.setRollbackOnly]
> transaction rollback only not set, rollback only is already set.
> 2010-04-23 18:20:50,708 (http-0.0.0.0-8080-5)
> [ProductConfigWorker.java:81 :WARN ] The current transaction is marked
> for rollback, not beginning a new transaction and aborting current
> operation; the rollbackOnly was caused by: Error in simple-method [Get
> Inventory Available for a Product
> [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported
> 2010-04-23 18:20:50,709 (http-0.0.0.0-8080-5) [
> TransactionUtil.java:151:WARN ]
> ---- exception report ----------------------------------------------------------
> [TransactionUtil.begin] active transaction marked for rollback in
> place, so no transaction begun; this stack trace shows when the
> exception began:
> Exception: java.lang.Exception
> Message: Tx Stack Placeholder
> ---- stack trace ---------------------------------------------------------------
> java.lang.Exception: Tx Stack Placeholder
> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:695)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:185)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
> org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
> org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
> org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
>
> 2010-04-23 18:20:50,710 (http-0.0.0.0-8080-5) [
> GenericDelegator.java:2226:ERROR]
> ---- exception report ----------------------------------------------------------
> Failure in findByCondition operation for entity [ProductReview]:
> org.ofbiz.entity.transaction.GenericTransactionException: The current
> transaction is marked for rollback, not beginning a new transaction
> and aborting current operation; the rollbackOnly was caused by: Error
> in simple-method [Get Inventory Available for a Product
> [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported. Rolling back
> transaction.
> Exception: org.ofbiz.entity.transaction.GenericTransactionException
> Message: The current transaction is marked for rollback, not beginning
> a new transaction and aborting current operation; the rollbackOnly was
> caused by: Error in simple-method [Get Inventory Available for a
> Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported
> ---- stack trace ---------------------------------------------------------------
> org.ofbiz.entity.transaction.GenericTransactionException: The current
> transaction is marked for rollback, not beginning a new transaction
> and aborting current operation; the rollbackOnly was caused by: Error
> in simple-method [Get Inventory Available for a Product
> [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:159)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
> org.ofbiz.entity.GenericDelegator.findList(GenericDelegator.java:2211)
> org.ofbiz.entity.GenericDelegator.findByAndCache(GenericDelegator.java:1973)
> org.ofbiz.entity.GenericDelegator.getRelatedCache(GenericDelegator.java:2485)
> org.ofbiz.entity.GenericValue.getRelatedCache(GenericValue.java:200)
> org.ofbiz.entity.GenericValue.getRelatedCache(GenericValue.java:240)
> 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:597)
> org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
> org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:133)
> ProductSummary.run(ProductSummary.groovy:128)
> org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction.java:421)
> org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:121)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:219)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> 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:597)
> freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840)
> freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104)
> 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:209)
> freemarker.core.MixedContent.accept(MixedContent.java:92)
> freemarker.core.Environment.visit(Environment.java:209)
> freemarker.core.IfBlock.accept(IfBlock.java:82)
> freemarker.core.Environment.visit(Environment.java:209)
> freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:167)
> freemarker.core.Environment.visit(Environment.java:416)
> freemarker.core.IteratorBlock.accept(IteratorBlock.java:102)
> freemarker.core.Environment.visit(Environment.java:209)
> freemarker.core.MixedContent.accept(MixedContent.java:92)
> freemarker.core.Environment.visit(Environment.java:209)
> freemarker.core.IfBlock.accept(IfBlock.java:82)
> freemarker.core.Environment.visit(Environment.java:209)
> freemarker.core.MixedContent.accept(MixedContent.java:92)
> freemarker.core.Environment.visit(Environment.java:209)
> freemarker.core.Environment.process(Environment.java:189)
> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:211)
> org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:205)
> org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:250)
> org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:110)
> org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:999)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> 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:597)
> freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840)
> freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104)
> 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:209)
> freemarker.core.MixedContent.accept(MixedContent.java:92)
> freemarker.core.Environment.visit(Environment.java:209)
> freemarker.core.IfBlock.accept(IfBlock.java:82)
> freemarker.core.Environment.visit(Environment.java:209)
> freemarker.core.MixedContent.accept(MixedContent.java:92)
> freemarker.core.Environment.visit(Environment.java:209)
> freemarker.core.Environment.process(Environment.java:189)
> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:211)
> org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:205)
> org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:250)
> org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:110)
> org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:999)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:702)
> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:165)
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:734)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:670)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
> org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
> org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
> org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
>
> 2010-04-23 18:20:50,711 (http-0.0.0.0-8080-5) [
> TransactionUtil.java:374:INFO ] [TransactionUtil.setRollbackOnly]
> transaction rollback only not set, rollback only is already set.
> 2010-04-23 18:20:50,711 (http-0.0.0.0-8080-5) [
> ModelScreen.java:410:ERROR] 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]
> (The current transaction is marked for rollback, not beginning a new
> transaction and aborting current operation; the rollbackOnly was
> caused by: Error in simple-method [Get Inventory Available for a
> Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported). Rolling back
> transaction.
> 2010-04-23 18:20:50,712 (http-0.0.0.0-8080-5) [
> TransactionUtil.java:374:INFO ] [TransactionUtil.setRollbackOnly]
> transaction rollback only not set, rollback only is already set.
> 2010-04-23 18:20:50,712 (http-0.0.0.0-8080-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@8132bb 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@8132bb 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:211)
> 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:999)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> 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: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:211)
> 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:999)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:702)
> at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:165)
> at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:734)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:670)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> 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:690)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> 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:630)
> 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:694)
> at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
> 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:803)
> at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> 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:267)
> 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:175)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> 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:568)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> 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]
> (The current transaction is marked for rollback, not beginning a new
> transaction and aborting current operation; the rollbackOnly was
> caused by: Error in simple-method [Get Inventory Available for a
> Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported) (Error running
> Groovy script at location
> [component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductSummary.groovy]
> (The current transaction is marked for rollback, not beginning a new
> transaction and aborting current operation; the rollbackOnly was
> caused by: Error in simple-method [Get Inventory Available for a
> Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported))
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:421)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> 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:597)
> at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840)
> at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104)
> ... 119 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]
> (The current transaction is marked for rollback, not beginning a new
> transaction and aborting current operation; the rollbackOnly was
> caused by: Error in simple-method [Get Inventory Available for a
> Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported)
> at org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction.java:426)
> at org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:121)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:219)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> ... 127 more
> Caused by: org.ofbiz.entity.transaction.GenericTransactionException:
> The current transaction is marked for rollback, not beginning a new
> transaction and aborting current operation; the rollbackOnly was
> caused by: Error in simple-method [Get Inventory Available for a
> Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported
> at org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:159)
> at org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
> at org.ofbiz.entity.GenericDelegator.findList(GenericDelegator.java:2211)
> at org.ofbiz.entity.GenericDelegator.findByAndCache(GenericDelegator.java:1973)
> at org.ofbiz.entity.GenericDelegator.getRelatedCache(GenericDelegator.java:2485)
> at org.ofbiz.entity.GenericValue.getRelatedCache(GenericValue.java:200)
> at org.ofbiz.entity.GenericValue.getRelatedCache(GenericValue.java:240)
> 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: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:133)
> at ProductSummary.run(ProductSummary.groovy:128)
> at org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction.java:421)
> ... 130 more
> 2010-04-23 18:20:50,719 (http-0.0.0.0-8080-5) [
> TransactionUtil.java:151:WARN ]
> ---- exception report ----------------------------------------------------------
> [TransactionUtil.begin] active transaction marked for rollback in
> place, so no transaction begun; this stack trace shows when the
> exception began:
> Exception: java.lang.Exception
> Message: Tx Stack Placeholder
> ---- stack trace ---------------------------------------------------------------
> java.lang.Exception: Tx Stack Placeholder
> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:695)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:185)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
> org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
> org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
> org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
>
> 2010-04-23 18:20:50,720 (http-0.0.0.0-8080-5) [
> ModelScreen.java:410:ERROR] Error rendering screen
> [component://ecommerce/widget/CatalogScreens.xml#productsummary]:
> org.ofbiz.entity.transaction.GenericTransactionException: The current
> transaction is marked for rollback, not beginning a new transaction
> and aborting current operation; the rollbackOnly was caused by: Error
> in simple-method [Get Inventory Available for a Product
> [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported. Rolling back
> transaction.
> 2010-04-23 18:20:50,720 (http-0.0.0.0-8080-5) [
> TransactionUtil.java:374:INFO ] [TransactionUtil.setRollbackOnly]
> transaction rollback only not set, rollback only is already set.
> 2010-04-23 18:20:50,721 (http-0.0.0.0-8080-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@8132bb 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@8132bb 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:211)
> 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:999)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> 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: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:211)
> 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:999)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:702)
> at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:165)
> at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:734)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:670)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> 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:690)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> 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:630)
> 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:694)
> at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
> 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:803)
> at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> 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:267)
> 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:175)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> 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:568)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> 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.entity.transaction.GenericTransactionException: The current
> transaction is marked for rollback, not beginning a new transaction
> and aborting current operation; the rollbackOnly was caused by: Error
> in simple-method [Get Inventory Available for a Product
> [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported (The current
> transaction is marked for rollback, not beginning a new transaction
> and aborting current operation; the rollbackOnly was caused by: Error
> in simple-method [Get Inventory Available for a Product
> [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:421)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> 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:597)
> at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840)
> at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104)
> ... 119 more
> Caused by: org.ofbiz.entity.transaction.GenericTransactionException:
> The current transaction is marked for rollback, not beginning a new
> transaction and aborting current operation; the rollbackOnly was
> caused by: Error in simple-method [Get Inventory Available for a
> Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported
> at org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:159)
> at org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
> ... 127 more
> 2010-04-23 18:20:50,729 (http-0.0.0.0-8080-5) [
> TransactionUtil.java:151:WARN ]
> ---- exception report ----------------------------------------------------------
> [TransactionUtil.begin] active transaction marked for rollback in
> place, so no transaction begun; this stack trace shows when the
> exception began:
> Exception: java.lang.Exception
> Message: Tx Stack Placeholder
> ---- stack trace ---------------------------------------------------------------
> java.lang.Exception: Tx Stack Placeholder
> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:695)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:185)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
> org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
> org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
> org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
>
> 2010-04-23 18:20:50,730 (http-0.0.0.0-8080-5) [
> ModelScreen.java:410:ERROR] Error rendering screen
> [component://ecommerce/widget/CatalogScreens.xml#productsummary]:
> org.ofbiz.entity.transaction.GenericTransactionException: The current
> transaction is marked for rollback, not beginning a new transaction
> and aborting current operation; the rollbackOnly was caused by: Error
> in simple-method [Get Inventory Available for a Product
> [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported. Rolling back
> transaction.
> 2010-04-23 18:20:50,730 (http-0.0.0.0-8080-5) [
> TransactionUtil.java:374:INFO ] [TransactionUtil.setRollbackOnly]
> transaction rollback only not set, rollback only is already set.
> 2010-04-23 18:20:50,731 (http-0.0.0.0-8080-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@8132bb 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@8132bb 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:211)
> 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:999)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> 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: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:211)
> 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:999)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:702)
> at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:165)
> at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:734)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:670)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> 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:690)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> 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:630)
> 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:694)
> at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
> 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:803)
> at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> 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:267)
> 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:175)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> 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:568)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> 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.entity.transaction.GenericTransactionException: The current
> transaction is marked for rollback, not beginning a new transaction
> and aborting current operation; the rollbackOnly was caused by: Error
> in simple-method [Get Inventory Available for a Product
> [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported (The current
> transaction is marked for rollback, not beginning a new transaction
> and aborting current operation; the rollbackOnly was caused by: Error
> in simple-method [Get Inventory Available for a Product
> [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:421)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> 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:597)
> at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840)
> at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104)
> ... 119 more
> Caused by: org.ofbiz.entity.transaction.GenericTransactionException:
> The current transaction is marked for rollback, not beginning a new
> transaction and aborting current operation; the rollbackOnly was
> caused by: Error in simple-method [Get Inventory Available for a
> Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported
> at org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:159)
> at org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
> ... 127 more
> 2010-04-23 18:20:50,737 (http-0.0.0.0-8080-5) [
> TransactionUtil.java:151:WARN ]
> ---- exception report ----------------------------------------------------------
> [TransactionUtil.begin] active transaction marked for rollback in
> place, so no transaction begun; this stack trace shows when the
> exception began:
> Exception: java.lang.Exception
> Message: Tx Stack Placeholder
> ---- stack trace ---------------------------------------------------------------
> java.lang.Exception: Tx Stack Placeholder
> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:695)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:185)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
> org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
> org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
> org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
>
> 2010-04-23 18:20:50,738 (http-0.0.0.0-8080-5) [
> ModelScreen.java:410:ERROR] Error rendering screen
> [component://ecommerce/widget/CatalogScreens.xml#productsummary]:
> org.ofbiz.entity.transaction.GenericTransactionException: The current
> transaction is marked for rollback, not beginning a new transaction
> and aborting current operation; the rollbackOnly was caused by: Error
> in simple-method [Get Inventory Available for a Product
> [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported. Rolling back
> transaction.
> 2010-04-23 18:20:50,738 (http-0.0.0.0-8080-5) [
> TransactionUtil.java:374:INFO ] [TransactionUtil.setRollbackOnly]
> transaction rollback only not set, rollback only is already set.
> 2010-04-23 18:20:50,739 (http-0.0.0.0-8080-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@8132bb 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@8132bb 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:211)
> 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:999)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> 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: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:211)
> 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:999)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:702)
> at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:165)
> at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:734)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:670)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> 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:690)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> 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:630)
> 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:694)
> at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
> 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:803)
> at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> 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:267)
> 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:175)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> 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:568)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> 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.entity.transaction.GenericTransactionException: The current
> transaction is marked for rollback, not beginning a new transaction
> and aborting current operation; the rollbackOnly was caused by: Error
> in simple-method [Get Inventory Available for a Product
> [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported (The current
> transaction is marked for rollback, not beginning a new transaction
> and aborting current operation; the rollbackOnly was caused by: Error
> in simple-method [Get Inventory Available for a Product
> [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:421)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> at sun.reflect.GeneratedMethodAccessor124.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)
> ... 119 more
> Caused by: org.ofbiz.entity.transaction.GenericTransactionException:
> The current transaction is marked for rollback, not beginning a new
> transaction and aborting current operation; the rollbackOnly was
> caused by: Error in simple-method [Get Inventory Available for a
> Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported
> at org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:159)
> at org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
> ... 126 more
> 2010-04-23 18:20:50,744 (http-0.0.0.0-8080-5) [
> TransactionUtil.java:151:WARN ]
> ---- exception report ----------------------------------------------------------
> [TransactionUtil.begin] active transaction marked for rollback in
> place, so no transaction begun; this stack trace shows when the
> exception began:
> Exception: java.lang.Exception
> Message: Tx Stack Placeholder
> ---- stack trace ---------------------------------------------------------------
> java.lang.Exception: Tx Stack Placeholder
> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:695)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:185)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
> org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
> org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
> org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
>
> 2010-04-23 18:20:50,745 (http-0.0.0.0-8080-5) [
> ModelScreen.java:410:ERROR] Error rendering screen
> [component://ecommerce/widget/CatalogScreens.xml#productsummary]:
> org.ofbiz.entity.transaction.GenericTransactionException: The current
> transaction is marked for rollback, not beginning a new transaction
> and aborting current operation; the rollbackOnly was caused by: Error
> in simple-method [Get Inventory Available for a Product
> [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported. Rolling back
> transaction.
> 2010-04-23 18:20:50,745 (http-0.0.0.0-8080-5) [
> TransactionUtil.java:374:INFO ] [TransactionUtil.setRollbackOnly]
> transaction rollback only not set, rollback only is already set.
> 2010-04-23 18:20:50,746 (http-0.0.0.0-8080-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@8132bb 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@8132bb 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:211)
> 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:999)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> 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: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:211)
> 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:999)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:702)
> at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:165)
> at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:734)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:670)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> 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:690)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> 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:630)
> 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:694)
> at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
> 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:803)
> at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> 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:267)
> 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:175)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> 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:568)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> 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.entity.transaction.GenericTransactionException: The current
> transaction is marked for rollback, not beginning a new transaction
> and aborting current operation; the rollbackOnly was caused by: Error
> in simple-method [Get Inventory Available for a Product
> [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported (The current
> transaction is marked for rollback, not beginning a new transaction
> and aborting current operation; the rollbackOnly was caused by: Error
> in simple-method [Get Inventory Available for a Product
> [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:421)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> at sun.reflect.GeneratedMethodAccessor124.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)
> ... 119 more
> Caused by: org.ofbiz.entity.transaction.GenericTransactionException:
> The current transaction is marked for rollback, not beginning a new
> transaction and aborting current operation; the rollbackOnly was
> caused by: Error in simple-method [Get Inventory Available for a
> Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported
> at org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:159)
> at org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
> ... 126 more
> 2010-04-23 18:20:50,850 (http-0.0.0.0-8080-5) [
> TransactionUtil.java:151:WARN ]
> ---- exception report ----------------------------------------------------------
> [TransactionUtil.begin] active transaction marked for rollback in
> place, so no transaction begun; this stack trace shows when the
> exception began:
> Exception: java.lang.Exception
> Message: Tx Stack Placeholder
> ---- stack trace ---------------------------------------------------------------
> java.lang.Exception: Tx Stack Placeholder
> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:695)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:185)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
> org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
> org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
> org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
>
> 2010-04-23 18:20:50,851 (http-0.0.0.0-8080-5) [
> ModelScreen.java:410:ERROR] Error rendering screen
> [component://ecommerce/widget/CatalogScreens.xml#productsummary]:
> org.ofbiz.entity.transaction.GenericTransactionException: The current
> transaction is marked for rollback, not beginning a new transaction
> and aborting current operation; the rollbackOnly was caused by: Error
> in simple-method [Get Inventory Available for a Product
> [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported. Rolling back
> transaction.
> 2010-04-23 18:20:50,851 (http-0.0.0.0-8080-5) [
> TransactionUtil.java:374:INFO ] [TransactionUtil.setRollbackOnly]
> transaction rollback only not set, rollback only is already set.
> 2010-04-23 18:20:50,852 (http-0.0.0.0-8080-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@8132bb 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@8132bb 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:211)
> 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:999)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> 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: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:211)
> 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:999)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:702)
> at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:165)
> at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:734)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:670)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> 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:690)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> 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:630)
> 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:694)
> at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
> 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:803)
> at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> 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:267)
> 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:175)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> 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:568)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> 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.entity.transaction.GenericTransactionException: The current
> transaction is marked for rollback, not beginning a new transaction
> and aborting current operation; the rollbackOnly was caused by: Error
> in simple-method [Get Inventory Available for a Product
> [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported (The current
> transaction is marked for rollback, not beginning a new transaction
> and aborting current operation; the rollbackOnly was caused by: Error
> in simple-method [Get Inventory Available for a Product
> [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:421)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> at sun.reflect.GeneratedMethodAccessor124.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)
> ... 119 more
> Caused by: org.ofbiz.entity.transaction.GenericTransactionException:
> The current transaction is marked for rollback, not beginning a new
> transaction and aborting current operation; the rollbackOnly was
> caused by: Error in simple-method [Get Inventory Available for a
> Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported
> at org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:159)
> at org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
> ... 126 more
> 2010-04-23 18:20:50,858 (http-0.0.0.0-8080-5) [
> TransactionUtil.java:151:WARN ]
> ---- exception report ----------------------------------------------------------
> [TransactionUtil.begin] active transaction marked for rollback in
> place, so no transaction begun; this stack trace shows when the
> exception began:
> Exception: java.lang.Exception
> Message: Tx Stack Placeholder
> ---- stack trace ---------------------------------------------------------------
> java.lang.Exception: Tx Stack Placeholder
> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:695)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:185)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
> org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
> org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
> org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
>
> 2010-04-23 18:20:50,859 (http-0.0.0.0-8080-5) [
> ModelScreen.java:410:ERROR] Error rendering screen
> [component://ecommerce/widget/CatalogScreens.xml#productsummary]:
> org.ofbiz.entity.transaction.GenericTransactionException: The current
> transaction is marked for rollback, not beginning a new transaction
> and aborting current operation; the rollbackOnly was caused by: Error
> in simple-method [Get Inventory Available for a Product
> [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported. Rolling back
> transaction.
> 2010-04-23 18:20:50,859 (http-0.0.0.0-8080-5) [
> TransactionUtil.java:374:INFO ] [TransactionUtil.setRollbackOnly]
> transaction rollback only not set, rollback only is already set.
> 2010-04-23 18:20:50,860 (http-0.0.0.0-8080-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@8132bb 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@8132bb 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:211)
> 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:999)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> 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: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:211)
> 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:999)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:702)
> at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:165)
> at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:734)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:670)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> 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:690)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> 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:630)
> 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:694)
> at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
> 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:803)
> at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> 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:267)
> 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:175)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> 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:568)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> 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.entity.transaction.GenericTransactionException: The current
> transaction is marked for rollback, not beginning a new transaction
> and aborting current operation; the rollbackOnly was caused by: Error
> in simple-method [Get Inventory Available for a Product
> [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported (The current
> transaction is marked for rollback, not beginning a new transaction
> and aborting current operation; the rollbackOnly was caused by: Error
> in simple-method [Get Inventory Available for a Product
> [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:421)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> at sun.reflect.GeneratedMethodAccessor124.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)
> ... 119 more
> Caused by: org.ofbiz.entity.transaction.GenericTransactionException:
> The current transaction is marked for rollback, not beginning a new
> transaction and aborting current operation; the rollbackOnly was
> caused by: Error in simple-method [Get Inventory Available for a
> Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported
> at org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:159)
> at org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
> ... 126 more
> 2010-04-23 18:20:50,891 (http-0.0.0.0-8080-5) [
> TransactionUtil.java:151:WARN ]
> ---- exception report ----------------------------------------------------------
> [TransactionUtil.begin] active transaction marked for rollback in
> place, so no transaction begun; this stack trace shows when the
> exception began:
> Exception: java.lang.Exception
> Message: Tx Stack Placeholder
> ---- stack trace ---------------------------------------------------------------
> java.lang.Exception: Tx Stack Placeholder
> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:695)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:185)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
> org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
> org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
> org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
>
> 2010-04-23 18:20:50,892 (http-0.0.0.0-8080-5) [
> ModelScreen.java:410:ERROR] Error rendering screen
> [component://ecommerce/widget/CatalogScreens.xml#productsummary]:
> org.ofbiz.entity.transaction.GenericTransactionException: The current
> transaction is marked for rollback, not beginning a new transaction
> and aborting current operation; the rollbackOnly was caused by: Error
> in simple-method [Get Inventory Available for a Product
> [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported. Rolling back
> transaction.
> 2010-04-23 18:20:50,892 (http-0.0.0.0-8080-5) [
> TransactionUtil.java:374:INFO ] [TransactionUtil.setRollbackOnly]
> transaction rollback only not set, rollback only is already set.
> 2010-04-23 18:20:50,893 (http-0.0.0.0-8080-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@8132bb 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@8132bb 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:211)
> 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:999)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> 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: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:211)
> 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:999)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:702)
> at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:165)
> at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:734)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:670)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> 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:690)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> 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:630)
> 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:694)
> at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
> 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:803)
> at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> 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:267)
> 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:175)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> 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:568)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> 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.entity.transaction.GenericTransactionException: The current
> transaction is marked for rollback, not beginning a new transaction
> and aborting current operation; the rollbackOnly was caused by: Error
> in simple-method [Get Inventory Available for a Product
> [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported (The current
> transaction is marked for rollback, not beginning a new transaction
> and aborting current operation; the rollbackOnly was caused by: Error
> in simple-method [Get Inventory Available for a Product
> [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:421)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> at sun.reflect.GeneratedMethodAccessor124.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)
> ... 119 more
> Caused by: org.ofbiz.entity.transaction.GenericTransactionException:
> The current transaction is marked for rollback, not beginning a new
> transaction and aborting current operation; the rollbackOnly was
> caused by: Error in simple-method [Get Inventory Available for a
> Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported
> at org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:159)
> at org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
> ... 126 more
> 2010-04-23 18:20:50,899 (http-0.0.0.0-8080-5) [
> TransactionUtil.java:151:WARN ]
> ---- exception report ----------------------------------------------------------
> [TransactionUtil.begin] active transaction marked for rollback in
> place, so no transaction begun; this stack trace shows when the
> exception began:
> Exception: java.lang.Exception
> Message: Tx Stack Placeholder
> ---- stack trace ---------------------------------------------------------------
> java.lang.Exception: Tx Stack Placeholder
> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:695)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:185)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
> org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
> org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
> org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
>
> 2010-04-23 18:20:50,899 (http-0.0.0.0-8080-5) [
> ModelScreen.java:410:ERROR] Error rendering screen
> [component://ecommerce/widget/CatalogScreens.xml#productsummary]:
> org.ofbiz.entity.transaction.GenericTransactionException: The current
> transaction is marked for rollback, not beginning a new transaction
> and aborting current operation; the rollbackOnly was caused by: Error
> in simple-method [Get Inventory Available for a Product
> [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported. Rolling back
> transaction.
> 2010-04-23 18:20:50,900 (http-0.0.0.0-8080-5) [
> TransactionUtil.java:374:INFO ] [TransactionUtil.setRollbackOnly]
> transaction rollback only not set, rollback only is already set.
> 2010-04-23 18:20:50,900 (http-0.0.0.0-8080-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@8132bb 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@8132bb 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:211)
> 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:999)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:574)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> 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: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:211)
> 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:999)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:702)
> at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:165)
> at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:734)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:670)
> at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135)
> at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> 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:690)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> 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:630)
> 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:694)
> at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
> 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:803)
> at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> 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:267)
> 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:175)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> 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:568)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> 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.entity.transaction.GenericTransactionException: The current
> transaction is marked for rollback, not beginning a new transaction
> and aborting current operation; the rollbackOnly was caused by: Error
> in simple-method [Get Inventory Available for a Product
> [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported (The current
> transaction is marked for rollback, not beginning a new transaction
> and aborting current operation; the rollbackOnly was caused by: Error
> in simple-method [Get Inventory Available for a Product
> [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:421)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> at sun.reflect.GeneratedMethodAccessor124.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)
> ... 119 more
> Caused by: org.ofbiz.entity.transaction.GenericTransactionException:
> The current transaction is marked for rollback, not beginning a new
> transaction and aborting current operation; the rollbackOnly was
> caused by: Error in simple-method [Get Inventory Available for a
> Product [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported
> at org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:159)
> at org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:387)
> ... 126 more
> 2010-04-23 18:20:50,916 (Finalizer) [ EntityListIterator.java:543:ERROR]
> ====================================================================
>  EntityListIterator Not Closed for Entity [InventoryItem], caught in Finalize
>  ====================================================================
>
> 2010-04-23 18:20:50,925 (http-0.0.0.0-8080-5) [
> TransactionUtil.java:280:ERROR]
> ---- exception report ----------------------------------------------------------
> Rollback Only was set when trying to commit transaction here; throwing
> rollbackOnly cause exception
> Exception: javax.transaction.RollbackException
> Message: Unable to commit: transaction marked for rollback
> ---- stack trace ---------------------------------------------------------------
> javax.transaction.RollbackException: Unable to commit: transaction
> marked for rollback
> org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:271)
> org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:245)
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:259)
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:245)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:425)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
> org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
> org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
> org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
>
> 2010-04-23 18:20:50,925 (http-0.0.0.0-8080-5) [
> ModelScreen.java:427:ERROR]
> ---- exception report ----------------------------------------------------------
> Could not commit transaction:
> org.ofbiz.entity.transaction.GenericTransactionException: Roll back
> error, could not commit transaction, was rolled back instead because
> of: Error in simple-method [Get Inventory Available for a Product
> [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported
> Exception: org.ofbiz.entity.transaction.GenericTransactionException
> Message: Roll back error, could not commit transaction, was rolled
> back instead because of: Error in simple-method [Get Inventory
> Available for a Product
> [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported
> ---- stack trace ---------------------------------------------------------------
> org.ofbiz.entity.transaction.GenericTransactionException: Roll back
> error, could not commit transaction, was rolled back instead because
> of: Error in simple-method [Get Inventory Available for a Product
> [file:/home/ashish/ofbiz_dev/testing/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#getProductInventoryAvailable]]:
> Could not convert field value for the field:
> [parameters.availableToPromiseTotal] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:281)
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:245)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:425)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
> org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
> org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
> org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
>
> 2010-04-23 18:20:50,926 (http-0.0.0.0-8080-5) [
> SequenceUtil.java:232:WARN ] [SequenceUtil.SequenceBank.fillBank]
> first select failed: will try to add new row, result set was empty for
> sequence [ServerHitBin]
> Used SQL: SELECT SEQ_ID FROM public.SEQUENCE_VALUE_ITEM WHERE
> SEQ_NAME='ServerHitBin'
>  Thread Name is: http-0.0.0.0-8080-5:Thread[http-0.0.0.0-8080-5,5,main]
> 2010-04-23 18:20:51,238 (http-0.0.0.0-8080-5) [
> SequenceUtil.java:337:INFO ] Got bank of sequenced IDs for
> [ServerHitBin]; curSeqId=10000, maxSeqId=10010, bankSize=10
>
> --
> Ashish
>