Order cancellation on ecommerce application fails.

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

Order cancellation on ecommerce application fails.

rohit
Hi,

Cancelling a order on the ecommerce application does not seem to work. For eg. a customers places an order and then decides to cancel the order or an item in the order. He selects the item and clicks on the cancel link which results in the following error:

I am using the latest SVN download and had used check/offline payment as the payment option when creating the order.

Any comments will be appreciated.

Rohit

2009-02-08 21:39:34,990 (TP-Processor2) [ ServiceDispatcher.java:578:INFO ] Sync service [ecommerce/cancelOrderItemShipGrpInvRes] finished in [136] milliseconds
2009-02-08 21:39:35,064 (TP-Processor2) [ ServiceDispatcher.java:578:INFO ] Sync service [ecommerce/checkDecomposeInventoryItem] finished in [72] milliseconds
2009-02-08 21:39:35,065 (TP-Processor2) [ ServiceDispatcher.java:578:INFO ] Sync service [ecommerce/cancelOrderInventoryReservation] finished in [303] milliseconds
2009-02-08 21:39:35,065 (TP-Processor2) [ ServiceEcaRule.java:150:INFO ] Running Service ECA Service: recalcShippingTotal, triggered by rule on Service: changeOrderItemStatus
2009-02-08 21:39:35,077 (TP-Processor2) [ ServiceDispatcher.java:497:INFO ] [[Sync service failed...- total:0.0,since last(Begin):0.0]] - 'ecommerce / recalcShippingTotal'
2009-02-08 21:39:35,079 (TP-Processor2) [ ServiceDispatcher.java:500:ERROR] ---- exception report ---------------------------------------------------------- Service [recalcShippingTotal] threw an unexpected exception/error Exception: org.ofbiz.service.GenericServiceException Message: Service [recalcShippingTotal] target threw an unexpected exception ([GenericEntity.get] "productStoreShipMethId" is not a field of OrderItemShipGroup) ---- cause --------------------------------------------------------------------- Exception: java.lang.IllegalArgumentException Message: [GenericEntity.get] "productStoreShipMethId" is not a field of OrderItemShipGroup ---- stack trace --------------------------------------------------------------- java.lang.IllegalArgumentException: [GenericEntity.get] "productStoreShipMethId" is not a field of OrderItemShipGroup org.ofbiz.entity.GenericEntity.get(GenericEntity.java:308) org.ofbiz.entity.GenericEntity.getString(GenericEntity.java:585) org.ofbiz.order.shoppingcart.shipping.ShippingEvents.getShipEstimate(ShippingEvents.java:121) org.ofbiz.order.order.OrderServices.recalcOrderShipping(OrderServices.java:1603) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:96) org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149) org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:135) org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:151) org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:155) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:482) org.ofbiz.service.ServiceDispatcher.runSyncIgnore(ServiceDispatcher.java:226) org.ofbiz.service.GenericDispatcher.runSyncIgnore(GenericDispatcher.java:175) org.ofbiz.order.order.OrderServices.cancelOrderItem(OrderServices.java:1913) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:96) org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149) org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:332) org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:461) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:293) 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:44) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) java.lang.Thread.run(Thread.java:595) --------------------------------------------------------------------------------
2009-02-08 21:39:35,081 (TP-Processor2) [ TransactionUtil.java:311:WARN ] ---- exception report ---------------------------------------------------------- [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this stack trace shows where this is happening: Exception: java.lang.Exception Message: Service [recalcShippingTotal] threw an unexpected exception/error ---- stack trace --------------------------------------------------------------- java.lang.Exception: Service [recalcShippingTotal] threw an unexpected exception/error org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:311) org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:258) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:503) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149) org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:135) org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:151) org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:155) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:482) org.ofbiz.service.ServiceDispatcher.runSyncIgnore(ServiceDispatcher.java:226) org.ofbiz.service.GenericDispatcher.runSyncIgnore(GenericDispatcher.java:175) org.ofbiz.order.order.OrderServices.cancelOrderItem(OrderServices.java:1913) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:96) org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149) org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:332) org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:461) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:293) 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:44) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) java.lang.Thread.run(Thread.java:595) --------------------------------------------------------------------------------
2009-02-08 21:39:35,082 (TP-Processor2) [ ServiceDispatcher.java:497:INFO ] [[Sync service failed...- total:0.0,since last(Begin):0.0010]] - 'ecommerce / changeOrderItemStatus'
2009-02-08 21:39:35,083 (TP-Processor2) [ ServiceDispatcher.java:500:ERROR] ---- exception report ---------------------------------------------------------- Service [changeOrderItemStatus] threw an unexpected exception/error Exception: org.ofbiz.service.GenericServiceException Message: Service [recalcShippingTotal] target threw an unexpected exception ([GenericEntity.get] "productStoreShipMethId" is not a field of OrderItemShipGroup) ---- cause --------------------------------------------------------------------- Exception: java.lang.IllegalArgumentException Message: [GenericEntity.get] "productStoreShipMethId" is not a field of OrderItemShipGroup ---- stack trace --------------------------------------------------------------- java.lang.IllegalArgumentException: [GenericEntity.get] "productStoreShipMethId" is not a field of OrderItemShipGroup org.ofbiz.entity.GenericEntity.get(GenericEntity.java:308) org.ofbiz.entity.GenericEntity.getString(GenericEntity.java:585) org.ofbiz.order.shoppingcart.shipping.ShippingEvents.getShipEstimate(ShippingEvents.java:121) org.ofbiz.order.order.OrderServices.recalcOrderShipping(OrderServices.java:1603) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:96) org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149) org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:135) org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:151) org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:155) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:482) org.ofbiz.service.ServiceDispatcher.runSyncIgnore(ServiceDispatcher.java:226) org.ofbiz.service.GenericDispatcher.runSyncIgnore(GenericDispatcher.java:175) org.ofbiz.order.order.OrderServices.cancelOrderItem(OrderServices.java:1913) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:96) org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149) org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:332) org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:461) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:293) 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:44) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) java.lang.Thread.run(Thread.java:595) --------------------------------------------------------------------------------
2009-02-08 21:39:35,083 (TP-Processor2) [ TransactionUtil.java:315:INFO ] [TransactionUtil.setRollbackOnly] transaction rollback only not set, rollback only is already set.
2009-02-08 21:39:35,120 (TP-Processor2) [ OrderServices.java:1915:ERROR] ---- exception report ---------------------------------------------------------- Exception: org.ofbiz.service.GenericServiceException Message: Service [recalcShippingTotal] target threw an unexpected exception ([GenericEntity.get] "productStoreShipMethId" is not a field of OrderItemShipGroup) ---- cause --------------------------------------------------------------------- Exception: java.lang.IllegalArgumentException Message: [GenericEntity.get] "productStoreShipMethId" is not a field of OrderItemShipGroup ---- stack trace --------------------------------------------------------------- java.lang.IllegalArgumentException: [GenericEntity.get] "productStoreShipMethId" is not a field of OrderItemShipGroup org.ofbiz.entity.GenericEntity.get(GenericEntity.java:308) org.ofbiz.entity.GenericEntity.getString(GenericEntity.java:585) org.ofbiz.order.shoppingcart.shipping.ShippingEvents.getShipEstimate(ShippingEvents.java:121) org.ofbiz.order.order.OrderServices.recalcOrderShipping(OrderServices.java:1603) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:96) org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149) org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:135) org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:151) org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:155) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:482) org.ofbiz.service.ServiceDispatcher.runSyncIgnore(ServiceDispatcher.java:226) org.ofbiz.service.GenericDispatcher.runSyncIgnore(GenericDispatcher.java:175) org.ofbiz.order.order.OrderServices.cancelOrderItem(OrderServices.java:1913) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:96) org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149) org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:332) org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:461) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:293) 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:44) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) java.lang.Thread.run(Thread.java:595) --------------------------------------------------------------------------------
2009-02-08 21:39:35,121 (TP-Processor2) [ ServiceDispatcher.java:522:ERROR] Error in Service [cancelOrderItem]: Unable to cancel order line : WSCO10000 / 00001 / null
2009-02-08 21:39:35,122 (TP-Processor2) [ TransactionUtil.java:275:ERROR] ---- exception report ---------------------------------------------------------- [TransactionUtil.rollback] Exception: java.lang.Exception Message: Stack Trace ---- stack trace --------------------------------------------------------------- java.lang.Exception: Stack Trace org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:274) org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:526) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149) org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:332) org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:461) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:293) 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:44) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) java.lang.Thread.run(Thread.java:595) --------------------------------------------------------------------------------
2009-02-08 21:39:35,130 (TP-Processor2) [ TransactionUtil.java:285:INFO ] [TransactionUtil.rollback] transaction rolled back
2009-02-08 21:39:35,130 (TP-Processor2) [ ServiceDispatcher.java:578:INFO ] Sync service [ecommerce/cancelOrderItem] finished in [607] milliseconds
2009-02-08 21:39:35,131 (TP-Processor2) [ RequestHandler.java:326:ERROR] Request cancelOrderItem caused an error with the following message: Unable to cancel order line : WSCO10000 / 00001 / null
2009-02-08 21:39:35,131 (TP-Processor2) [ RequestHandler.java:440:INFO ] [RequestHandler.doRequest]: Response is a view. sessionId=993C256DCCC550FB104486F057ED5F2E.jvm1
2009-02-08 21:39:35,132 (TP-Processor2) [ RequestHandler.java:591:INFO ] servletName=control, view=orderstatus sessionId=993C256DCCC550FB104486F057ED5F2E.jvm1  
Reply | Threaded
Open this post in threaded view
|

