• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • core

      I'm running maven jobs and Jenkins will generate dependency automatically based on the POM. However, when jenkins try to trigger downstream project, exception was seen and trigger failed. log is shown below:

      channel stopped
      FATAL: Comparison method violates its general contract!
      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.mergeCollapse(TimSort.java:410)
      at java.util.TimSort.sort(TimSort.java:214)
      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 hudson.tasks.BuildTrigger.execute(BuildTrigger.java:198)
      at hudson.model.AbstractBuild$AbstractBuildExecution.cleanUp(AbstractBuild.java:657)
      at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.cleanUp(MavenModuleSetBuild.java:1020)
      at hudson.model.Run.execute(Run.java:1532)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:236)

          [JENKINS-17247] Exception while trigger downstream projects

          alben shao created issue -
          alben shao made changes -
          Description New: I'm running maven jobs and Jenkins will generate dependency automatically based on the POM. However, when jenkins try to trigger downstream project, exception was seen and trigger failed. log is shown below:



          channel stopped
          FATAL: Comparison method violates its general contract!
          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.mergeCollapse(TimSort.java:410)
                at java.util.TimSort.sort(TimSort.java:214)
                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 hudson.tasks.BuildTrigger.execute(BuildTrigger.java:198)
                at hudson.model.AbstractBuild$AbstractBuildExecution.cleanUp(AbstractBuild.java:657)
                at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.cleanUp(MavenModuleSetBuild.java:1020)
                at hudson.model.Run.execute(Run.java:1532)
                at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477)
                at hudson.model.ResourceController.execute(ResourceController.java:88)
                at hudson.model.Executor.run(Executor.java:236)
          Jesse Glick made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: secret [ 15675 ]
          Assignee Original: Jesse Glick [ jglick ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Daniel Beck made changes -
          Labels New: lts-candidate
          Oliver Gondža made changes -
          Labels Original: lts-candidate New: 1.509.4-fixed
          Daniel Beck made changes -
          Link New: This issue is duplicated by JENKINS-11841 [ JENKINS-11841 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 148080 ] New: JNJira + In-Review [ 192708 ]

            Unassigned Unassigned
            albenshao alben shao
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: