java.lang.ClassCastException: java.lang.String

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • unreachable statements.
    via by Mario Martinez,
    • java.lang.ClassCastException: java.lang.String at TournamentArchive$CompareTeamsByName.compare(TournamentArchive.java:160) at java.util.Arrays.mergeSort(Arrays.java:1241) at java.util.Arrays.mergeSort(Arrays.java:1248) at java.util.Arrays.mergeSort(Arrays.java:1248) at java.util.Arrays.sort(Arrays.java:1188) at java.util.Collections.sort(Collections.java:153) at TournamentArchive.SortTeamList(TournamentArchive.java:205) at TournamentArchive.main(TournamentArchive.java:324)
    No Bugmate found.