Open TobiX opened 8 years ago
While trying to fix for "jenkins.log" warning (refer to JENKINS-27770 and JENKINS-20768),
Caused by: java.lang.IllegalArgumentException: Comparison method violates its general contract!
I found the Jenkins' JAVA_ARG setting
-Djava.util.Arrays.useLegacyMergeSort=true
fixed this page crash issue.
Under a new Multi-Branch-Matrix project branch sources,
if I include more than 24 branches to create 24 branch jobs,
(refer to "Selection_003.png")
then I'll see Jenkins page crash for "Jnekins Manage" page and "Dashboard-view" page.
(refer to "Manage Jenkins [Jenkins] - Mozilla Firefox_004.png")
Within Jenkins log (refer to "jenkins.log"),
right after I save the configuration to include more than 24 branches,
I'll see many repeated WARNING:
When I go to "Manage Jenkins" (/manage) page or a "Dashboard-view" page,
I'll see Jenkins Oops! crash page.
Refer to "Manage Jenkins [Jenkins].html" (the snapshot page of Manage Jenkins)
I also use Firebug to extract the "Get Manage - 500 Server Error" response.
Refer to "GET_Manage_response.html"
I include a list of the plugins that I'm currently using in "Plugin Update Center [Jenkins].html"
Right now,
I can 100% reproduce the same problem if I include more than 24 branches.
If I remove 1 branch to be 23 branches,
then all the pages display correctly.
For Dashboard-View issue,
I'm also able to reproduce it on a branch-new Jenkins2 server (fresh installation)
with only "Dashboard-view" plugin and "View Job Filters" plugin.
Within Dashboard-view configuration,
I select:
Filter build queue
Filter build executors
Status Filter selects "All selected jobs" with "Recurse in subfolders
and 3 Job filters:
All Jobs
Job Type Filter
Most Recent Jobs Filter
Originally reported by totoroliu, imported from: Manage Jenkins page and Dashboard-view page crash when Multi-branch-Matrix project has more than 24 branch jobs