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

  1. 0

    Getting this crash in comparison method or anywher else cant get it

    Stack Overflow | 3 months ago | Dharmesh Pumbhadiya
    java.lang.IllegalArgumentException: Comparison method violates its general contract!
  2. 0

    Android Comparison method violates its general contract with TalkBack

    Stack Overflow | 3 months ago | user3576455
    java.lang.IllegalArgumentException: Comparison method violates its general contract!
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    My markers pop oddly on the map

    Stack Overflow | 1 year ago | caBBAlainB
    java.lang.IllegalArgumentException: Comparison method violates its general contract!
  5. 0

    Jumping markers on Maps v2

    GitHub | 1 year ago | barbeau
    java.lang.IllegalArgumentException: Comparison method violates its general contract!

    15 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.mergeHi()
    2. Java RT
      Collections.sort
      1. java.util.ComparableTimSort.mergeHi(ComparableTimSort.java:831)
      2. java.util.ComparableTimSort.mergeAt(ComparableTimSort.java:449)
      3. java.util.ComparableTimSort.mergeCollapse(ComparableTimSort.java:372)
      4. java.util.ComparableTimSort.sort(ComparableTimSort.java:178)
      5. java.util.ComparableTimSort.sort(ComparableTimSort.java:142)
      6. java.util.Arrays.sort(Arrays.java:1957)
      7. java.util.Collections.sort(Collections.java:1864)
      7 frames
    3. Android Platform
      ActivityThread.main
      1. android.view.ViewGroup$ChildListForAccessibility.init(ViewGroup.java:6886)
      2. android.view.ViewGroup$ChildListForAccessibility.obtain(ViewGroup.java:6851)
      3. android.view.ViewGroup.addChildrenForAccessibility(ViewGroup.java:1727)
      4. android.view.ViewGroup.onInitializeAccessibilityNodeInfoInternal(ViewGroup.java:2634)
      5. android.view.View.onInitializeAccessibilityNodeInfo(View.java:5227)
      6. android.widget.FrameLayout.onInitializeAccessibilityNodeInfo(FrameLayout.java:651)
      7. android.view.View.createAccessibilityNodeInfoInternal(View.java:5188)
      8. android.view.View.createAccessibilityNodeInfo(View.java:5175)
      9. android.view.AccessibilityInteractionController$AccessibilityNodePrefetcher.prefetchDescendantsOfRealNode(AccessibilityInteractionController.java:811)
      10. android.view.AccessibilityInteractionController$AccessibilityNodePrefetcher.prefetchDescendantsOfRealNode(AccessibilityInteractionController.java:834)
      11. android.view.AccessibilityInteractionController$AccessibilityNodePrefetcher.prefetchDescendantsOfRealNode(AccessibilityInteractionController.java:834)
      12. android.view.AccessibilityInteractionController$AccessibilityNodePrefetcher.prefetchAccessibilityNodeInfos(AccessibilityInteractionController.java:720)
      13. android.view.AccessibilityInteractionController.findAccessibilityNodeInfoByAccessibilityIdUiThread(AccessibilityInteractionController.java:147)
      14. android.view.AccessibilityInteractionController.access$300(AccessibilityInteractionController.java:49)
      15. android.view.AccessibilityInteractionController$PrivateHandler.handleMessage(AccessibilityInteractionController.java:971)
      16. android.os.Handler.dispatchMessage(Handler.java:110)
      17. android.os.Looper.loop(Looper.java:193)
      18. android.app.ActivityThread.main(ActivityThread.java:5299)
      18 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Method.java)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645)
      2 frames