|
Hi ,
I am trying to make a refund of the order made by credit card in the pos, i have modified the code so that the user can select the particular product and go for refund, the refund works fine if the order is made from cash,but when try to make the refund of order made by cc,it throws an exception like this,
i haven't changed any code in createPayment service, i have made only modification in the orderreturnservices.xml,it is not at all calling the service createPayment.
2009-06-26 23:32:43,062 (AWT-EventQueue-0) [ UtilProperties.java:555:INFO ] [UtilProperties.getPropertyValue] could not find resource: ServiceErrorUiLabels for locale en_US: java.util.MissingResourceException: Can't find bundle for base name ServiceErrorUiLabels, locale en_US
2009-06-26 23:32:43,078 (AWT-EventQueue-0) [ ServiceDispatcher.java:388:ERROR]
---- runtime exception report --------------------------------------------------
Service [createPayment] threw an unexpected exception/error
Exception: java.lang.IllegalArgumentException
Message: Could not find resource bundle [ServiceErrorUiLabels] in the locale [en_US]
---- stack trace ---------------------------------------------------------------
java.lang.IllegalArgumentException: Could not find resource bundle [ServiceErrorUiLabels] in the locale [en_US]
org.ofbiz.base.util.UtilProperties.getInternalRbmWrapper(UtilProperties.java:530)
org.ofbiz.base.util.UtilProperties.getResourceBundleMap(UtilProperties.java:517)
org.ofbiz.base.util.UtilProperties.getMessage(UtilProperties.java:417)
org.ofbiz.service.ModelService.validate(ModelService.java:447)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:320)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.accounting.payment.PaymentGatewayServices.refundPayment(PaymentGatewayServices.java:2303)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:91)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:53)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:336)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.order.order.OrderReturnServices.processRefundReturn(OrderReturnServices.java:950)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:91)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:53)
|