com.atlassian.clover.api.CloverException: java.lang.IllegalArgumentException: Comparison method violates its general contract!

Atlassian JIRA | Marek Parfianowicz [Atlassian] | 4 years 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

    [CLOV-1368] HtmlReporter might throw java.lang.IllegalArgumentException: Comparison method violates its general contract! - Atlassian JIRA

    atlassian.com | 2 years ago
    com.atlassian.clover.api.CloverException: java.lang.IllegalArgumentException: Comparison method violates its general contract!
  2. 0

    [jira] [Commented] (LUCENE-5243) Update Clover | Lucene | Java-Dev

    gossamer-threads.com | 2 years ago
    com.atlassian.clover.api.CloverException: java.lang.IllegalArgumentException: Comparison method violates its general contract!
  3. 0

    {noformat} com.atlassian.clover.api.CloverException: java.lang.IllegalArgumentException: Comparison method violates its general contract! at com.cenqua.clover.reporters.html.HtmlReporter.executeImpl(HtmlReporter.java:165) at com.cenqua.clover.reporters.CloverReporter.execute(CloverReporter.java:41) at com.cenqua.clover.tasks.CloverReportTask.generateReports(CloverReportTask.java:427) at com.cenqua.clover.tasks.CloverReportTask.cloverExecute(CloverReportTask.java:384) at com.cenqua.clover.tasks.AbstractCloverTask.execute(AbstractCloverTask.java:55) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:302) at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:221) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) at org.apache.tools.ant.Project.executeTarget(Project.java:1368) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.Main.runBuild(Main.java:809) at org.apache.tools.ant.Main.startAnt(Main.java:217) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) Caused by: java.lang.IllegalArgumentException: Comparison method violates its general contract! at java.util.TimSort.mergeLo(TimSort.java:747) at java.util.TimSort.mergeAt(TimSort.java:483) at java.util.TimSort.mergeForceCollapse(TimSort.java:426) at java.util.TimSort.sort(TimSort.java:223) at java.util.TimSort.sort(TimSort.java:173) at java.util.Arrays.sort(Arrays.java:659) at java.util.Collections.sort(Collections.java:217) at com.cenqua.clover.reporters.html.RenderTestResultAction.call(RenderTestResultAction.java:93) at com.cenqua.clover.util.CloverExecutors$CloverExecutorService.submit(CloverExecutors.java:70) at com.cenqua.clover.reporters.html.HtmlReporter.renderTestPages(HtmlReporter.java:719) at com.cenqua.clover.reporters.html.HtmlReporter.processPackage(HtmlReporter.java:665) at com.cenqua.clover.reporters.html.HtmlReporter.executeCurrentReport(HtmlReporter.java:228) at com.cenqua.clover.reporters.html.HtmlReporter.executeImpl(HtmlReporter.java:157) ... 61 more {noformat}

    Atlassian JIRA | 4 years ago | Marek Parfianowicz [Atlassian]
    com.atlassian.clover.api.CloverException: java.lang.IllegalArgumentException: Comparison method violates its general contract!
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    {noformat} com.atlassian.clover.api.CloverException: java.lang.IllegalArgumentException: Comparison method violates its general contract! at com.cenqua.clover.reporters.html.HtmlReporter.executeImpl(HtmlReporter.java:165) at com.cenqua.clover.reporters.CloverReporter.execute(CloverReporter.java:41) at com.cenqua.clover.tasks.CloverReportTask.generateReports(CloverReportTask.java:427) at com.cenqua.clover.tasks.CloverReportTask.cloverExecute(CloverReportTask.java:384) at com.cenqua.clover.tasks.AbstractCloverTask.execute(AbstractCloverTask.java:55) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:302) at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:221) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) at org.apache.tools.ant.Project.executeTarget(Project.java:1368) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.Main.runBuild(Main.java:809) at org.apache.tools.ant.Main.startAnt(Main.java:217) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) Caused by: java.lang.IllegalArgumentException: Comparison method violates its general contract! at java.util.TimSort.mergeLo(TimSort.java:747) at java.util.TimSort.mergeAt(TimSort.java:483) at java.util.TimSort.mergeForceCollapse(TimSort.java:426) at java.util.TimSort.sort(TimSort.java:223) at java.util.TimSort.sort(TimSort.java:173) at java.util.Arrays.sort(Arrays.java:659) at java.util.Collections.sort(Collections.java:217) at com.cenqua.clover.reporters.html.RenderTestResultAction.call(RenderTestResultAction.java:93) at com.cenqua.clover.util.CloverExecutors$CloverExecutorService.submit(CloverExecutors.java:70) at com.cenqua.clover.reporters.html.HtmlReporter.renderTestPages(HtmlReporter.java:719) at com.cenqua.clover.reporters.html.HtmlReporter.processPackage(HtmlReporter.java:665) at com.cenqua.clover.reporters.html.HtmlReporter.executeCurrentReport(HtmlReporter.java:228) at com.cenqua.clover.reporters.html.HtmlReporter.executeImpl(HtmlReporter.java:157) ... 61 more {noformat}

    Atlassian JIRA | 4 years ago | Marek Parfianowicz [Atlassian]
    com.atlassian.clover.api.CloverException: java.lang.IllegalArgumentException: Comparison method violates its general contract!
  6. 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.mergeLo()
    2. Java RT
      Collections.sort
      1. java.util.TimSort.mergeLo(TimSort.java:747)
      2. java.util.TimSort.mergeAt(TimSort.java:483)
      3. java.util.TimSort.mergeForceCollapse(TimSort.java:426)
      4. java.util.TimSort.sort(TimSort.java:223)
      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. com.cenqua.clover
      AbstractCloverTask.execute
      1. com.cenqua.clover.reporters.html.RenderTestResultAction.call(RenderTestResultAction.java:93)
      2. com.cenqua.clover.util.CloverExecutors$CloverExecutorService.submit(CloverExecutors.java:70)
      3. com.cenqua.clover.reporters.html.HtmlReporter.renderTestPages(HtmlReporter.java:719)
      4. com.cenqua.clover.reporters.html.HtmlReporter.processPackage(HtmlReporter.java:665)
      5. com.cenqua.clover.reporters.html.HtmlReporter.executeCurrentReport(HtmlReporter.java:228)
      6. com.cenqua.clover.reporters.html.HtmlReporter.executeImpl(HtmlReporter.java:157)
      7. com.cenqua.clover.reporters.CloverReporter.execute(CloverReporter.java:41)
      8. com.cenqua.clover.tasks.CloverReportTask.generateReports(CloverReportTask.java:427)
      9. com.cenqua.clover.tasks.CloverReportTask.cloverExecute(CloverReportTask.java:384)
      10. com.cenqua.clover.tasks.AbstractCloverTask.execute(AbstractCloverTask.java:55)
      10 frames
    4. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    6. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      2. org.apache.tools.ant.Task.perform(Task.java:348)
      3. org.apache.tools.ant.Target.execute(Target.java:390)
      4. org.apache.tools.ant.Target.performTasks(Target.java:411)
      5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
      6. org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
      7. org.apache.tools.ant.Project.executeTargets(Project.java:1251)
      8. org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
      9. org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:302)
      10. org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:221)
      11. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
      11 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    8. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      2. org.apache.tools.ant.Task.perform(Task.java:348)
      3. org.apache.tools.ant.Target.execute(Target.java:390)
      4. org.apache.tools.ant.Target.performTasks(Target.java:411)
      5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
      6. org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
      7. org.apache.tools.ant.Project.executeTargets(Project.java:1251)
      8. org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
      9. org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
      10. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
      10 frames
    9. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    10. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      2. org.apache.tools.ant.Task.perform(Task.java:348)
      3. org.apache.tools.ant.Target.execute(Target.java:390)
      4. org.apache.tools.ant.Target.performTasks(Target.java:411)
      5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
      6. org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
      7. org.apache.tools.ant.Project.executeTargets(Project.java:1251)
      8. org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
      9. org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
      10. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
      10 frames
    11. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    12. Ant
      Main.startAnt
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      2. org.apache.tools.ant.Task.perform(Task.java:348)
      3. org.apache.tools.ant.Target.execute(Target.java:390)
      4. org.apache.tools.ant.Target.performTasks(Target.java:411)
      5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
      6. org.apache.tools.ant.Project.executeTarget(Project.java:1368)
      7. org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
      8. org.apache.tools.ant.Project.executeTargets(Project.java:1251)
      9. org.apache.tools.ant.Main.runBuild(Main.java:809)
      10. org.apache.tools.ant.Main.startAnt(Main.java:217)
      10 frames
    13. Apache Ant Launcher
      Launcher.main
      1. org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
      2. org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
      2 frames