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

Stack Overflow | Thorsten | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    buildin compareTo: Comparison method violates its general contract

    Stack Overflow | 9 months ago | Thorsten
    java.lang.IllegalArgumentException: Comparison method violates its general contract!
  2. 0

    /help command problem

    GitHub | 2 years ago | Osfognarg
    java.lang.IllegalArgumentException: Comparison method violates its general contract!
  3. 0

    Java 7: Encog throws exception on some GA's

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

    Automated exception search integrated into your IDE

    17 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.ComparableTimSort.mergeLo()
    2. Java RT
      Collections.sort
      1. java.util.ComparableTimSort.mergeLo(Unknown Source)
      2. java.util.ComparableTimSort.mergeAt(Unknown Source)
      3. java.util.ComparableTimSort.mergeCollapse(Unknown Source)
      4. java.util.ComparableTimSort.sort(Unknown Source)
      5. java.util.ComparableTimSort.sort(Unknown Source)
      6. java.util.Arrays.sort(Unknown Source)
      7. java.util.Collections.sort(Unknown Source)
      7 frames
    3. dd
      GMAAnalyzer.sortData
      1. dd.GMAAnalyzer.sortData(Analyzer.java:158)
      1 frame