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

Solutions on the web

via GitHub by rkapsi
, 1 year ago
Comparison method violates its general contract!
via Stack Overflow by user3749123
, 1 year ago
Comparison method violates its general contract!
via Stack Overflow by user1818410
, 2 years ago
Comparison method violates its general contract!
via Stack Overflow by user3422177
, 4 months ago
Comparison method violates its general contract!
via Stack Overflow by Show Stopper
, 11 months ago
Comparison method violates its general contract!
via GitHub by dosumis
, 1 year ago
Comparison method violates its general contract!
java.lang.IllegalArgumentException: Comparison method violates its general contract!	at java.util.ComparableTimSort.mergeLo(ComparableTimSort.java:744)	at java.util.ComparableTimSort.mergeAt(ComparableTimSort.java:481)	at java.util.ComparableTimSort.mergeCollapse(ComparableTimSort.java:406)	at java.util.ComparableTimSort.sort(ComparableTimSort.java:213)	at java.util.Arrays.sort(Arrays.java:1312)	at java.util.Arrays.sort(Arrays.java:1506)	at java.util.ArrayList.sort(ArrayList.java:1454)	at java.util.Collections.sort(Collections.java:141)	at Main.main(Main.java:23)