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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via openxava by diegoazd
, 1 year ago
Cannot format given Object as a Number
via openxava by mahc83
, 1 year ago
Cannot format given Object as a Number
via Oracle Community by 843806, 4 months ago
Cannot format given Object as a Number
via Stack Overflow by Nasser
, 9 months ago
java.lang.IllegalArgumentException: Cannot format given Object as a Number
at java.text.DecimalFormat.format(Unknown Source)
at java.text.Format.format(Unknown Source)
at org.openxava.formatters.MoneyFormatter.format(MoneyFormatter.java:20)
at org.openxava.web.WebEditors.formatToStringOrArray(WebEditors.java:115)
at org.openxava.web.WebEditors.format(WebEditors.java:90)

Users with the same issue

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

Write tip

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