java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer

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 Stack Overflow by Java_Alert
, 2 years ago
java.lang.String cannot be cast to java.lang.Integer
via grokbase.com by Unknown author, 2 years ago
via Stack Overflow by p. bosch
, 2 years ago
java.lang.String cannot be cast to java.lang.Integer
via Stack Overflow by Scott Rogener
, 2 years ago
TreeNode cannot be cast to java.lang.Integer
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer
at java.lang.Integer.compareTo(Unknown Source)
at java.util.TreeMap.put(Unknown Source)
at org.jfree.chart.PaintMap.put(PaintMap.java:125)
at org.jfree.chart.plot.PiePlot.setSectionPaint(PiePlot.java:849)
at com.atlassian.confluence.extra.chart.ChartMacro.handleColorCustomization(ChartMacro.java:887)
at com.atlassian.confluence.extra.chart.ChartMacro.getChart(ChartMacro.java:686)
at com.atlassian.confluence.extra.chart.ChartMacro.getChartImage(ChartMacro.java:418)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 2 months ago
2 more bugmates

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