Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Critical
-
Resolution: Fixed
-
Component/s: core
-
Labels:
-
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
- is duplicated by
-
JENKINS-11841 Exception after artifacts deployment
-
- Resolved
-
Code changed in jenkins
User: Kohsuke Kawaguchi
Path:
core/src/main/java/jenkins/util/DirectedGraph.java
http://jenkins-ci.org/commit/jenkins/8097aac90687990d1ddd4f0b2ab85d61de92a808
Log:
JENKINS-17247Not sure why the compilation is failing but this seems to work(cherry picked from commit 0ee7a5eec1e6ed167b6f96b2a73a5dd1976f5679)
Compare: https://github.com/jenkinsci/jenkins/compare/f9e176a5baa5...8097aac90687