java.lang.ClassCastException: This exception has no message.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Oracle Community by 807594, 1 year ago
This exception has no message.
via Oracle Community by 807551, 1 year ago
This exception has no message.
via Oracle Community by 807545, 1 month ago
This exception has no message.
via Google Groups by Tim, 1 month ago
This exception has no message.
via Coderanch by renu richard, 1 year ago
via Coderanch by renu richard, 1 year ago
This exception has no message.
java.lang.ClassCastException:
at java.util.Arrays.mergeSort(Arrays.java:1122)
at java.util.Arrays.mergeSort(Arrays.java:1129)
at java.util.Arrays.mergeSort(Arrays.java:1129)
at java.util.Arrays.mergeSort(Arrays.java:1129)
at java.util.Arrays.sort(Arrays.java:1073)
at java.util.Collections.sort(Collections.java:109)
at solution.Deck.sortAllTheCards(Deck.java:167)
at solution.UserInterface.sortAllTheCards(UserInterface.java:105)
at solution.UserInterface.startProgram(UserInterface.java:48)
at solution.RunMe.main(RunMe.java:21)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.