Hello All,
I am encountered with a problem in Onepagechekout process of e-commerce. When I am doing any changes in Shopping cart panel like removing Item from Cart its showing following error : 2009-01-15 19:11:24,194 (http-0.0.0.0-8443-1) [ RequestHandler.java:256:INFO ] [Processing Request]: getCartData sessionId=87B66DA70EA935BA7EC6BABE8717E6A5.jvm1 2009-01-15 19:11:24,194 (http-0.0.0.0-8443-1) [ ObjectType.java:992:INFO ] No type conversion available for org.ofbiz.order.shoppingcart.WebShoppingCart to org.ofbiz.order.shoppingcart.ShoppingCart, returning original object. 2009-01-15 19:11:24,199 (http-0.0.0.0-8443-1) [ ControlServlet.java:211:ERROR] ---- runtime exception report -------------------------------------------------- Error in request handler: Exception: net.sf.json.JSONException Message: java.lang.NoSuchMethodException: Property 'scale' has no getter method ---- cause --------------------------------------------------------------------- Exception: java.lang.NoSuchMethodException Message: Property 'scale' has no getter method ---- stack trace --------------------------------------------------------------- java.lang.NoSuchMethodException: Property 'scale' has no getter method org.apache.commons.beanutils.PropertyUtilsBean.getSimpleProperty(PropertyUtilsBean.java:1127) org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(PropertyUtilsBean.java:686) org.apache.commons.beanutils.PropertyUtilsBean.getProperty(PropertyUtilsBean.java:715) org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:290) net.sf.json.JSONObject.fromBean(JSONObject.java:161) net.sf.json.JSONObject.fromObject(JSONObject.java:246) net.sf.json.JSONObject.set(JSONObject.java:1483) net.sf.json.JSONObject.<init>(JSONObject.java:766) net.sf.json.JSONObject.fromMap(JSONObject.java:215) org.ofbiz.webapp.event.JSONServiceEventHandler.invoke(JSONServiceEventHandler.java:57) org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:461) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:293) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:396) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:204) org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78) javax.servlet.http.HttpServlet.service(HttpServlet.java:710) 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:259) 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.ofbiz.catalina.container.CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:42) 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:595) -------------------------------------------------------------------------------- 2009-01-15 19:11:24,199 (http-0.0.0.0-8443-1) [ ControlServlet.java:221:ERROR] An error occurred, going to the errorPage: /error/error.jsp 2009-01-15 19:11:24,200 (http-0.0.0.0-8443-1) [ ControlServlet.java:228:ERROR] Including errorPage: /error/error.jsp 2009-01-15 19:11:24,204 (http-0.0.0.0-8443-1) [ ControlServlet.java:302:INFO ] [[[cartItemQtyUpdate] Done rendering page, Servlet Finished- total:0.064,since last([cartItemQtyUpdat...):0.064]] This property scale has been committed on r721986 [3/13] revision number. Thanks and Regards, -- Vivek Mishra smime.p7s (4K) Download Attachment |
+1 to vivek for figuring this out.
even iam facing the same problem in the execution of various functionalities in E-commerce like updating quantity in cart and removing items from cart in checkout process etc. According to me the root cause is the Data Type conversion ( double ->bigDecimal ) , there may be a few files left where the conversion is not made. As the concerned error below: *ObjectType.java:992:INFO ] No type conversion available for org.ofbiz.order.shoppingcart.WebShoppingCart to org.ofbiz.order.shoppingcart.ShoppingCart, returning original object. *The ShoppingCart.java file committed at r731851 might be accountable here. Please correct me if i am wrong. Regards - - Deepesh Vivek Mishra wrote: > Hello All, > > I am encountered with a problem in Onepagechekout process of e-commerce. > > When I am doing any changes in Shopping cart panel like removing Item > from Cart its showing following error : > > 2009-01-15 19:11:24,194 (http-0.0.0.0-8443-1) [ > RequestHandler.java:256:INFO ] [Processing Request]: getCartData > sessionId=87B66DA70EA935BA7EC6BABE8717E6A5.jvm1 > 2009-01-15 19:11:24,194 (http-0.0.0.0-8443-1) [ > ObjectType.java:992:INFO ] No type conversion available for > org.ofbiz.order.shoppingcart.WebShoppingCart to > org.ofbiz.order.shoppingcart.ShoppingCart, returning original object. > 2009-01-15 19:11:24,199 (http-0.0.0.0-8443-1) [ > ControlServlet.java:211:ERROR] > ---- runtime exception report > -------------------------------------------------- > Error in request handler: > Exception: net.sf.json.JSONException > Message: java.lang.NoSuchMethodException: Property 'scale' has no > getter method > ---- cause > --------------------------------------------------------------------- > Exception: java.lang.NoSuchMethodException > Message: Property 'scale' has no getter method > ---- stack trace > --------------------------------------------------------------- > java.lang.NoSuchMethodException: Property 'scale' has no getter method > org.apache.commons.beanutils.PropertyUtilsBean.getSimpleProperty(PropertyUtilsBean.java:1127) > > org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(PropertyUtilsBean.java:686) > > org.apache.commons.beanutils.PropertyUtilsBean.getProperty(PropertyUtilsBean.java:715) > > org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:290) > > net.sf.json.JSONObject.fromBean(JSONObject.java:161) > net.sf.json.JSONObject.fromObject(JSONObject.java:246) > net.sf.json.JSONObject.set(JSONObject.java:1483) > net.sf.json.JSONObject.<init>(JSONObject.java:766) > net.sf.json.JSONObject.fromMap(JSONObject.java:215) > org.ofbiz.webapp.event.JSONServiceEventHandler.invoke(JSONServiceEventHandler.java:57) > > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:461) > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:293) > > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:396) > > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:204) > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78) > javax.servlet.http.HttpServlet.service(HttpServlet.java:710) > 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:259) > 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.ofbiz.catalina.container.CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:42) > > 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:595) > -------------------------------------------------------------------------------- > > > 2009-01-15 19:11:24,199 (http-0.0.0.0-8443-1) [ > ControlServlet.java:221:ERROR] An error occurred, going to the > errorPage: /error/error.jsp > 2009-01-15 19:11:24,200 (http-0.0.0.0-8443-1) [ > ControlServlet.java:228:ERROR] Including errorPage: /error/error.jsp > 2009-01-15 19:11:24,204 (http-0.0.0.0-8443-1) [ > ControlServlet.java:302:INFO ] [[[cartItemQtyUpdate] Done rendering > page, Servlet Finished- total:0.064,since > last([cartItemQtyUpdat...):0.064]] > > > This property scale has been committed on r721986 [3/13] revision > number. > Thanks and Regards, > -- > Vivek Mishra |
Administrator
|
I get any of these problems locally, are you able to reproduce on Demo site ?
BTW this kind of issues should not me posted to dev ML. Please use rather user ML for such questions, see why here : http://docs.ofbiz.org/display/OFBADMIN/Mailing+Lists#MailingLists-DeveloperList:dev@... Thanks Jacques From: "Deepesh Kapoor" <[hidden email]> > +1 to vivek for figuring this out. > even iam facing the same problem in the execution of various > functionalities in E-commerce like updating quantity in cart and > removing items from cart in checkout process etc. > According to me the root cause is the Data Type conversion ( double > ->bigDecimal ) , there may be a few files left where the conversion is > not made. > As the concerned error below: > *ObjectType.java:992:INFO ] No type conversion available for > org.ofbiz.order.shoppingcart.WebShoppingCart to > org.ofbiz.order.shoppingcart.ShoppingCart, returning original object. > > *The ShoppingCart.java file committed at r731851 might be accountable > here. > Please correct me if i am wrong. > > Regards > - - > Deepesh > > Vivek Mishra wrote: >> Hello All, >> >> I am encountered with a problem in Onepagechekout process of e-commerce. >> >> When I am doing any changes in Shopping cart panel like removing Item >> from Cart its showing following error : >> >> 2009-01-15 19:11:24,194 (http-0.0.0.0-8443-1) [ >> RequestHandler.java:256:INFO ] [Processing Request]: getCartData >> sessionId=87B66DA70EA935BA7EC6BABE8717E6A5.jvm1 >> 2009-01-15 19:11:24,194 (http-0.0.0.0-8443-1) [ >> ObjectType.java:992:INFO ] No type conversion available for >> org.ofbiz.order.shoppingcart.WebShoppingCart to >> org.ofbiz.order.shoppingcart.ShoppingCart, returning original object. >> 2009-01-15 19:11:24,199 (http-0.0.0.0-8443-1) [ >> ControlServlet.java:211:ERROR] >> ---- runtime exception report >> -------------------------------------------------- >> Error in request handler: >> Exception: net.sf.json.JSONException >> Message: java.lang.NoSuchMethodException: Property 'scale' has no >> getter method >> ---- cause >> --------------------------------------------------------------------- >> Exception: java.lang.NoSuchMethodException >> Message: Property 'scale' has no getter method >> ---- stack trace >> --------------------------------------------------------------- >> java.lang.NoSuchMethodException: Property 'scale' has no getter method >> org.apache.commons.beanutils.PropertyUtilsBean.getSimpleProperty(PropertyUtilsBean.java:1127) >> >> org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(PropertyUtilsBean.java:686) >> >> org.apache.commons.beanutils.PropertyUtilsBean.getProperty(PropertyUtilsBean.java:715) >> >> org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:290) >> >> net.sf.json.JSONObject.fromBean(JSONObject.java:161) >> net.sf.json.JSONObject.fromObject(JSONObject.java:246) >> net.sf.json.JSONObject.set(JSONObject.java:1483) >> net.sf.json.JSONObject.<init>(JSONObject.java:766) >> net.sf.json.JSONObject.fromMap(JSONObject.java:215) >> org.ofbiz.webapp.event.JSONServiceEventHandler.invoke(JSONServiceEventHandler.java:57) >> >> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:461) >> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:293) >> >> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:396) >> >> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:204) >> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78) >> javax.servlet.http.HttpServlet.service(HttpServlet.java:710) >> 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:259) >> 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.ofbiz.catalina.container.CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:42) >> >> 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:595) >> -------------------------------------------------------------------------------- >> >> >> 2009-01-15 19:11:24,199 (http-0.0.0.0-8443-1) [ >> ControlServlet.java:221:ERROR] An error occurred, going to the >> errorPage: /error/error.jsp >> 2009-01-15 19:11:24,200 (http-0.0.0.0-8443-1) [ >> ControlServlet.java:228:ERROR] Including errorPage: /error/error.jsp >> 2009-01-15 19:11:24,204 (http-0.0.0.0-8443-1) [ >> ControlServlet.java:302:INFO ] [[[cartItemQtyUpdate] Done rendering >> page, Servlet Finished- total:0.064,since >> last([cartItemQtyUpdat...):0.064]] >> >> >> This property scale has been committed on r721986 [3/13] revision >> number. >> Thanks and Regards, >> -- >> Vivek Mishra > > |
Administrator
|
In reply to this post by Deepesh Kapoor
You are right, please see the Re: What is happening with OrderItemShipGroup.productStoreShipMethId? thread
Thanks Jacques From: "Deepesh Kapoor" <[hidden email]> > +1 to vivek for figuring this out. > even iam facing the same problem in the execution of various > functionalities in E-commerce like updating quantity in cart and > removing items from cart in checkout process etc. > According to me the root cause is the Data Type conversion ( double > ->bigDecimal ) , there may be a few files left where the conversion is > not made. > As the concerned error below: > *ObjectType.java:992:INFO ] No type conversion available for > org.ofbiz.order.shoppingcart.WebShoppingCart to > org.ofbiz.order.shoppingcart.ShoppingCart, returning original object. > > *The ShoppingCart.java file committed at r731851 might be accountable > here. > Please correct me if i am wrong. > > Regards > - - > Deepesh > > Vivek Mishra wrote: >> Hello All, >> >> I am encountered with a problem in Onepagechekout process of e-commerce. >> >> When I am doing any changes in Shopping cart panel like removing Item >> from Cart its showing following error : >> >> 2009-01-15 19:11:24,194 (http-0.0.0.0-8443-1) [ >> RequestHandler.java:256:INFO ] [Processing Request]: getCartData >> sessionId=87B66DA70EA935BA7EC6BABE8717E6A5.jvm1 >> 2009-01-15 19:11:24,194 (http-0.0.0.0-8443-1) [ >> ObjectType.java:992:INFO ] No type conversion available for >> org.ofbiz.order.shoppingcart.WebShoppingCart to >> org.ofbiz.order.shoppingcart.ShoppingCart, returning original object. >> 2009-01-15 19:11:24,199 (http-0.0.0.0-8443-1) [ >> ControlServlet.java:211:ERROR] >> ---- runtime exception report >> -------------------------------------------------- >> Error in request handler: >> Exception: net.sf.json.JSONException >> Message: java.lang.NoSuchMethodException: Property 'scale' has no >> getter method >> ---- cause >> --------------------------------------------------------------------- >> Exception: java.lang.NoSuchMethodException >> Message: Property 'scale' has no getter method >> ---- stack trace >> --------------------------------------------------------------- >> java.lang.NoSuchMethodException: Property 'scale' has no getter method >> org.apache.commons.beanutils.PropertyUtilsBean.getSimpleProperty(PropertyUtilsBean.java:1127) >> >> org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(PropertyUtilsBean.java:686) >> >> org.apache.commons.beanutils.PropertyUtilsBean.getProperty(PropertyUtilsBean.java:715) >> >> org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:290) >> >> net.sf.json.JSONObject.fromBean(JSONObject.java:161) >> net.sf.json.JSONObject.fromObject(JSONObject.java:246) >> net.sf.json.JSONObject.set(JSONObject.java:1483) >> net.sf.json.JSONObject.<init>(JSONObject.java:766) >> net.sf.json.JSONObject.fromMap(JSONObject.java:215) >> org.ofbiz.webapp.event.JSONServiceEventHandler.invoke(JSONServiceEventHandler.java:57) >> >> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:461) >> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:293) >> >> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:396) >> >> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:204) >> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78) >> javax.servlet.http.HttpServlet.service(HttpServlet.java:710) >> 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:259) >> 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.ofbiz.catalina.container.CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:42) >> >> 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:595) >> -------------------------------------------------------------------------------- >> >> >> 2009-01-15 19:11:24,199 (http-0.0.0.0-8443-1) [ >> ControlServlet.java:221:ERROR] An error occurred, going to the >> errorPage: /error/error.jsp >> 2009-01-15 19:11:24,200 (http-0.0.0.0-8443-1) [ >> ControlServlet.java:228:ERROR] Including errorPage: /error/error.jsp >> 2009-01-15 19:11:24,204 (http-0.0.0.0-8443-1) [ >> ControlServlet.java:302:INFO ] [[[cartItemQtyUpdate] Done rendering >> page, Servlet Finished- total:0.064,since >> last([cartItemQtyUpdat...):0.064]] >> >> >> This property scale has been committed on r721986 [3/13] revision >> number. >> Thanks and Regards, >> -- >> Vivek Mishra > > |
Free forum by Nabble | Edit this page |