java.lang.IllegalArgumentException: Comparison method violates its general contract!

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 mulesoft.com by Unknown author, 1 year ago
via Stack Overflow by Sanjay Chandlekar
, 7 months ago
Comparison method violates its general contract!
via feed-the-beast.com by Unknown author, 1 year ago
Comparison method violates its general contract!
via feed-the-beast.com by Unknown author, 1 year ago
Comparison method violates its general contract!
via GitHub by defron
, 2 months ago
Comparison method violates its general contract!
via netbeans.org by Unknown author, 1 year ago
java.lang.IllegalArgumentException: Comparison method violates its general contract!
at java.util.ComparableTimSort.mergeHi(Unknown Source)
at java.util.ComparableTimSort.mergeAt(Unknown Source)
at java.util.ComparableTimSort.mergeCollapse(Unknown Source)
at java.util.ComparableTimSort.sort(Unknown Source)
at java.util.Arrays.sort(Unknown Source)
at java.util.Arrays.sort(Unknown Source)
at java.util.ArrayList.sort(Unknown Source)
at java.util.Collections.sort(Unknown Source)
at org.mule.registry.TypeBasedTransformerResolver.calculateTransformerWeightings(TypeBasedTransformerResolver.java:197)
at org.mule.registry.TypeBasedTransformerResolver.getNearestTransformerMatch(TypeBasedTransformerResolver.java:160)
at org.mule.registry.TypeBasedTransformerResolver.resolve(TypeBasedTransformerResolver.java:129)
at org.mule.registry.MuleRegistryHelper.resolveTransformer(MuleRegistryHelper.java:263)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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