java.lang.ClassCastException: java.lang.String

Coderanch | Uma Viswanathan | 2 decades ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

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

    Coderanch | 2 decades ago | Uma Viswanathan
    java.lang.ClassCastException: java.lang.String

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.String

      at com.sun.java.util.collections.TreeMap.compare()
    2. com.sun.java
      TreeMap.put
      1. com.sun.java.util.collections.TreeMap.compare(TreeMap.java:994)
      2. com.sun.java.util.collections.TreeMap.put(TreeMap.java:444)
      2 frames
    3. Unknown
      I2PServer.main
      1. ServerConfigTbl.loadTable(ServerConfigTbl.java:135)
      2. I2PServer.main(I2PServer.java:190)
      2 frames