The Trunk Ecommerce site's Product Details page is throwing 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@38ab4b3e with arguments of types [java.lang.String,] The problematic instruction: ---------- ==> ${screens.render(productsummaryScreen)} [on line 156, column 13 in component://order/webapp/ordermgr/entry/catalog/categorydetail.ftl] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateModelException: * Also error is thrown from back end as well while adding product to cart from Order Manager : No signature of method getRelated matches the arguments The problematic instruction: ---------- ==> assignment: itemProductAssocList=cartLine.getProduct().getRelated("MainProductAssoc", Static["org.ofbiz.base.util.UtilMisc"].toList("productAssocTypeId", "sequenceNum"), false)?if_exists [on line 215, column 15 in component://order/webapp/ordermgr/entry/cart/showcartitems.ftl] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateModelException: No signature of method getRelated matches the arguments at freemarker.ext.beans.MethodMap.getMemberAndArguments(MethodMap.java:94) at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:101) at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93) at -- Thanks & Regards Surya Kusumakar |
Administrator
|
Thanks for report, fixed at
trunk r1345473 R12.04 r1345474 See comment in commit Jacques From: "Surya Kusumakar" <[hidden email]> > The Trunk Ecommerce site's Product Details page is throwing 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@38ab4b3e with arguments of types > [java.lang.String,] The problematic instruction: ---------- ==> > ${screens.render(productsummaryScreen)} [on line 156, column 13 in > component://order/webapp/ordermgr/entry/catalog/categorydetail.ftl] > ---------- Java backtrace for programmers: ---------- > freemarker.template.TemplateModelException: > * > Also error is thrown from back end as well while adding product to cart > from Order Manager : > > > No signature of method getRelated matches the arguments The problematic > instruction: ---------- ==> assignment: > itemProductAssocList=cartLine.getProduct().getRelated("MainProductAssoc", > Static["org.ofbiz.base.util.UtilMisc"].toList("productAssocTypeId", > "sequenceNum"), false)?if_exists [on line 215, column 15 in > component://order/webapp/ordermgr/entry/cart/showcartitems.ftl] ---------- > Java backtrace for programmers: ---------- > freemarker.template.TemplateModelException: No signature of method > getRelated matches the arguments at > freemarker.ext.beans.MethodMap.getMemberAndArguments(MethodMap.java:94) at > freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:101) > at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93) at > > -- > Thanks & Regards > Surya Kusumakar > |
Thanks Jacques!
-- Thanks & Regards Surya Kusumakar On Sat, Jun 2, 2012 at 3:17 PM, Jacques Le Roux < [hidden email]> wrote: > Thanks for report, fixed at trunk r1345473 > R12.04 r1345474 > > See comment in commit > > Jacques > > > From: "Surya Kusumakar" <[hidden email]> > >> The Trunk Ecommerce site's Product Details page is throwing 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@38ab4b3e with arguments of types >> [java.lang.String,] The problematic instruction: ---------- ==> >> ${screens.render(**productsummaryScreen)} [on line 156, column 13 in >> component://order/webapp/**ordermgr/entry/catalog/**categorydetail.ftl] >> ---------- Java backtrace for programmers: ---------- >> freemarker.template.**TemplateModelException: >> * >> >> Also error is thrown from back end as well while adding product to cart >> from Order Manager : >> >> >> No signature of method getRelated matches the arguments The problematic >> instruction: ---------- ==> assignment: >> itemProductAssocList=cartLine.**getProduct().getRelated("** >> MainProductAssoc", >> Static["org.ofbiz.base.util.**UtilMisc"].toList("**productAssocTypeId", >> "sequenceNum"), false)?if_exists [on line 215, column 15 in >> component://order/webapp/**ordermgr/entry/cart/**showcartitems.ftl] >> ---------- >> Java backtrace for programmers: ---------- >> freemarker.template.**TemplateModelException: No signature of method >> getRelated matches the arguments at >> freemarker.ext.beans.**MethodMap.**getMemberAndArguments(**MethodMap.java:94) >> at >> freemarker.ext.beans.**OverloadedMethodModel.exec(** >> OverloadedMethodModel.java:**101) >> at freemarker.core.MethodCall._**getAsTemplateModel(MethodCall.**java:93) >> at >> >> -- >> Thanks & Regards >> Surya Kusumakar >> >> |
Free forum by Nabble | Edit this page |