java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Ljava.lang.Comparable;

Coderanch | Krep Lock | 7 years ago
  1. 0

    Generics and Comparable

    Coderanch | 7 years ago | Krep Lock
    java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Ljava.lang.Comparable;
  2. 0

    Generics and Comparable

    Coderanch | 7 years ago | Istvan Kovacs
    java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Ljava.lang.Comparable;
  3. 0

    ClassCastException when casting Object[] array to generic type array in Java | Ask Jon Skeet

    askjonskeet.com | 1 year ago
    java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Ljava.lang.Comparable;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to store a generic array of objects the type of which implements some inteface?

    Stack Overflow | 1 year ago | paulpaul1076
    java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Ljava.lang.Comparable;
  6. 0

    Object array not getting cast to a generic type

    Stack Overflow | 4 years ago | sasidhar
    java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Ljava.lang.Comparable;

    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

      [Ljava.lang.Object; cannot be cast to [Ljava.lang.Comparable;

      at MyListADT.<init>()
    2. Unknown
      TestProg.main
      1. MyListADT.<init>(MyListADT.java:39)
      2. MyArrayList.<init>(MyArrayList.java:12)
      3. TestProg.main(TestProg.java:11)
      3 frames