Plugin Build fails with "JellyTestSuiteBuilder"

24 views
Skip to first unread message

Stephan Watermeyer

unread,
Jan 28, 2021, 9:05:04 AM1/28/21
to Jenkins Users
I am trying to release a new version of my plugin but the build keeps failing with the exception

Caused by: java.lang.IllegalArgumentException: Comparison method violates its general contract! at java.util.ComparableTimSort.mergeLo(ComparableTimSort.java:744) at java.util.ComparableTimSort.mergeAt(ComparableTimSort.java:481) at java.util.ComparableTimSort.mergeCollapse(ComparableTimSort.java:406) at java.util.ComparableTimSort.sort(ComparableTimSort.java:213) at java.util.Arrays.sort(Arrays.java:1312) at java.util.Arrays.sort(Arrays.java:1506) at java.util.ArrayList.sort(ArrayList.java:1462) at java.util.Collections.sort(Collections.java:143) at hudson.ExtensionList.sort(ExtensionList.java:320) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:255) at hudson.ExtensionList.iterator(ExtensionList.java:143) at hudson.diagnosis.NullIdDescriptorMonitor.verify(NullIdDescriptorMonitor.java:68) at hudson.diagnosis.NullIdDescriptorMonitor.verifyId(NullIdDescriptorMonitor.java:89)  

I dont have a clue where the exception is comming from or what is wrong in my plugin. I would need some advise how to fix it.

Failing Build: 

Code:

Björn Pedersen

unread,
Jan 28, 2021, 10:19:44 AM1/28/21
to Jenkins Users
My first guess would be the  Jenkinsfile ( it seems like a null is passed where null is not expected:


buildPlugin(jenkinsVersions: [null, '1.651.2'], failFast: false)
                                                ^^ 

Stephan Watermeyer

unread,
Jan 28, 2021, 10:21:44 AM1/28/21
to Jenkins Users
Thanks. But its also failing for local mvn builds. 
Reply all
Reply to author
Forward
0 new messages