java.lang.IllegalArgumentException: Cannot format given Object as a Number

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Kuali JIRA by Kris Keithly, 1 year ago
Cannot format given Object as a Number
via Kuali JIRA by Kris Keithly, 1 year ago
Cannot format given Object as a Number
via Kuali JIRA by Kris Keithly, 1 year ago
Cannot format given Object as a Number
via eclipse.org by Unknown author, 1 year ago
via Stack Overflow by nqsherman
, 11 months ago
Cannot format given Object as a Number
via Oracle Community by 843806, 4 months ago
Cannot format given Object as a Number
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:172)
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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 month ago
3 times, 8 months ago
5 times, 10 months ago
Once, 1 year ago
17 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.