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

Kuali JIRA | John Hunter | 4 years ago
  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 | 4 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 | 4 years ago | John Hunter
    java.lang.RuntimeException: Can't round properly due to number of accounts
  3. 0

    OIA Account Import Error

    Oracle Community | 4 years ago | 967853
    java.lang.RuntimeException: Unable to import accounts
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    TestNG non static data provider method not working

    Stack Overflow | 8 months ago | Sourav Chandra
    java.lang.RuntimeException: Can't invoke method public java.lang.Object[][] dataprovider. TestDataProvider.testData() on this instance of class test.TestClass due to class mismatch
  6. 0

    PowerMock and Hibernate

    Google Groups | 7 years ago | Kartik Kumar
    java.lang.RuntimeException: Can't invoke method public void com.jbe.powermock.MyDaoTest.testGetById_powermock(com.jbe.powermock.ActionItemTracking) throws java.lang.Exception on this instance of class com.jbe.powermock.MyDaoTest_$$_javassist_0 due to class mismatch

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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