Error trying to buy a Digital Good

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

Error trying to buy a Digital Good

MarioF
Hi all,

I received an error when I try to buy a Digital Good, for example the Digital Gizmo (ID: GZ-DIG). If the product is a Finished Good all works fine.

I make the following. I add the Digital Gizmo to the cart and make a Quick Checkout. I pay with a valid credit card and submit the order. The result screen is this:


The Following Errors Occurred:

Problem with order change; see above error


In the console I have this:

2009-09-21 12:56:06,984 (http-0.0.0.0-8443-4) [  OrderChangeHelper.java:85 :ERROR]
---- exception report ----------------------------------------------------------
Service invocation error, status changes were not updated for order #WSCO10091
Exception: org.ofbiz.service.GenericServiceException Message: Could not commit transaction for service [changeOrderItemStatus] call: Roll back error, could not commit transaction, was rolled back instead because of: Error in simple-method [Convert UOM values [file:/D:/Projekte/ofbiz/ofbiz-trunk/framework/common/script/org/ofbiz/common/CommonServices.xml#convertUom]]: ; [UOM Conversion Relationship Not Found]
---- stack trace ---------------------------------------------------------------
org.ofbiz.service.GenericServiceException: Could not commit transaction for service [changeOrderItemStatus] call: Roll back error, could not commit transaction, was rolled back instead because of: Error in simple-method [Convert UOM values [file:/D:/Projekte/ofbiz/ofbiz-trunk/framework/common/script/org/ofbiz/common/CommonServices.xml#convertUom]]: ; [UOM Conversion Relationship Not Found]
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:548)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:221)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:159)
org.ofbiz.order.order.OrderChangeHelper.orderStatusChanges(OrderChangeHelper.java:166)
org.ofbiz.order.order.OrderChangeHelper.approveOrder(OrderChangeHelper.java:72)
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1023)
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:885)
org.ofbiz.order.shoppingcart.CheckOutEvents.processPayment(CheckOutEvents.java:553)
org.ofbiz.order.shoppingcart.CheckOutEvents.processPayment(CheckOutEvents.java:517)
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.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:92)
org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:78)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:611)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:374)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:515)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:515)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:214)
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.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:264)
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.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-09-21 12:56:06,984 (http-0.0.0.0-8443-4) [     CheckOutEvents.java:521:ERROR]
---- exception report ----------------------------------------------------------
Exception: org.ofbiz.base.util.GeneralException
Message: Problem with order change; see above error
---- stack trace ---------------------------------------------------------------
org.ofbiz.base.util.GeneralException: Problem with order change; see above error
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1025)
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:885)
org.ofbiz.order.shoppingcart.CheckOutEvents.processPayment(CheckOutEvents.java:553)
org.ofbiz.order.shoppingcart.CheckOutEvents.processPayment(CheckOutEvents.java:517)
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.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:92)
org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:78)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:611)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:374)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:515)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:515)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:214)
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.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:264)
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.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)
-------------------------------------------------

If I go into the debug mode I can see that the error come from the line 166 in OrderChangeHelper:

Map itemStatusResult = dispatcher.runSync("changeOrderItemStatus", itemStatusFields);


It is this a bug? Am I doing something wrong?


Thanks in advance,
Mario.
Reply | Threaded
Open this post in threaded view
|

Re: Error trying to buy a Digital Good

Simon Hutchinson-2
Hi Mario

I am currently using 09.04 r813407
I have performed a clean build of the demo - ant clean-all run-install

Am am unable to test an anonymous quick checkout at the moment for you  
due to an issue currently logged on Jira (see https://issues.apache.org/jira/browse/OFBIZ-2929)
However if I am logged in then I can perform a quick checkout for the  
good that you are referring to without error, which is subsequently  
available for download in my order history.

Which revision are you using?
Are you testing on a clean demo build?

Regards

Simon

On 21 Sep 2009, at 12:06, MarioF wrote:

>
> Hi all,
>
> I received an error when I try to buy a Digital Good, for example the
> Digital Gizmo (ID: GZ-DIG). If the product is a Finished Good all  
> works
> fine.
>
> I make the following. I add the Digital Gizmo to the cart and make a  
> Quick
> Checkout. I pay with a valid credit card and submit the order. The  
> result
> screen is this:
>
>
> The Following Errors Occurred:
>
> Problem with order change; see above error
>
>
> In the console I have this:
>
> 2009-09-21 12:56:06,984 (http-0.0.0.0-8443-4)  
> [  OrderChangeHelper.java:85
> :ERROR]
> ---- exception report
> ----------------------------------------------------------
> Service invocation error, status changes were not updated for order
> #WSCO10091
> Exception: org.ofbiz.service.GenericServiceException Message: Could  
> not
> commit transaction for service [changeOrderItemStatus] call: Roll back
> error, could not commit transaction, was rolled back instead because  
> of:
> Error in simple-method [Convert UOM values
> [file:/D:/Projekte/ofbiz/ofbiz-trunk/framework/common/script/org/
> ofbiz/common/CommonServices.xml#convertUom]]:
> ; [UOM Conversion Relationship Not Found]
> ---- stack trace
> ---------------------------------------------------------------
> org.ofbiz.service.GenericServiceException: Could not commit  
> transaction for
> service [changeOrderItemStatus] call: Roll back error, could not  
> commit
> transaction, was rolled back instead because of: Error in simple-
> method
> [Convert UOM values
> [file:/D:/Projekte/ofbiz/ofbiz-trunk/framework/common/script/org/
> ofbiz/common/CommonServices.xml#convertUom]]:
> ; [UOM Conversion Relationship Not Found]
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
> 548)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
> 221)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:
> 159)
> org
> .ofbiz
> .order
> .order.OrderChangeHelper.orderStatusChanges(OrderChangeHelper.java:
> 166)
> org
> .ofbiz
> .order.order.OrderChangeHelper.approveOrder(OrderChangeHelper.java:72)
> org
> .ofbiz
> .order
> .shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1023)
> org
> .ofbiz
> .order
> .shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:885)
> org
> .ofbiz
> .order
> .shoppingcart.CheckOutEvents.processPayment(CheckOutEvents.java:553)
> org
> .ofbiz
> .order
> .shoppingcart.CheckOutEvents.processPayment(CheckOutEvents.java:517)
> 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.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:
> 92)
> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:
> 78)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:
> 611)
> org
> .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:
> 374)
> org
> .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:
> 515)
> org
> .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:
> 515)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:214)
> 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.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:
> 264)
> 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.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-09-21 12:56:06,984 (http-0.0.0.0-8443-4) [
> CheckOutEvents.java:521:ERROR]
> ---- exception report
> ----------------------------------------------------------
> Exception: org.ofbiz.base.util.GeneralException
> Message: Problem with order change; see above error
> ---- stack trace
> ---------------------------------------------------------------
> org.ofbiz.base.util.GeneralException: Problem with order change; see  
> above
> error
> org
> .ofbiz
> .order
> .shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1025)
> org
> .ofbiz
> .order
> .shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:885)
> org
> .ofbiz
> .order
> .shoppingcart.CheckOutEvents.processPayment(CheckOutEvents.java:553)
> org
> .ofbiz
> .order
> .shoppingcart.CheckOutEvents.processPayment(CheckOutEvents.java:517)
> 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.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:
> 92)
> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:
> 78)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:
> 611)
> org
> .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:
> 374)
> org
> .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:
> 515)
> org
> .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:
> 515)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:214)
> 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.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:
> 264)
> 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.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)
> -------------------------------------------------
>
> If I go into the debug mode I can see that the error come from the  
> line 166
> in OrderChangeHelper:
>
> Map itemStatusResult = dispatcher.runSync("changeOrderItemStatus",
> itemStatusFields);
>
>
> It is this a bug? Am I doing something wrong?
>
>
> Thanks in advance,
> Mario.
>
> --
> View this message in context: http://www.nabble.com/Error-trying-to-buy-a-Digital-Good-tp25530283p25530283.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>

Kind Regards

Simon Hutchinson

t: +44 (0)20 7033 2333  m: +44 (0)7595 020569  f: +44 (0)20 7033 2330
a:   Ixxus Limited, Holywell Centre, 1 Phipp Street, London, EC2A 4PS
United Kingdom.  www.ixxus.com <http://www.ixxus.com/>

This message should be regarded as confidential. If you have received
this email in error please notify the sender and destroy it immediately.
Statements of intent shall only become binding when confirmed in hard
copy by an authorised signatory.





Reply | Threaded
Open this post in threaded view
|

Re: Error trying to buy a Digital Good

Jacques Le Roux
Administrator
Hi Simon,

Could you please avec a look at OFBIZ-2929 ?

Thanks

Jacques

From: "Simon Hutchinson" <[hidden email]>

> Hi Mario
>
> I am currently using 09.04 r813407
> I have performed a clean build of the demo - ant clean-all run-install
>
> Am am unable to test an anonymous quick checkout at the moment for you  
> due to an issue currently logged on Jira (see https://issues.apache.org/jira/browse/OFBIZ-2929)
> However if I am logged in then I can perform a quick checkout for the  
> good that you are referring to without error, which is subsequently  
> available for download in my order history.
>
> Which revision are you using?
> Are you testing on a clean demo build?
>
> Regards
>
> Simon
>
> On 21 Sep 2009, at 12:06, MarioF wrote:
>
>>
>> Hi all,
>>
>> I received an error when I try to buy a Digital Good, for example the
>> Digital Gizmo (ID: GZ-DIG). If the product is a Finished Good all  
>> works
>> fine.
>>
>> I make the following. I add the Digital Gizmo to the cart and make a  
>> Quick
>> Checkout. I pay with a valid credit card and submit the order. The  
>> result
>> screen is this:
>>
>>
>> The Following Errors Occurred:
>>
>> Problem with order change; see above error
>>
>>
>> In the console I have this:
>>
>> 2009-09-21 12:56:06,984 (http-0.0.0.0-8443-4)  
>> [  OrderChangeHelper.java:85
>> :ERROR]
>> ---- exception report
>> ----------------------------------------------------------
>> Service invocation error, status changes were not updated for order
>> #WSCO10091
>> Exception: org.ofbiz.service.GenericServiceException Message: Could  
>> not
>> commit transaction for service [changeOrderItemStatus] call: Roll back
>> error, could not commit transaction, was rolled back instead because  
>> of:
>> Error in simple-method [Convert UOM values
>> [file:/D:/Projekte/ofbiz/ofbiz-trunk/framework/common/script/org/
>> ofbiz/common/CommonServices.xml#convertUom]]:
>> ; [UOM Conversion Relationship Not Found]
>> ---- stack trace
>> ---------------------------------------------------------------
>> org.ofbiz.service.GenericServiceException: Could not commit  
>> transaction for
>> service [changeOrderItemStatus] call: Roll back error, could not  
>> commit
>> transaction, was rolled back instead because of: Error in simple-
>> method
>> [Convert UOM values
>> [file:/D:/Projekte/ofbiz/ofbiz-trunk/framework/common/script/org/
>> ofbiz/common/CommonServices.xml#convertUom]]:
>> ; [UOM Conversion Relationship Not Found]
>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
>> 548)
>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
>> 221)
>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:
>> 159)
>> org
>> .ofbiz
>> .order
>> .order.OrderChangeHelper.orderStatusChanges(OrderChangeHelper.java:
>> 166)
>> org
>> .ofbiz
>> .order.order.OrderChangeHelper.approveOrder(OrderChangeHelper.java:72)
>> org
>> .ofbiz
>> .order
>> .shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1023)
>> org
>> .ofbiz
>> .order
>> .shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:885)
>> org
>> .ofbiz
>> .order
>> .shoppingcart.CheckOutEvents.processPayment(CheckOutEvents.java:553)
>> org
>> .ofbiz
>> .order
>> .shoppingcart.CheckOutEvents.processPayment(CheckOutEvents.java:517)
>> 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.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:
>> 92)
>> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:
>> 78)
>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:
>> 611)
>> org
>> .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:
>> 374)
>> org
>> .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:
>> 515)
>> org
>> .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:
>> 515)
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:214)
>> 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.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:
>> 264)
>> 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.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-09-21 12:56:06,984 (http-0.0.0.0-8443-4) [
>> CheckOutEvents.java:521:ERROR]
>> ---- exception report
>> ----------------------------------------------------------
>> Exception: org.ofbiz.base.util.GeneralException
>> Message: Problem with order change; see above error
>> ---- stack trace
>> ---------------------------------------------------------------
>> org.ofbiz.base.util.GeneralException: Problem with order change; see  
>> above
>> error
>> org
>> .ofbiz
>> .order
>> .shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1025)
>> org
>> .ofbiz
>> .order
>> .shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:885)
>> org
>> .ofbiz
>> .order
>> .shoppingcart.CheckOutEvents.processPayment(CheckOutEvents.java:553)
>> org
>> .ofbiz
>> .order
>> .shoppingcart.CheckOutEvents.processPayment(CheckOutEvents.java:517)
>> 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.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:
>> 92)
>> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:
>> 78)
>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:
>> 611)
>> org
>> .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:
>> 374)
>> org
>> .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:
>> 515)
>> org
>> .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:
>> 515)
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:214)
>> 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.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:
>> 264)
>> 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.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)
>> -------------------------------------------------
>>
>> If I go into the debug mode I can see that the error come from the  
>> line 166
>> in OrderChangeHelper:
>>
>> Map itemStatusResult = dispatcher.runSync("changeOrderItemStatus",
>> itemStatusFields);
>>
>>
>> It is this a bug? Am I doing something wrong?
>>
>>
>> Thanks in advance,
>> Mario.
>>
>> --
>> View this message in context: http://www.nabble.com/Error-trying-to-buy-a-Digital-Good-tp25530283p25530283.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>
> Kind Regards
>
> Simon Hutchinson
>
> t: +44 (0)20 7033 2333  m: +44 (0)7595 020569  f: +44 (0)20 7033 2330
> a:   Ixxus Limited, Holywell Centre, 1 Phipp Street, London, EC2A 4PS
> United Kingdom.  www.ixxus.com <http://www.ixxus.com/>
>
> This message should be regarded as confidential. If you have received
> this email in error please notify the sender and destroy it immediately.
> Statements of intent shall only become binding when confirmed in hard
> copy by an authorised signatory.
>
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Error trying to buy a Digital Good

