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

YouTrack | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Exception during build finish

    YouTrack | 1 year ago
    java.lang.IllegalArgumentException: Comparison method violates its general contract!
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    java.lang.IllegalArgumentException: Comparison method violates its general contract! [Archive] - Pentaho Community Forums

    pentaho.com | 1 year ago
    java.lang.IllegalArgumentException: Comparison method violates its general contract!
  4. 0

    Convert libs repo to Java 7

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

    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.TimSort.mergeLo()
    2. Java RT
      Collections.sort
      1. java.util.TimSort.mergeLo(TimSort.java:777)
      2. java.util.TimSort.mergeAt(TimSort.java:514)
      3. java.util.TimSort.mergeForceCollapse(TimSort.java:457)
      4. java.util.TimSort.sort(TimSort.java:254)
      5. java.util.Arrays.sort(Arrays.java:1512)
      6. java.util.ArrayList.sort(ArrayList.java:1454)
      7. java.util.Collections.sort(Collections.java:175)
      7 frames
    3. jetbrains.buildServer.torrent
      ServerTorrentsDirectorySeeder$4.processBuildArtifact
      1. jetbrains.buildServer.torrent.seeder.TorrentFilesDB.getSortedKeys(TorrentFilesDB.java:166)
      2. jetbrains.buildServer.torrent.seeder.TorrentFilesDB.flush(TorrentFilesDB.java:139)
      3. jetbrains.buildServer.torrent.seeder.TorrentsSeeder.flushTorrentsDB(TorrentsSeeder.java:127)
      4. jetbrains.buildServer.torrent.seeder.TorrentsSeeder.registerSrcAndTorrentFile(TorrentsSeeder.java:87)
      5. jetbrains.buildServer.torrent.ServerTorrentsDirectorySeeder.processArtifactInternal(ServerTorrentsDirectorySeeder.java:189)
      6. jetbrains.buildServer.torrent.ServerTorrentsDirectorySeeder.processArtifactInternal(ServerTorrentsDirectorySeeder.java:180)
      7. jetbrains.buildServer.torrent.ServerTorrentsDirectorySeeder$4.processBuildArtifact(ServerTorrentsDirectorySeeder.java:168)
      7 frames
    4. jetbrains.buildServer.serverSide
      BuildArtifactsImpl.iterateArtifacts
      1. jetbrains.buildServer.serverSide.impl.artifacts.BuildArtifactsImpl.iterate(BuildArtifactsImpl.java:61)
      2. jetbrains.buildServer.serverSide.impl.artifacts.BuildArtifactsImpl.iterateArtifacts(BuildArtifactsImpl.java:52)
      2 frames
    5. jetbrains.buildServer.torrent
      ServerTorrentsDirectorySeeder$1.buildFinished
      1. jetbrains.buildServer.torrent.ServerTorrentsDirectorySeeder.announceBuildArtifacts(ServerTorrentsDirectorySeeder.java:165)
      2. jetbrains.buildServer.torrent.ServerTorrentsDirectorySeeder.access$300(ServerTorrentsDirectorySeeder.java:34)
      3. jetbrains.buildServer.torrent.ServerTorrentsDirectorySeeder$1.buildFinished(ServerTorrentsDirectorySeeder.java:72)
      3 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor318.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:497)
      3 frames
    7. TeamCity Build Server
      EventDispatcher$2.invoke
      1. jetbrains.buildServer.util.EventDispatcher.dispatch(EventDispatcher.java:120)
      2. jetbrains.buildServer.serverSide.ServerSideEventDispatcher.superDispatch(ServerSideEventDispatcher.java:59)
      3. jetbrains.buildServer.serverSide.ServerSideEventDispatcher$1.run(ServerSideEventDispatcher.java:49)
      4. jetbrains.buildServer.serverSide.impl.auth.SecurityContextImpl.runAs(SecurityContextImpl.java:118)
      5. jetbrains.buildServer.serverSide.impl.auth.SecurityContextImpl.runAsSystem(SecurityContextImpl.java:102)
      6. jetbrains.buildServer.serverSide.ServerSideEventDispatcher.dispatch(ServerSideEventDispatcher.java:47)
      7. jetbrains.buildServer.util.EventDispatcher$2.invoke(EventDispatcher.java:67)
      7 frames
    8. com.sun.proxy
      $Proxy25.buildFinished
      1. com.sun.proxy.$Proxy25.buildFinished(Unknown Source)
      1 frame
    9. jetbrains.buildServer.serverSide
      RunningBuildsManagerImpl$2$1.run
      1. jetbrains.buildServer.serverSide.impl.RunningBuildsManagerImpl.finishBuild(RunningBuildsManagerImpl.java:253)
      2. jetbrains.buildServer.serverSide.impl.RunningBuildsManagerImpl$2$1.run(RunningBuildsManagerImpl.java:204)
      2 frames
    10. TeamCity Build Server
      NamedThreadFactory.executeWithNewThreadName
      1. jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:74)
      1 frame
    11. jetbrains.buildServer.serverSide
      RunningBuildsManagerImpl$2.run
      1. jetbrains.buildServer.serverSide.impl.RunningBuildsManagerImpl$2.run(RunningBuildsManagerImpl.java:202)
      1 frame
    12. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames