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

Eclipse Bugzilla | bugs | 5 years ago
  1. 0

    Bug 364735 – [Viewers] ViewerComparator violates its general contract

    eclipse.org | 1 year ago
    java.lang.IllegalArgumentException: Comparison method violates its general contract!
  2. 0

    [Viewers] ViewerComparator violates its general contract

    Eclipse Bugzilla | 5 years ago | bugs
    java.lang.IllegalArgumentException: Comparison method violates its general contract!
  3. 0

    EdgeOrdering violates Comparable contract

    GitHub | 3 years ago | rockt
    java.lang.IllegalArgumentException: Comparison method violates its general contract!
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    "Comparison Method violates its general contract" - even with correct implementation of comparator

    Stack Overflow | 3 years ago | karthik
    java.lang.IllegalArgumentException: Comparison method violates its general contract!
  6. 0

    0005381: JDK7 Arrays sort throws exception because Quercus comparator is not transitive - Mantis

    caucho.com | 2 years ago
    java.lang.IllegalArgumentException: Comparison method violates its general contract!

  1. zokni 3 times, last 7 months ago
  2. silex 6 times, last 7 months ago
5 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Comparison method violates its general contract!

    at java.util.TimSort.mergeLo()
  2. Java RT
    Arrays.sort
    1. java.util.TimSort.mergeLo(TimSort.java:747)
    2. java.util.TimSort.mergeAt(TimSort.java:483)
    3. java.util.TimSort.mergeCollapse(TimSort.java:410)
    4. java.util.TimSort.sort(TimSort.java:214)
    5. java.util.TimSort.sort(TimSort.java:173)
    6. java.util.Arrays.sort(Arrays.java:659)
    6 frames