java.lang.ClassCastException: java.net.URL

Oracle Community | 807555 | 1 decade ago
  1. 0

    Bug with the TreeSet Collection??, could someone explain?

    Oracle Community | 1 decade ago | 807555
    java.lang.ClassCastException: java.net.URL
  2. 0

    Why does Set.contains() not seem to be using o.equals()?

    Stack Overflow | 4 years ago | fophillips
    java.lang.ClassCastException: org.gridqtl.Marker cannot be cast to java.lang.Comparable
  3. 0

    ClassCastException when calling TreeSet.contains( Long.valueOf( someLongValue ) )

    Stack Overflow | 4 years ago | Lucas
    java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Long
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Classcastexception in treeset - Java Programming - KnowCoding.com

    knowcoding.com | 1 year ago
    java.lang.ClassCastException: java.util.HashSet cannot be cast to java.lang.Comparable
  6. 0

    ClassCastException when calling TreeSet<Long>.contains( Long.valueOf( someLongValue ) ) - scriptscoop.com

    scriptscoop.com | 1 year ago
    java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Long

    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.net.URL

      at java.util.TreeMap.compare()
    2. Java RT
      TreeSet.contains
      1. java.util.TreeMap.compare(Unknown Source)
      2. java.util.TreeMap.getEntry(Unknown Source)
      3. java.util.TreeMap.containsKey(Unknown Source)
      4. java.util.TreeSet.contains(Unknown Source)
      4 frames
    3. Unknown
      TESTTREESET.testIt
      1. TESTTREESET.testIt(TESTTREESET.java:27)
      1 frame