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

Kuali JIRA | John Hunter | 5 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 | 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
  3. 0
    Switch to Android Build Tools 23.0.3
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    If the decompile process didn't work properly, try the Android APK Decompiler.
  6. 0
    SMS Emulator caused this error. abortBroadcast only works with broadcasts sent through Context.sendOrderedBroadcast.

    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