Re: Order cancellation on ecommerce application fails.

Ashish Vijaywargiya
Thanks Rohit for reporting this issue.
The fix for this issue has been committed in rev 742556.

If you would like to see the details of cause please refer to JIRA
issue no. OFBIZ-2176

--
Ashish


On Mon, Feb 9, 2009 at 8:51 AM, rohit2006 <[hidden email]> wrote:

>
> Hi,
>
> Cancelling a order on the ecommerce application does not seem to work. For
> eg. a customers places an order and then decides to cancel the order or an
> item in the order. He selects the item and clicks on the cancel link which
> results in the following error:
>
> I am using the latest SVN download and had used check/offline payment as the
> payment option when creating the order.
>
> Any comments will be appreciated.
>
> Rohit
>
> 2009-02-08 21:39:34,990 (TP-Processor2) [ ServiceDispatcher.java:578:INFO ]
> Sync service [ecommerce/cancelOrderItemShipGrpInvRes] finished in [136]
> milliseconds
> 2009-02-08 21:39:35,064 (TP-Processor2) [ ServiceDispatcher.java:578:INFO ]
> Sync service [ecommerce/checkDecomposeInventoryItem] finished in [72]
> milliseconds
> 2009-02-08 21:39:35,065 (TP-Processor2) [ ServiceDispatcher.java:578:INFO ]
> Sync service [ecommerce/cancelOrderInventoryReservation] finished in [303]
> milliseconds
> 2009-02-08 21:39:35,065 (TP-Processor2) [ ServiceEcaRule.java:150:INFO ]
> Running Service ECA Service: recalcShippingTotal, triggered by rule on
> Service: changeOrderItemStatus
> 2009-02-08 21:39:35,077 (TP-Processor2) [ ServiceDispatcher.java:497:INFO ]
> [[Sync service failed...- total:0.0,since last(Begin):0.0]] - 'ecommerce /
> recalcShippingTotal'
> 2009-02-08 21:39:35,079 (TP-Processor2) [ ServiceDispatcher.java:500:ERROR]
> ---- exception report
> ---------------------------------------------------------- Service
> [recalcShippingTotal] threw an unexpected exception/error Exception:
> org.ofbiz.service.GenericServiceException Message: Service
> [recalcShippingTotal] target threw an unexpected exception
> ([GenericEntity.get] "productStoreShipMethId" is not a field of
> OrderItemShipGroup) ---- cause
> ---------------------------------------------------------------------
> Exception: java.lang.IllegalArgumentException Message: [GenericEntity.get]
> "productStoreShipMethId" is not a field of OrderItemShipGroup ---- stack
> trace ---------------------------------------------------------------
> java.lang.IllegalArgumentException: [GenericEntity.get]
> "productStoreShipMethId" is not a field of OrderItemShipGroup
> org.ofbiz.entity.GenericEntity.get(GenericEntity.java:308)
> org.ofbiz.entity.GenericEntity.getString(GenericEntity.java:585)
> org.ofbiz.order.shoppingcart.shipping.ShippingEvents.getShipEstimate(ShippingEvents.java:121)
> org.ofbiz.order.order.OrderServices.recalcOrderShipping(OrderServices.java:1603)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:585)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:96)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149)
> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:135)
> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:151)
> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:155)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:482)
> org.ofbiz.service.ServiceDispatcher.runSyncIgnore(ServiceDispatcher.java:226)
> org.ofbiz.service.GenericDispatcher.runSyncIgnore(GenericDispatcher.java:175)
> org.ofbiz.order.order.OrderServices.cancelOrderItem(OrderServices.java:1913)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:585)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:96)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:332)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:461)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:293)
> 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:44)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
> org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
> org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
> java.lang.Thread.run(Thread.java:595)
> --------------------------------------------------------------------------------
> 2009-02-08 21:39:35,081 (TP-Processor2) [ TransactionUtil.java:311:WARN ]
> ---- exception report
> ----------------------------------------------------------
> [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this
> stack trace shows where this is happening: Exception: java.lang.Exception
> Message: Service [recalcShippingTotal] threw an unexpected exception/error
> ---- stack trace
> ---------------------------------------------------------------
> java.lang.Exception: Service [recalcShippingTotal] threw an unexpected
> exception/error
> org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:311)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:258)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:503)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149)
> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:135)
> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:151)
> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:155)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:482)
> org.ofbiz.service.ServiceDispatcher.runSyncIgnore(ServiceDispatcher.java:226)
> org.ofbiz.service.GenericDispatcher.runSyncIgnore(GenericDispatcher.java:175)
> org.ofbiz.order.order.OrderServices.cancelOrderItem(OrderServices.java:1913)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:585)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:96)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:332)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:461)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:293)
> 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:44)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
> org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
> org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
> java.lang.Thread.run(Thread.java:595)
> --------------------------------------------------------------------------------
> 2009-02-08 21:39:35,082 (TP-Processor2) [ ServiceDispatcher.java:497:INFO ]
> [[Sync service failed...- total:0.0,since last(Begin):0.0010]] - 'ecommerce
> / changeOrderItemStatus'
> 2009-02-08 21:39:35,083 (TP-Processor2) [ ServiceDispatcher.java:500:ERROR]
> ---- exception report
> ---------------------------------------------------------- Service
> [changeOrderItemStatus] threw an unexpected exception/error Exception:
> org.ofbiz.service.GenericServiceException Message: Service
> [recalcShippingTotal] target threw an unexpected exception
> ([GenericEntity.get] "productStoreShipMethId" is not a field of
> OrderItemShipGroup) ---- cause
> ---------------------------------------------------------------------
> Exception: java.lang.IllegalArgumentException Message: [GenericEntity.get]
> "productStoreShipMethId" is not a field of OrderItemShipGroup ---- stack
> trace ---------------------------------------------------------------
> java.lang.IllegalArgumentException: [GenericEntity.get]
> "productStoreShipMethId" is not a field of OrderItemShipGroup
> org.ofbiz.entity.GenericEntity.get(GenericEntity.java:308)
> org.ofbiz.entity.GenericEntity.getString(GenericEntity.java:585)
> org.ofbiz.order.shoppingcart.shipping.ShippingEvents.getShipEstimate(ShippingEvents.java:121)
> org.ofbiz.order.order.OrderServices.recalcOrderShipping(OrderServices.java:1603)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:585)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:96)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149)
> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:135)
> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:151)
> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:155)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:482)
> org.ofbiz.service.ServiceDispatcher.runSyncIgnore(ServiceDispatcher.java:226)
> org.ofbiz.service.GenericDispatcher.runSyncIgnore(GenericDispatcher.java:175)
> org.ofbiz.order.order.OrderServices.cancelOrderItem(OrderServices.java:1913)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:585)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:96)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:332)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:461)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:293)
> 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:44)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
> org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
> org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
> java.lang.Thread.run(Thread.java:595)
> --------------------------------------------------------------------------------
> 2009-02-08 21:39:35,083 (TP-Processor2) [ TransactionUtil.java:315:INFO ]
> [TransactionUtil.setRollbackOnly] transaction rollback only not set,
> rollback only is already set.
> 2009-02-08 21:39:35,120 (TP-Processor2) [ OrderServices.java:1915:ERROR]
> ---- exception report
> ---------------------------------------------------------- Exception:
> org.ofbiz.service.GenericServiceException Message: Service
> [recalcShippingTotal] target threw an unexpected exception
> ([GenericEntity.get] "productStoreShipMethId" is not a field of
> OrderItemShipGroup) ---- cause
> ---------------------------------------------------------------------
> Exception: java.lang.IllegalArgumentException Message: [GenericEntity.get]
> "productStoreShipMethId" is not a field of OrderItemShipGroup ---- stack
> trace ---------------------------------------------------------------
> java.lang.IllegalArgumentException: [GenericEntity.get]
> "productStoreShipMethId" is not a field of OrderItemShipGroup
> org.ofbiz.entity.GenericEntity.get(GenericEntity.java:308)
> org.ofbiz.entity.GenericEntity.getString(GenericEntity.java:585)
> org.ofbiz.order.shoppingcart.shipping.ShippingEvents.getShipEstimate(ShippingEvents.java:121)
> org.ofbiz.order.order.OrderServices.recalcOrderShipping(OrderServices.java:1603)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:585)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:96)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149)
> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:135)
> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:151)
> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:155)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:482)
> org.ofbiz.service.ServiceDispatcher.runSyncIgnore(ServiceDispatcher.java:226)
> org.ofbiz.service.GenericDispatcher.runSyncIgnore(GenericDispatcher.java:175)
> org.ofbiz.order.order.OrderServices.cancelOrderItem(OrderServices.java:1913)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:585)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:96)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:332)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:461)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:293)
> 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:44)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
> org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
> org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
> java.lang.Thread.run(Thread.java:595)
> --------------------------------------------------------------------------------
> 2009-02-08 21:39:35,121 (TP-Processor2) [ ServiceDispatcher.java:522:ERROR]
> Error in Service [cancelOrderItem]: Unable to cancel order line : WSCO10000
> / 00001 / null
> 2009-02-08 21:39:35,122 (TP-Processor2) [ TransactionUtil.java:275:ERROR]
> ---- exception report
> ----------------------------------------------------------
> [TransactionUtil.rollback] Exception: java.lang.Exception Message: Stack
> Trace ---- stack trace
> ---------------------------------------------------------------
> java.lang.Exception: Stack Trace
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:274)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:526)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:332)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:461)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:293)
> 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:44)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
> org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
> org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
> java.lang.Thread.run(Thread.java:595)
> --------------------------------------------------------------------------------
> 2009-02-08 21:39:35,130 (TP-Processor2) [ TransactionUtil.java:285:INFO ]
> [TransactionUtil.rollback] transaction rolled back
> 2009-02-08 21:39:35,130 (TP-Processor2) [ ServiceDispatcher.java:578:INFO ]
> Sync service [ecommerce/cancelOrderItem] finished in [607] milliseconds
> 2009-02-08 21:39:35,131 (TP-Processor2) [ RequestHandler.java:326:ERROR]
> Request cancelOrderItem caused an error with the following message: Unable
> to cancel order line : WSCO10000 / 00001 / null
> 2009-02-08 21:39:35,131 (TP-Processor2) [ RequestHandler.java:440:INFO ]
> [RequestHandler.doRequest]: Response is a view.
> sessionId=993C256DCCC550FB104486F057ED5F2E.jvm1
> 2009-02-08 21:39:35,132 (TP-Processor2) [ RequestHandler.java:591:INFO ]
> servletName=control, view=orderstatus
> sessionId=993C256DCCC550FB104486F057ED5F2E.jvm1
> --
> View this message in context: http://www.nabble.com/Order-cancellation-on-ecommerce-application-fails.-tp21906518p21906518.html
> Sent from the OFBiz - Dev mailing list archive at Nabble.com.
>
>