Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. WhatISThis.main() has thrown a ClassCastException
    Unsorted
    0
    0
    0
  2. Collections$ReverseComparator.compare() has thrown a ClassCastException
    Java Runtime
    0
    0
    0

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.lang.ClassCastException: java.lang.StringBuilder cannot be cast to java.lang.Comparable
5 matching frames hidden
    at java.util.Collections.sort(Collections.java:175)
    at WhatISThis.main(Main.java:15)

External results for this pattern (2)

  1. Unknown authorvia ideone.com4 months ago
    java.lang.StringBuilder cannot be cast to java.lang.Comparable
    Show stack trace
  2. Unknown authorvia ideone.com4 months ago
    java.lang.StringBuilder cannot be cast to java.lang.Comparable
    Show stack trace