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

Coderanch | Nathan Doe | 7 years ago
  1. 0

    Implementing Comparable Interface with TreeSets

    Coderanch | 7 years ago | Nathan Doe
    java.lang.ClassCastException: NameRank cannot be cast to java.lang.String
  2. 0

    rhino class aliasing

    GitHub | 3 years ago | perimosocordiae
    java.lang.ExceptionInInitializerError
  3. 0

    Bug ID: JDK-6499662 "java.lang.ClassCastException: cannot be cast to java.lang.String" happens from time to time

    sun.com | 4 months ago
    java.lang.ClassCastException: cannot be cast to java.lang.String
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Bug ID: JDK-6499662 "java.lang.ClassCastException: cannot be cast to java.lang.String" happens from time to time

    sun.com | 4 months ago
    java.lang.ClassCastException: cannot be cast to java.lang.String
  6. 0

    Bug ID: JDK-6499662 "java.lang.ClassCastException: cannot be cast to java.lang.String" happens from time to time

    sun.com | 4 months ago
    java.lang.ClassCastException: cannot be cast to java.lang.String

    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

      NameRank cannot be cast to java.lang.String

      at NameRank.compareTo()
    2. Unknown
      NameRank.compareTo
      1. NameRank.compareTo(NameRank.java:1)
      1 frame
    3. Java RT
      TreeSet.add
      1. java.util.TreeMap.put(TreeMap.java:545)
      2. java.util.TreeSet.add(TreeSet.java:238)
      2 frames
    4. Unknown
      CollectionsTest.main
      1. CollectionsTest.main(CollectionsTest.java:213)
      1 frame