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

Jenkins JIRA | Jakub Štiller | 5 years ago
  1. 0

    ExpirationManager partition sorting can fail

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

    Automated exception search integrated into your IDE

  3. 0

    Comparison method violates its general contract given a Comparator based on a Map

    Stack Overflow | 3 years ago | user152468
    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.TimSort.mergeHi()
    2. Java RT
      Collections.sort
      1. java.util.TimSort.mergeHi(TimSort.java:868)
      2. java.util.TimSort.mergeAt(TimSort.java:485)
      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)
      7. java.util.Collections.sort(Collections.java:217)
      7 frames
    3. Hudson
      AbstractBuild$AbstractRunner.cleanUp
      1. hudson.tasks.BuildTrigger.execute(BuildTrigger.java:198)
      2. hudson.model.AbstractBuild$AbstractRunner.cleanUp(AbstractBuild.java:632)
      2 frames
    4. Hudson Maven Embedder
      MavenModuleSetBuild$RunnerImpl.cleanUp
      1. hudson.maven.MavenModuleSetBuild$RunnerImpl.cleanUp(MavenModuleSetBuild.java:1015)
      1 frame
    5. Hudson
      Run.run
      1. hudson.model.Run.run(Run.java:1448)
      1 frame
    6. Hudson Maven Embedder
      MavenModuleSetBuild.run
      1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:478)
      1 frame
    7. Hudson
      Executor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:88)
      2. hudson.model.Executor.run(Executor.java:230)
      2 frames