java.lang.RuntimeException: Can't round properly due to number of accounts

Kuali JIRA | John Hunter | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    If the vendor has payment terms (Ex 1% 5 days net 10) AND the PO was created as a non-quantity order, the PREQ errors with this error when pressing the calculate field: A PREQ to the same vendor where the PO is a quantity based order can be submitted successfully. ******************Stack Trace-Only shown when not in production***************** java.lang.RuntimeException: Can't round properly due to number of accounts at org.kuali.kfs.module.purap.service.impl.PurapAccountingServiceImpl.throwRuntimeException(PurapAccountingServiceImpl.java:113) at org.kuali.kfs.module.purap.service.impl.PurapAccountingServiceImpl.generateAccountDistributionForProration(PurapAccountingServiceImpl.java:193) at org.kuali.kfs.module.purap.document.service.impl.PaymentRequestServiceImpl.distributeAccounting(PaymentRequestServiceImpl.java:1114) at org.kuali.kfs.module.purap.document.service.impl.PaymentRequestServiceImpl.calculatePaymentRequest(PaymentRequestServiceImpl.java:744) at sun.reflect.GeneratedMethodAccessor4307.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)

    Kuali JIRA | 5 years ago | John Hunter
    java.lang.RuntimeException: Can't round properly due to number of accounts
  2. 0

    If the vendor has payment terms (Ex 1% 5 days net 10) AND the PO was created as a non-quantity order, the PREQ errors with this error when pressing the calculate field: A PREQ to the same vendor where the PO is a quantity based order can be submitted successfully. ******************Stack Trace-Only shown when not in production***************** java.lang.RuntimeException: Can't round properly due to number of accounts at org.kuali.kfs.module.purap.service.impl.PurapAccountingServiceImpl.throwRuntimeException(PurapAccountingServiceImpl.java:113) at org.kuali.kfs.module.purap.service.impl.PurapAccountingServiceImpl.generateAccountDistributionForProration(PurapAccountingServiceImpl.java:193) at org.kuali.kfs.module.purap.document.service.impl.PaymentRequestServiceImpl.distributeAccounting(PaymentRequestServiceImpl.java:1114) at org.kuali.kfs.module.purap.document.service.impl.PaymentRequestServiceImpl.calculatePaymentRequest(PaymentRequestServiceImpl.java:744) at sun.reflect.GeneratedMethodAccessor4307.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)

    Kuali JIRA | 5 years ago | John Hunter
    java.lang.RuntimeException: Can't round properly due to number of accounts

    Root Cause Analysis

    1. java.lang.RuntimeException

      Can't round properly due to number of accounts

      at org.kuali.kfs.module.purap.service.impl.PurapAccountingServiceImpl.throwRuntimeException()
    2. org.kuali.kfs
      PaymentRequestServiceImpl.calculatePaymentRequest
      1. org.kuali.kfs.module.purap.service.impl.PurapAccountingServiceImpl.throwRuntimeException(PurapAccountingServiceImpl.java:113)
      2. org.kuali.kfs.module.purap.service.impl.PurapAccountingServiceImpl.generateAccountDistributionForProration(PurapAccountingServiceImpl.java:193)
      3. org.kuali.kfs.module.purap.document.service.impl.PaymentRequestServiceImpl.distributeAccounting(PaymentRequestServiceImpl.java:1114)
      4. org.kuali.kfs.module.purap.document.service.impl.PaymentRequestServiceImpl.calculatePaymentRequest(PaymentRequestServiceImpl.java:744)
      4 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor4307.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:616)
      3 frames
    4. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      3 frames
    5. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
      1 frame
    6. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      2 frames