Hi All,
I am trying to create a payment on trunk version of ofbiz. I get the following error when i try to update the status of the payment to received. The Following Errors Occurred: Error calling event: org.ofbiz.webapp.event.EventHandlerException: Service invocation error (Could not commit transaction for service [updatePayment] call: Roll back error, could not commit transaction, was rolled back instead because of: Service [convertUom] threw an unexpected exception/errororg.ofbiz.service.ServiceValidationException: Type check failed for field [convertUom.originalValue]; expected type is [Double]; actual type is [java.math.BigDecimal] (Type check failed for field [convertUom.originalValue]; expected type is [Double]; actual type is [java.math.BigDecimal])) What do i have to do to get this to work?? |
Just to add more, I was using the accounting manager application. I tried the demo server on hotwax and it had the same error as well
--- On Fri, 1/23/09, farouk alhassan <[hidden email]> wrote: From: farouk alhassan <[hidden email]> Subject: Edit Payment not working. To: [hidden email] Date: Friday, January 23, 2009, 6:43 AM Hi All, I am trying to create a payment on trunk version of ofbiz. I get the following error when i try to update the status of the payment to received. The Following Errors Occurred: Error calling event: org.ofbiz.webapp.event.EventHandlerException: Service invocation error (Could not commit transaction for service [updatePayment] call: Roll back error, could not commit transaction, was rolled back instead because of: Service [convertUom] threw an unexpected exception/errororg.ofbiz.service.ServiceValidationException: Type check failed for field [convertUom.originalValue]; expected type is [Double]; actual type is [java.math.BigDecimal] (Type check failed for field [convertUom.originalValue]; expected type is [Double]; actual type is [java.math.BigDecimal])) What do i have to do to get this to work?? |
I saw this error too and was looking to solve it....latest version on
svn and the demo system do not show it anymore... On Fri, 2009-01-23 at 13:18 -0800, farouk alhassan wrote: > Just to add more, I was using the accounting manager application. I tried the demo server on hotwax and it had the same error as well > > --- On Fri, 1/23/09, farouk alhassan <[hidden email]> wrote: > From: farouk alhassan <[hidden email]> > Subject: Edit Payment not working. > To: [hidden email] > Date: Friday, January 23, 2009, 6:43 AM > > Hi All, > I am trying to create a payment on trunk version of ofbiz. I get the following > error when i try to update the status of the payment to received. > > > The Following Errors Occurred: > Error calling event: org.ofbiz.webapp.event.EventHandlerException: Service > invocation error (Could not commit transaction for service [updatePayment] call: > Roll back error, could not commit transaction, was rolled back instead because > of: Service [convertUom] threw an unexpected > exception/errororg.ofbiz.service.ServiceValidationException: Type check failed > for field [convertUom.originalValue]; expected type is [Double]; actual type is > [java.math.BigDecimal] (Type check failed for field [convertUom.originalValue]; > expected type is [Double]; actual type is [java.math.BigDecimal])) > > What do i have to do to get this to work?? Antwebsystems.com: Quality OFBiz services for competitive prices |
Hi Hans
Yea you are right. latest version is Ok, but you still get the error if you have pre existing records like the ones that failed. --- On Fri, 1/23/09, Hans Bakker <[hidden email]> wrote: From: Hans Bakker <[hidden email]> Subject: Re: Edit Payment not working. To: [hidden email] Date: Friday, January 23, 2009, 9:56 PM I saw this error too and was looking to solve it....latest version on svn and the demo system do not show it anymore... On Fri, 2009-01-23 at 13:18 -0800, farouk alhassan wrote: > Just to add more, I was using the accounting manager application. I tried the demo server on hotwax and it had the same error as well > > --- On Fri, 1/23/09, farouk alhassan <[hidden email]> wrote: > From: farouk alhassan <[hidden email]> > Subject: Edit Payment not working. > To: [hidden email] > Date: Friday, January 23, 2009, 6:43 AM > > Hi All, > I am trying to create a payment on trunk version of ofbiz. I get the following > error when i try to update the status of the payment to received. > > > The Following Errors Occurred: > Error calling event: org.ofbiz.webapp.event.EventHandlerException: Service > invocation error (Could not commit transaction for service [updatePayment] call: > Roll back error, could not commit transaction, was rolled back instead because > of: Service [convertUom] threw an unexpected > exception/errororg.ofbiz.service.ServiceValidationException: Type check failed > for field [convertUom.originalValue]; expected type is [Double]; actual type is > [java.math.BigDecimal] (Type check failed for field [convertUom.originalValue]; > expected type is [Double]; actual type is [java.math.BigDecimal])) > > What do i have to do to get this to work?? -- Antwebsystems.com: Quality OFBiz services for competitive prices |
Free forum by Nabble | Edit this page |