Comparison method violates its general contract!

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web203

Stack trace

  • java.lang.IllegalArgumentException: Comparison method violates its general contract! at java.util.TimSort.mergeHi( at java.util.TimSort.mergeAt( at java.util.TimSort.mergeCollapse( at java.util.TimSort.sort( at java.util.TimSort.sort( at java.util.Arrays.sort( at org.eclipse.jface.viewers.ViewerComparator.sort( at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,
3 times, last one
6 times, last one
Unknown visitor
Unknown visitorOnce,
14 more bugmates