java.lang.ClassCastException

Coderanch | Alex Hays | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    !Help! Error: Exception in thread "main" java.lang.ClassCastException

    Coderanch | 1 decade ago | Alex Hays
    java.lang.ClassCastException
  2. 0

    !Help! Error: Exception in thread "main" java.lang.ClassCastException

    Coderanch | 1 decade ago | Alex Hays
    java.lang.ClassCastException: java.lang.String

    Root Cause Analysis

    1. java.lang.ClassCastException

      No message provided

      at Traveler.compareTo()
    2. Unknown
      TravelDriver.main
      1. Traveler.compareTo(Traveler.java:41)
      2. Reservation.compareTo(Reservation.java:69)
      3. SortUtility.getIndexMinimumElement(SortUtility.java:30)
      4. SortUtility.sort(SortUtility.java:13)
      5. TravelManager.getReservations(TravelManager.java:90)
      6. TravelManager.getTravelerReservations(TravelManager.java:119)
      7. TravelDriver.printTravelerReservations(TravelDriver.java:69)
      8. TravelDriver.printTravelers(TravelDriver.java:99)
      9. TravelDriver.<init>(TravelDriver.java:16)
      10. TravelDriver.main(TravelDriver.java:104)
      10 frames