java.lang.ClassCastException: java.lang.String

Coderanch | Helmut Lerch | 2 decades ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Need to write ArrayList class & Iterator interface in jdk1.1.8

    Coderanch | 2 decades ago | Helmut Lerch
    java.lang.ClassCastException: java.lang.String
  2. 0

    TreeSet problem

    Google Groups | 2 decades ago | Steve Roy
    java.lang.ClassCastException: java.lang.String
  3. 0

    Need to write ArrayList class & Iterator interface in jdk1.1.8

    Coderanch | 2 decades ago | Uma Viswanathan
    java.lang.ClassCastException: java.lang.String
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.String

      at com.sun.java.util.collections.TreeMap.compare()
    2. com.sun.java
      TreeMap.compare
      1. com.sun.java.util.collections.TreeMap.compare(TreeMap.java:994)
      1 frame