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

GitHub | kboyarshinov | 7 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

    LastModifiedComparator file comparator is not transitive

    GitHub | 7 months ago | kboyarshinov
    java.lang.IllegalArgumentException: Comparison method violates its general contract!
  2. 0

    Comparison method violates its general contract! Array.sort()

    Stack Overflow | 10 months ago | Johannes Muenichsdorfer
    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

    Crash when inserting Item Broadcaster Chip

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

    JGraph/JGraphX : Creating a very complex graph

    Stack Overflow | 4 years ago | user2730789
    java.lang.IllegalArgumentException: Comparison method violates its general contract!

  1. zokni 3 times, last 12 months ago
  2. silex 6 times, last 1 year 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:743)
    2. java.util.TimSort.mergeAt(TimSort.java:479)
    3. java.util.TimSort.mergeCollapse(TimSort.java:406)
    4. java.util.TimSort.sort(TimSort.java:210)
    5. java.util.TimSort.sort(TimSort.java:169)
    6. java.util.Arrays.sort(Arrays.java:2010)
    6 frames
  3. org.acra.file
    ReportLocator.getApprovedReports
    1. org.acra.file.ReportLocator.getApprovedReports(ReportLocator.java:55)
    1 frame
  4. Application Crash Report for Android
    ACRA.init
    1. org.acra.util.ApplicationStartupProcessor.sendApprovedReports(ApplicationStartupProcessor.java:70)
    2. org.acra.ACRA.init(ACRA.java:272)
    3. org.acra.ACRA.init(ACRA.java:200)
    3 frames