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

YouTrack | 11 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Exception during build finish

    YouTrack | 11 months ago
    java.lang.IllegalArgumentException: Comparison method violates its general contract!
  2. 0

    GitHub comment 680#154830877

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

    Automated exception search integrated into your IDE

  4. 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!

    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.mergeHi()
    2. Java RT
      Collections.sort
      1. java.util.TimSort.mergeHi(TimSort.java:899)
      2. java.util.TimSort.mergeAt(TimSort.java:516)
      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:190)
      6. jetbrains.buildServer.torrent.ServerTorrentsDirectorySeeder.processArtifactInternal(ServerTorrentsDirectorySeeder.java:181)
      7. jetbrains.buildServer.torrent.ServerTorrentsDirectorySeeder$4.processBuildArtifact(ServerTorrentsDirectorySeeder.java:169)
      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:166)
      2. jetbrains.buildServer.torrent.ServerTorrentsDirectorySeeder.access$300(ServerTorrentsDirectorySeeder.java:35)
      3. jetbrains.buildServer.torrent.ServerTorrentsDirectorySeeder$1.buildFinished(ServerTorrentsDirectorySeeder.java:73)
      3 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor358.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      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
      $Proxy19.buildFinished
      1. com.sun.proxy.$Proxy19.buildFinished(Unknown Source)
      1 frame
    9. jetbrains.buildServer.serverSide
      RunningBuildsManagerImpl$6.run
      1. jetbrains.buildServer.serverSide.impl.RunningBuildsManagerImpl.finishBuild(RunningBuildsManagerImpl.java:226)
      2. jetbrains.buildServer.serverSide.impl.RunningBuildsManagerImpl.access$500(RunningBuildsManagerImpl.java:37)
      3. jetbrains.buildServer.serverSide.impl.RunningBuildsManagerImpl$6.run(RunningBuildsManagerImpl.java:588)
      3 frames
    10. 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