Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-17247

Exception while trigger downstream projects

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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)

        Attachments

          Issue Links

            Activity

            albenshao alben shao created issue -
            albenshao alben shao made changes -
            Field Original Value New Value
            Description 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)
            jglick Jesse Glick made changes -
            Assignee Jesse Glick [ jglick ]
            Component/s core [ 15593 ]
            Component/s secret [ 15675 ]
            scm_issue_link SCM/JIRA link daemon made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            danielbeck Daniel Beck made changes -
            Labels lts-candidate
            olivergondza Oliver Gond┼ża made changes -
            Labels lts-candidate 1.509.4-fixed
            danielbeck Daniel Beck made changes -
            Link This issue is duplicated by JENKINS-11841 [ JENKINS-11841 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 148080 ] JNJira + In-Review [ 192708 ]

              People

              • Assignee:
                Unassigned
                Reporter:
                albenshao alben shao
              • Votes:
                4 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: