Excpetion org.killbill.automaton.OperationException: java.lang.ArithmeticException: Scale of amount 10.000000000 is greater than the scale of the currency EUR being thrown when running 3dSecure #44
5-12-21 22:47:51,370 [catalina-exec-1] WARN o.k.b.p.c.sm.OperationCallbackBase - Payment plugin call threw an exception for account 40164394-c2eb-4459-894d-e61ef1640e85
org.killbill.automaton.OperationException: java.lang.ArithmeticException: Scale of amount 10.000000000 is greater than the scale of the currency EUR
at org.killbill.billing.payment.core.sm.payments.PaymentOperation.doSimpleOperationCallback(PaymentOperation.java:171)
at org.killbill.billing.payment.core.sm.payments.PaymentOperation.access$000(PaymentOperation.java:55)
at org.killbill.billing.payment.core.sm.payments.PaymentOperation$2.doOperation(PaymentOperation.java:159)
at org.killbill.billing.payment.core.sm.payments.PaymentOperation$2.doOperation(PaymentOperation.java:156)
at org.killbill.billing.payment.core.ProcessorBase$WithAccountLock.processAccountWithLock(ProcessorBase.java:199)
at org.killbill.billing.payment.core.ProcessorBase$CallableWithAccountLock.call(ProcessorBase.java:182)
at org.killbill.billing.payment.core.ProcessorBase$CallableWithAccountLock.call(ProcessorBase.java:163)
at org.killbill.billing.payment.dispatcher.CallableWithRequestData.call(CallableWithRequestData.java:48)
at org.killbill.commons.concurrent.WrappedCallable.call(WrappedCallable.java:42)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.killbill.commons.concurrent.WrappedRunnable.run(WrappedRunnable.java:40)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ArithmeticException: Scale of amount 10.000000000 is greater than the scale of the currency EUR
at org.joda.money.Money.of(Money.java:75)
at org.killbill.billing.plugin.adyen.client.payment.service.BaseAdyenPaymentServiceProviderPort.toMinorUnits(BaseAdyenPaymentServiceProviderPort.java:53)
at org.killbill.billing.plugin.adyen.client.payment.service.BaseAdyenPaymentServiceProviderPort.toMinorUnits(BaseAdyenPaymentServiceProviderPort.java:47)
at org.killbill.billing.plugin.adyen.client.payment.service.BaseAdyenPaymentServiceProviderPort.toMinorUnits(BaseAdyenPaymentServiceProviderPort.java:40)
at org.killbill.billing.plugin.adyen.client.payment.service.BaseAdyenPaymentServiceProviderPort.toMinorUnits(BaseAdyenPaymentServiceProviderPort.java:33)
at org.killbill.billing.plugin.adyen.client.payment.service.AdyenPaymentServiceProviderPort.authorize3DSecure(AdyenPaymentServiceProviderPort.java:156)
at org.killbill.billing.plugin.adyen.api.AdyenPaymentPluginApi$1.execute(AdyenPaymentPluginApi.java:342)
at org.killbill.billing.plugin.adyen.api.AdyenPaymentPluginApi$1.execute(AdyenPaymentPluginApi.java:336)
at org.killbill.billing.plugin.adyen.api.AdyenPaymentPluginApi.executeInitialTransaction(AdyenPaymentPluginApi.java:555)
at org.killbill.billing.plugin.adyen.api.AdyenPaymentPluginApi.authorizePayment(AdyenPaymentPluginApi.java:335)
at sun.reflect.GeneratedMethodAccessor690.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.killbill.billing.osgi.ContextClassLoaderHelper$ClassLoaderInvocationHandler$1.execute(ContextClassLoaderHelper.java:142)
at org.killbill.commons.profiling.Profiling.executeWithProfiling(Profiling.java:37)
at org.killbill.billing.osgi.ContextClassLoaderHelper$ClassLoaderInvocationHandler.invoke(ContextClassLoaderHelper.java:139)
at com.sun.proxy.$Proxy149.authorizePayment(Unknown Source)
at org.killbill.billing.payment.core.sm.payments.AuthorizeOperation.doCallSpecificOperationCallback(AuthorizeOperation.java:47)
at org.killbill.billing.payment.core.sm.payments.PaymentOperation.doOperation(PaymentOperation.java:182)
at org.killbill.billing.payment.core.sm.payments.PaymentOperation.doSimpleOperationCallback(PaymentOperation.java:167)
... 13 common frames omitted
2015-12-21 22:47:51,402 [catalina-exec-1] WARN o.k.b.j.mappers.ExceptionMapperBase - Internal error
org.killbill.billing.payment.api.PaymentApiException: Internal payment error : org.killbill.automaton.OperationException: org.killbill.automaton.OperationException: java.lang.ArithmeticException: Scale of amount 10.000000000 is greater than the scale of the currency EUR
at org.killbill.billing.payment.core.sm.PaymentAutomatonRunner.runStateMachineOperation(PaymentAutomatonRunner.java:228)
at org.killbill.billing.payment.core.sm.PaymentAutomatonRunner.run(PaymentAutomatonRunner.java:193)
at org.killbill.billing.payment.core.PaymentProcessor.performOperation(PaymentProcessor.java:321)
at org.killbill.billing.payment.core.PaymentProcessor.createAuthorization(PaymentProcessor.java:109)
at org.killbill.billing.payment.api.DefaultPaymentApi.createAuthorization(DefaultPaymentApi.java:84)
at org.killbill.billing.util.glue.KillbillApiAopModule$ProfilingMethodInterceptor$1.execute(KillbillApiAopModule.java:52)
at org.killbill.commons.profiling.Profiling.executeWithProfiling(Profiling.java:33)
at org.killbill.billing.util.glue.KillbillApiAopModule$ProfilingMethodInterceptor.invoke(KillbillApiAopModule.java:49)
at org.killbill.billing.util.security.AopAllianceMethodInvocationAdapter.proceed(AopAllianceMethodInvocationAdapter.java:45)
at org.apache.shiro.authz.aop.AuthorizingAnnotationMethodInterceptor.invoke(AuthorizingAnnotationMethodInterceptor.java:68)
at org.killbill.billing.util.security.AopAllianceMethodInterceptorAdapter.invoke(AopAllianceMethodInterceptorAdapter.java:32)
at org.killbill.billing.payment.api.DefaultPaymentApi.createAuthorizationWithPaymentControl(DefaultPaymentApi.java:94)
at org.killbill.billing.util.glue.KillbillApiAopModule$ProfilingMethodInterceptor$1.execute(KillbillApiAopModule.java:52)
at org.killbill.commons.profiling.Profiling.executeWithProfiling(Profiling.java:33)
at org.killbill.billing.util.glue.KillbillApiAopModule$ProfilingMethodInterceptor.invoke(KillbillApiAopModule.java:49)
at org.killbill.billing.util.security.AopAllianceMethodInvocationAdapter.proceed(AopAllianceMethodInvocationAdapter.java:45)
at org.apache.shiro.authz.aop.AuthorizingAnnotationMethodInterceptor.invoke(AuthorizingAnnotationMethodInterceptor.java:68)
at org.killbill.billing.util.security.AopAllianceMethodInterceptorAdapter.invoke(AopAllianceMethodInterceptorAdapter.java:32)
at org.killbill.billing.jaxrs.resources.PaymentResource.completeTransactionInternal(PaymentResource.java:352)
at org.killbill.billing.jaxrs.resources.PaymentResource.completeTransaction(PaymentResource.java:249)
at org.killbill.commons.skeleton.metrics.TimedResourceInterceptor.invoke(TimedResourceInterceptor.java:67)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)
at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)
at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:540)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:715)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)
at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)
at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)
at org.killbill.billing.server.security.TenantFilter.doFilter(TenantFilter.java:104)
at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
at org.killbill.billing.server.filters.ResponseCorsFilter.doFilter(ResponseCorsFilter.java:66)
at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.shiro.guice.web.SimpleFilterChain.doFilter(SimpleFilterChain.java:44)
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at org.apache.shiro.guice.web.SimpleFilterChain.doFilter(SimpleFilterChain.java:41)
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.codahale.metrics.servlet.AbstractInstrumentedFilter.doFilter(AbstractInstrumentedFilter.java:104)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:136)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:74)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1015)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:652)
at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1575)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1533)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.killbill.automaton.OperationException: org.killbill.automaton.OperationException: java.lang.ArithmeticException: Scale of amount 10.000000000 is greater than the scale of the currency EUR
at org.killbill.billing.payment.core.sm.payments.PaymentOperation.convertToUnknownTransactionStatusAndErroredPaymentState(PaymentOperation.java:127)
at org.killbill.billing.payment.core.sm.payments.PaymentOperation.unwrapExceptionFromDispatchedTask(PaymentOperation.java:104)
at org.killbill.billing.payment.core.sm.OperationCallbackBase.dispatchWithAccountLockAndTimeout(OperationCallbackBase.java:75)
at org.killbill.billing.payment.core.sm.payments.PaymentOperation.doOperationCallbackWithDispatchAndAccountLock(PaymentOperation.java:156)
at org.killbill.billing.payment.core.sm.payments.PaymentOperation.doOperationCallback(PaymentOperation.java:76)
at org.killbill.automaton.DefaultOperation.run(DefaultOperation.java:51)
at org.killbill.automaton.DefaultState.runOperation(DefaultState.java:80)
at org.killbill.billing.payment.core.sm.PaymentAutomatonRunner.runStateMachineOperation(PaymentAutomatonRunner.java:217)
... 87 common frames omitted
Caused by: org.killbill.automaton.OperationException: java.lang.ArithmeticException: Scale of amount 10.000000000 is greater than the scale of the currency EUR
at org.killbill.billing.payment.core.sm.payments.PaymentOperation.doSimpleOperationCallback(PaymentOperation.java:171)
at org.killbill.billing.payment.core.sm.payments.PaymentOperation.access$000(PaymentOperation.java:55)
at org.killbill.billing.payment.core.sm.payments.PaymentOperation$2.doOperation(PaymentOperation.java:159)
at org.killbill.billing.payment.core.sm.payments.PaymentOperation$2.doOperation(PaymentOperation.java:156)
at org.killbill.billing.payment.core.ProcessorBase$WithAccountLock.processAccountWithLock(ProcessorBase.java:199)
at org.killbill.billing.payment.core.ProcessorBase$CallableWithAccountLock.call(ProcessorBase.java:182)
at org.killbill.billing.payment.core.ProcessorBase$CallableWithAccountLock.call(ProcessorBase.java:163)
at org.killbill.billing.payment.dispatcher.CallableWithRequestData.call(CallableWithRequestData.java:48)
at org.killbill.commons.concurrent.WrappedCallable.call(WrappedCallable.java:42)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.killbill.commons.concurrent.WrappedRunnable.run(WrappedRunnable.java:40)
... 3 common frames omitted
Caused by: java.lang.ArithmeticException: Scale of amount 10.000000000 is greater than the scale of the currency EUR
at org.joda.money.Money.of(Money.java:75)
at org.killbill.billing.plugin.adyen.client.payment.service.BaseAdyenPaymentServiceProviderPort.toMinorUnits(BaseAdyenPaymentServiceProviderPort.java:53)
at org.killbill.billing.plugin.adyen.client.payment.service.BaseAdyenPaymentServiceProviderPort.toMinorUnits(BaseAdyenPaymentServiceProviderPort.java:47)
at org.killbill.billing.plugin.adyen.client.payment.service.BaseAdyenPaymentServiceProviderPort.toMinorUnits(BaseAdyenPaymentServiceProviderPort.java:40)
at org.killbill.billing.plugin.adyen.client.payment.service.BaseAdyenPaymentServiceProviderPort.toMinorUnits(BaseAdyenPaymentServiceProviderPort.java:33)
at org.killbill.billing.plugin.adyen.client.payment.service.AdyenPaymentServiceProviderPort.authorize3DSecure(AdyenPaymentServiceProviderPort.java:156)
at org.killbill.billing.plugin.adyen.api.AdyenPaymentPluginApi$1.execute(AdyenPaymentPluginApi.java:342)
at org.killbill.billing.plugin.adyen.api.AdyenPaymentPluginApi$1.execute(AdyenPaymentPluginApi.java:336)
at org.killbill.billing.plugin.adyen.api.AdyenPaymentPluginApi.executeInitialTransaction(AdyenPaymentPluginApi.java:555)
at org.killbill.billing.plugin.adyen.api.AdyenPaymentPluginApi.authorizePayment(AdyenPaymentPluginApi.java:335)
at sun.reflect.GeneratedMethodAccessor690.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.killbill.billing.osgi.ContextClassLoaderHelper$ClassLoaderInvocationHandler$1.execute(ContextClassLoaderHelper.java:142)
at org.killbill.commons.profiling.Profiling.executeWithProfiling(Profiling.java:37)
at org.killbill.billing.osgi.ContextClassLoaderHelper$ClassLoaderInvocationHandler.invoke(ContextClassLoaderHelper.java:139)
at com.sun.proxy.$Proxy149.authorizePayment(Unknown Source)
at org.killbill.billing.payment.core.sm.payments.AuthorizeOperation.doCallSpecificOperationCallback(AuthorizeOperation.java:47)
at org.killbill.billing.payment.core.sm.payments.PaymentOperation.doOperation(PaymentOperation.java:182)
at org.killbill.billing.payment.core.sm.payments.PaymentOperation.doSimpleOperationCallback(PaymentOperation.java:167)
... 13 common frames omitted
2015-12-21 22:47:51,405 [catalina-exec-1] WARN o.k.b.j.mappers.ExceptionMapperBase - Internal error
org.killbill.billing.payment.api.PaymentApiException: Internal payment error : org.killbill.automaton.OperationException: org.killbill.automaton.OperationException: java.lang.ArithmeticException: Scale of amount 10.000000000 is greater than the scale of the currency EUR
at org.killbill.billing.payment.core.sm.PaymentAutomatonRunner.runStateMachineOperation(PaymentAutomatonRunner.java:228)
at org.killbill.billing.payment.core.sm.PaymentAutomatonRunner.run(PaymentAutomatonRunner.java:193)
at org.killbill.billing.payment.core.PaymentProcessor.performOperation(PaymentProcessor.java:321)
at org.killbill.billing.payment.core.PaymentProcessor.createAuthorization(PaymentProcessor.java:109)
at org.killbill.billing.payment.api.DefaultPaymentApi.createAuthorization(DefaultPaymentApi.java:84)
at org.killbill.billing.util.glue.KillbillApiAopModule$ProfilingMethodInterceptor$1.execute(KillbillApiAopModule.java:52)
at org.killbill.commons.profiling.Profiling.executeWithProfiling(Profiling.java:33)
at org.killbill.billing.util.glue.KillbillApiAopModule$ProfilingMethodInterceptor.invoke(KillbillApiAopModule.java:49)
at org.killbill.billing.util.security.AopAllianceMethodInvocationAdapter.proceed(AopAllianceMethodInvocationAdapter.java:45)
at org.apache.shiro.authz.aop.AuthorizingAnnotationMethodInterceptor.invoke(AuthorizingAnnotationMethodInterceptor.java:68)
at org.killbill.billing.util.security.AopAllianceMethodInterceptorAdapter.invoke(AopAllianceMethodInterceptorAdapter.java:32)
at org.killbill.billing.payment.api.DefaultPaymentApi.createAuthorizationWithPaymentControl(DefaultPaymentApi.java:94)
at org.killbill.billing.util.glue.KillbillApiAopModule$ProfilingMethodInterceptor$1.execute(KillbillApiAopModule.java:52)
at org.killbill.commons.profiling.Profiling.executeWithProfiling(Profiling.java:33)
at org.killbill.billing.util.glue.KillbillApiAopModule$ProfilingMethodInterceptor.invoke(KillbillApiAopModule.java:49)
at org.killbill.billing.util.security.AopAllianceMethodInvocationAdapter.proceed(AopAllianceMethodInvocationAdapter.java:45)
at org.apache.shiro.authz.aop.AuthorizingAnnotationMethodInterceptor.invoke(AuthorizingAnnotationMethodInterceptor.java:68)
at org.killbill.billing.util.security.AopAllianceMethodInterceptorAdapter.invoke(AopAllianceMethodInterceptorAdapter.java:32)
at org.killbill.billing.jaxrs.resources.PaymentResource.completeTransactionInternal(PaymentResource.java:352)
at org.killbill.billing.jaxrs.resources.PaymentResource.completeTransaction(PaymentResource.java:249)
at org.killbill.commons.skeleton.metrics.TimedResourceInterceptor.invoke(TimedResourceInterceptor.java:67)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)
at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)
at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:540)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:715)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)
at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)
at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)
at org.killbill.billing.server.security.TenantFilter.doFilter(TenantFilter.java:104)
at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
at org.killbill.billing.server.filters.ResponseCorsFilter.doFilter(ResponseCorsFilter.java:66)
at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.shiro.guice.web.SimpleFilterChain.doFilter(SimpleFilterChain.java:44)
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at org.apache.shiro.guice.web.SimpleFilterChain.doFilter(SimpleFilterChain.java:41)
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.codahale.metrics.servlet.AbstractInstrumentedFilter.doFilter(AbstractInstrumentedFilter.java:104)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:136)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:74)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1015)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:652)
at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1575)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1533)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.killbill.automaton.OperationException: org.killbill.automaton.OperationException: java.lang.ArithmeticException: Scale of amount 10.000000000 is greater than the scale of the currency EUR
at org.killbill.billing.payment.core.sm.payments.PaymentOperation.convertToUnknownTransactionStatusAndErroredPaymentState(PaymentOperation.java:127)
at org.killbill.billing.payment.core.sm.payments.PaymentOperation.unwrapExceptionFromDispatchedTask(PaymentOperation.java:104)
at org.killbill.billing.payment.core.sm.OperationCallbackBase.dispatchWithAccountLockAndTimeout(OperationCallbackBase.java:75)
at org.killbill.billing.payment.core.sm.payments.PaymentOperation.doOperationCallbackWithDispatchAndAccountLock(PaymentOperation.java:156)
at org.killbill.billing.payment.core.sm.payments.PaymentOperation.doOperationCallback(PaymentOperation.java:76)
at org.killbill.automaton.DefaultOperation.run(DefaultOperation.java:51)
at org.killbill.automaton.DefaultState.runOperation(DefaultState.java:80)
at org.killbill.billing.payment.core.sm.PaymentAutomatonRunner.runStateMachineOperation(PaymentAutomatonRunner.java:217)
... 87 common frames omitted
Caused by: org.killbill.automaton.OperationException: java.lang.ArithmeticException: Scale of amount 10.000000000 is greater than the scale of the currency EUR
at org.killbill.billing.payment.core.sm.payments.PaymentOperation.doSimpleOperationCallback(PaymentOperation.java:171)
at org.killbill.billing.payment.core.sm.payments.PaymentOperation.access$000(PaymentOperation.java:55)
at org.killbill.billing.payment.core.sm.payments.PaymentOperation$2.doOperation(PaymentOperation.java:159)
at org.killbill.billing.payment.core.sm.payments.PaymentOperation$2.doOperation(PaymentOperation.java:156)
at org.killbill.billing.payment.core.ProcessorBase$WithAccountLock.processAccountWithLock(ProcessorBase.java:199)
at org.killbill.billing.payment.core.ProcessorBase$CallableWithAccountLock.call(ProcessorBase.java:182)
at org.killbill.billing.payment.core.ProcessorBase$CallableWithAccountLock.call(ProcessorBase.java:163)
at org.killbill.billing.payment.dispatcher.CallableWithRequestData.call(CallableWithRequestData.java:48)
at org.killbill.commons.concurrent.WrappedCallable.call(WrappedCallable.java:42)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.killbill.commons.concurrent.WrappedRunnable.run(WrappedRunnable.java:40)
... 3 common frames omitted
Caused by: java.lang.ArithmeticException: Scale of amount 10.000000000 is greater than the scale of the currency EUR
at org.joda.money.Money.of(Money.java:75)
at org.killbill.billing.plugin.adyen.client.payment.service.BaseAdyenPaymentServiceProviderPort.toMinorUnits(BaseAdyenPaymentServiceProviderPort.java:53)
at org.killbill.billing.plugin.adyen.client.payment.service.BaseAdyenPaymentServiceProviderPort.toMinorUnits(BaseAdyenPaymentServiceProviderPort.java:47)
at org.killbill.billing.plugin.adyen.client.payment.service.BaseAdyenPaymentServiceProviderPort.toMinorUnits(BaseAdyenPaymentServiceProviderPort.java:40)
at org.killbill.billing.plugin.adyen.client.payment.service.BaseAdyenPaymentServiceProviderPort.toMinorUnits(BaseAdyenPaymentServiceProviderPort.java:33)
at org.killbill.billing.plugin.adyen.client.payment.service.AdyenPaymentServiceProviderPort.authorize3DSecure(AdyenPaymentServiceProviderPort.java:156)
at org.killbill.billing.plugin.adyen.api.AdyenPaymentPluginApi$1.execute(AdyenPaymentPluginApi.java:342)
at org.killbill.billing.plugin.adyen.api.AdyenPaymentPluginApi$1.execute(AdyenPaymentPluginApi.java:336)
at org.killbill.billing.plugin.adyen.api.AdyenPaymentPluginApi.executeInitialTransaction(AdyenPaymentPluginApi.java:555)
at org.killbill.billing.plugin.adyen.api.AdyenPaymentPluginApi.authorizePayment(AdyenPaymentPluginApi.java:335)
at sun.reflect.GeneratedMethodAccessor690.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.killbill.billing.osgi.ContextClassLoaderHelper$ClassLoaderInvocationHandler$1.execute(ContextClassLoaderHelper.java:142)
at org.killbill.commons.profiling.Profiling.executeWithProfiling(Profiling.java:37)
at org.killbill.billing.osgi.ContextClassLoaderHelper$ClassLoaderInvocationHandler.invoke(ContextClassLoaderHelper.java:139)
at com.sun.proxy.$Proxy149.authorizePayment(Unknown Source)
at org.killbill.billing.payment.core.sm.payments.AuthorizeOperation.doCallSpecificOperationCallback(AuthorizeOperation.java:47)
at org.killbill.billing.payment.core.sm.payments.PaymentOperation.doOperation(PaymentOperation.java:182)
at org.killbill.billing.payment.core.sm.payments.PaymentOperation.doSimpleOperationCallback(PaymentOperation.java:167)
... 13 common frames omitted
2015-12-21 22:47:51,406 [catalina-exec-1] INFO c.s.j.a.c.filter.LoggingFilter - 9989 * Server out-bound response
9989 < 500
9989 < Content-Type: application/json
9989 <
Exception: