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

Atlassian JIRA | Miranda Rawson | 2 years ago
  1. 0

    ClassCastException in GraphiteReporter

    GitHub | 5 years ago | dinomite
    java.lang.ClassCastException: com.yammer.metrics.core.MetricName cannot be cast to java.lang.Comparable
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Serialize set with comparator using Gson

    Stack Overflow | 2 years ago | user58273
    java.lang.ClassCastException: [B cannot be cast to java.lang.Comparable
  4. 0

    Java "cannot cast to Comparable" when using TreeMap

    Stack Overflow | 4 years ago | CodeKingPlusPlus
    java.lang.ClassCastException: graphvisualization.MyVertex cannot be cast to java.lang.Comparable

  1. davidvanlaatum 1 times, last 6 months ago
3 unregistered visitors
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.ClassCastException

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

    at java.lang.Integer.compareTo()
  2. Java RT
    TreeMap.put
    1. java.lang.Integer.compareTo(Unknown Source)
    2. java.util.TreeMap.put(Unknown Source)
    2 frames
  3. jfreechart
    PiePlot.setSectionPaint
    1. org.jfree.chart.PaintMap.put(PaintMap.java:125)
    2. org.jfree.chart.plot.PiePlot.setSectionPaint(PiePlot.java:849)
    3. org.jfree.chart.plot.PiePlot.setSectionPaint(PiePlot.java:878)
    3 frames
  4. com.atlassian.confluence
    ChartMacro.getChartImage
    1. com.atlassian.confluence.extra.chart.ChartMacro.handleColorCustomization(ChartMacro.java:887)
    2. com.atlassian.confluence.extra.chart.ChartMacro.getChart(ChartMacro.java:686)
    3. com.atlassian.confluence.extra.chart.ChartMacro.getChartImage(ChartMacro.java:418)
    3 frames