java.lang.IllegalArgumentException

Cannot format given Object as a Number

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web138

  • via Unknown by Kris Keithly,
  • via Unknown by Kris Keithly,
  • via Unknown by Kris Keithly,
  • Stack trace

    • java.lang.IllegalArgumentException: Cannot format given Object as a Number at java.text.DecimalFormat.format(DecimalFormat.java:486) at java.text.Format.format(Format.java:140) at org.kuali.kfs.module.cam.document.dataaccess.impl.DepreciableAssetsDaoOjb.generateStatistics(DepreciableAssetsDaoOjb.java:161) at org.kuali.kfs.module.cam.batch.service.impl.AssetDepreciationServiceImpl.runDepreciation(AssetDepreciationServiceImpl.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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) at $Proxy496.runDepreciation(Unknown Source) at org.kuali.kfs.module.cam.batch.AssetDepreciationStep.execute(AssetDepreciationStep.java:35) at org.kuali.kfs.sys.batch.Job.runStep(Job.java:175) at org.kuali.kfs.sys.batch.Job.execute(Job.java:121) at org.quartz.core.JobRunShell.run(JobRunShell.java:216) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    marcbouvierdavmarcbouvierdav
    3 times, last one
    johnxflyjohnxfly
    5 times, last one
    ChristopherChristopher
    Once,
    Unknown visitor
    Unknown visitorOnce,
    16 more bugmates