Simon Hutchinson-2
Hi Jacques,

Yes I will take a look.

Simon
On 21 Sep 2009, at 20:42, Jacques Le Roux wrote:

> Hi Simon,
>
> Could you please avec a look at OFBIZ-2929 ?
>
> Thanks
>
> Jacques
>
> From: "Simon Hutchinson" <[hidden email]>
>> Hi Mario
>> I am currently using 09.04 r813407
>> I have performed a clean build of the demo - ant clean-all run-
>> install
>> Am am unable to test an anonymous quick checkout at the moment for  
>> you  due to an issue currently logged on Jira (see https://issues.apache.org/jira/browse/OFBIZ-2929)
>> However if I am logged in then I can perform a quick checkout for  
>> the  good that you are referring to without error, which is  
>> subsequently  available for download in my order history.
>> Which revision are you using?
>> Are you testing on a clean demo build?
>> Regards
>> Simon
>> On 21 Sep 2009, at 12:06, MarioF wrote:
>>>
>>> Hi all,
>>>
>>> I received an error when I try to buy a Digital Good, for example  
>>> the
>>> Digital Gizmo (ID: GZ-DIG). If the product is a Finished Good all  
>>> works
>>> fine.
>>>
>>> I make the following. I add the Digital Gizmo to the cart and make  
>>> a  Quick
>>> Checkout. I pay with a valid credit card and submit the order.  
>>> The  result
>>> screen is this:
>>>
>>>
>>> The Following Errors Occurred:
>>>
>>> Problem with order change; see above error
>>>
>>>
>>> In the console I have this:
>>>
>>> 2009-09-21 12:56:06,984 (http-0.0.0.0-8443-4)  
>>> [  OrderChangeHelper.java:85
>>> :ERROR]
>>> ---- exception report
>>> ----------------------------------------------------------
>>> Service invocation error, status changes were not updated for order
>>> #WSCO10091
>>> Exception: org.ofbiz.service.GenericServiceException Message:  
>>> Could  not
>>> commit transaction for service [changeOrderItemStatus] call: Roll  
>>> back
>>> error, could not commit transaction, was rolled back instead  
>>> because  of:
>>> Error in simple-method [Convert UOM values
>>> [file:/D:/Projekte/ofbiz/ofbiz-trunk/framework/common/script/org/  
>>> ofbiz/common/CommonServices.xml#convertUom]]:
>>> ; [UOM Conversion Relationship Not Found]
>>> ---- stack trace
>>> ---------------------------------------------------------------
>>> org.ofbiz.service.GenericServiceException: Could not commit  
>>> transaction for
>>> service [changeOrderItemStatus] call: Roll back error, could not  
>>> commit
>>> transaction, was rolled back instead because of: Error in simple-  
>>> method
>>> [Convert UOM values
>>> [file:/D:/Projekte/ofbiz/ofbiz-trunk/framework/common/script/org/  
>>> ofbiz/common/CommonServices.xml#convertUom]]:
>>> ; [UOM Conversion Relationship Not Found]
>>> org
>>> .ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:  
>>> 548)
>>> org
>>> .ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:  
>>> 221)
>>> org
>>> .ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:  
>>> 159)
>>> org
>>>  .ofbiz
>>>  .order
>>>  .order
>>> .OrderChangeHelper.orderStatusChanges(OrderChangeHelper.java: 166)
>>> org
>>>  .ofbiz
>>>  .order
>>> .order.OrderChangeHelper.approveOrder(OrderChangeHelper.java:72)
>>> org
>>>  .ofbiz
>>>  .order
>>>  .shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:
>>> 1023)
>>> org
>>>  .ofbiz
>>>  .order
>>>  .shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:
>>> 885)
>>> org
>>>  .ofbiz
>>>  .order
>>>  .shoppingcart.CheckOutEvents.processPayment(CheckOutEvents.java:
>>> 553)
>>> org
>>>  .ofbiz
>>>  .order
>>>  .shoppingcart.CheckOutEvents.processPayment(CheckOutEvents.java:
>>> 517)
>>> 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.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:  
>>> 92)
>>> org
>>> .ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:  
>>> 78)
>>> org
>>> .ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:  
>>> 611)
>>> org
>>>  .ofbiz
>>> .webapp.control.RequestHandler.doRequest(RequestHandler.java: 374)
>>> org
>>>  .ofbiz
>>> .webapp.control.RequestHandler.doRequest(RequestHandler.java: 515)
>>> org
>>>  .ofbiz
>>> .webapp.control.RequestHandler.doRequest(RequestHandler.java: 515)
>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:
>>> 214)
>>> 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
>>> .ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:  
>>> 264)
>>> 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
>>> .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-09-21 12:56:06,984 (http-0.0.0.0-8443-4) [
>>> CheckOutEvents.java:521:ERROR]
>>> ---- exception report
>>> ----------------------------------------------------------
>>> Exception: org.ofbiz.base.util.GeneralException
>>> Message: Problem with order change; see above error
>>> ---- stack trace
>>> ---------------------------------------------------------------
>>> org.ofbiz.base.util.GeneralException: Problem with order change;  
>>> see  above
>>> error
>>> org
>>>  .ofbiz
>>>  .order
>>>  .shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:
>>> 1025)
>>> org
>>>  .ofbiz
>>>  .order
>>>  .shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:
>>> 885)
>>> org
>>>  .ofbiz
>>>  .order
>>>  .shoppingcart.CheckOutEvents.processPayment(CheckOutEvents.java:
>>> 553)
>>> org
>>>  .ofbiz
>>>  .order
>>>  .shoppingcart.CheckOutEvents.processPayment(CheckOutEvents.java:
>>> 517)
>>> 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.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:  
>>> 92)
>>> org
>>> .ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:  
>>> 78)
>>> org
>>> .ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:  
>>> 611)
>>> org
>>>  .ofbiz
>>> .webapp.control.RequestHandler.doRequest(RequestHandler.java: 374)
>>> org
>>>  .ofbiz
>>> .webapp.control.RequestHandler.doRequest(RequestHandler.java: 515)
>>> org
>>>  .ofbiz
>>> .webapp.control.RequestHandler.doRequest(RequestHandler.java: 515)
>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:
>>> 214)
>>> 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
>>> .ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:  
>>> 264)
>>> 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
>>> .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)
>>> -------------------------------------------------
>>>
>>> If I go into the debug mode I can see that the error come from  
>>> the  line 166
>>> in OrderChangeHelper:
>>>
>>> Map itemStatusResult = dispatcher.runSync("changeOrderItemStatus",
>>> itemStatusFields);
>>>
>>>
>>> It is this a bug? Am I doing something wrong?
>>>
>>>
>>> Thanks in advance,
>>> Mario.
>>>
>>> --
>>> View this message in context: http://www.nabble.com/Error-trying-to-buy-a-Digital-Good-tp25530283p25530283.html
>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>
>> Kind Regards
>> Simon Hutchinson
>> t: +44 (0)20 7033 2333  m: +44 (0)7595 020569  f: +44 (0)20 7033 2330
>> a:   Ixxus Limited, Holywell Centre, 1 Phipp Street, London, EC2A 4PS
>> United Kingdom.  www.ixxus.com <http://www.ixxus.com/>
>> This message should be regarded as confidential. If you have received
>> this email in error please notify the sender and destroy it  
>> immediately.
>> Statements of intent shall only become binding when confirmed in hard
>> copy by an authorised signatory.
>>
>

Kind Regards

Simon Hutchinson

t: +44 (0)20 7033 2333  m: +44 (0)7595 020569  f: +44 (0)20 7033 2330
a:   Ixxus Limited, Holywell Centre, 1 Phipp Street, London, EC2A 4PS
United Kingdom.  www.ixxus.com <http://www.ixxus.com/>

This message should be regarded as confidential. If you have received
this email in error please notify the sender and destroy it immediately.
Statements of intent shall only become binding when confirmed in hard
copy by an authorised signatory.